Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: how to change font and color of events' name

how to change font and color of events' name 13 years 1 month ago #15199

  • GIESSE
  • GIESSE's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Dear friends, I should want to change color and font of events name, just because now they are difficult to read. At least , to change colour appears necessary. Is it possible ?

Please Log in or Create an account to join the conversation.

how to change font and color of events' name 13 years 1 month ago #15217

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
The event name is a link, so it is pulling the color from your site template. You can change it for DT Register in this CSS file:
/components/com_dtregister/assets/css/main.css

Look for this:

a.event_title:link,
a.event_title:visited {
}

a.event_title:hover {
}

Add whatever styling you want within the brackets. You can also change the background colors used in the event listing within this CSS file. Thanks.

Please Log in or Create an account to join the conversation.

how to change font and color of events' name 13 years 1 month ago #15237

  • GIESSE
  • GIESSE's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
Mnay thanks! But : I modified main.css entries as follows:

/* Event title when not a link */
td.eventlist .event_title {
color: #000000;
font-weight: bold;
}

/* Event title when an active link */
a.event_title:link,
a.event_title:visited {
color: #000000;
font-weight: bold;
}

a.event_title:hover {
color: #000000;
font-weight: bold;
}

I get no result. Why ?

Please Log in or Create an account to join the conversation.

how to change font and color of events' name 13 years 1 month ago #15245

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You just found a goof in the 1.6/1.7 CSS :oops:

Try it this way:

/* Event title when an active link */
.event_title a:link,
.event_title a:visited {
color: #000000;
font-weight: bold;
}

.event_title a:hover {
color: #000000;
font-weight: bold;
}

Please Log in or Create an account to join the conversation.

how to change font and color of events' name 13 years 1 month ago #15252

  • GIESSE
  • GIESSE's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
I am happy to collaborate. Unfortunately it does not work, I get no result. :(
Any further suggestion ?

Please Log in or Create an account to join the conversation.

how to change font and color of events' name 13 years 1 month ago #15270

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Argghhh... I typed it wrong. THIS is what it should be:

/* Event title when an active link */
.eventlist a:link,
.eventlist a:visited {
}

.eventlist a:hover {
}

This WILL work. Thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.177 seconds