Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

(SOLVED) Change title and font colors in module

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I'm using a custom module in sidebar-1 on the frontpage next to the slideshow module that is in the banner position. My custom modules title and text is white and so not visible. I've modified the template.css file a bit to remove the border and padding, etc. but can't seem to modify the color of the title and text. Any help is appreciated.

milfordlibrary.info/base

Thanks,
Eric
  • d2dpcs's Avatar
  • d2dpcs
  • 3 Month Basic
  • 32 posts
  • Karma: 0
Last Edit: 9 years 2 months ago by d2dpcs. Reason: marked as solved
The administrator has disabled public write access.
Hi Eric,

You've edited the template.css via editing the css directly?

If so you need to move those styles to the custom.css file as they will be overwritten on update unless in the local folder

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
True, I'll add them to override.css instead.

What about the title and font color not being able to be changed from white?

Thanks.
  • d2dpcs's Avatar
  • d2dpcs
  • 3 Month Basic
  • 32 posts
  • Karma: 0
The administrator has disabled public write access.
Try adding

.itemid-456 #sidebar-1 div {color:#000;}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: d2dpcs
Nice, thank you. What about the module title? It is still white.

Thanks.
  • d2dpcs's Avatar
  • d2dpcs
  • 3 Month Basic
  • 32 posts
  • Karma: 0
The administrator has disabled public write access.
Try adding this

.itemid-456 #sidebar-1 h3 {color: #000;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: d2dpcs
The css is targetting the sidebar on this page only using the unique item id class

so it will only work on this page

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Worked perfectly, thank you. Yes, they are only interested in this working on that one page anyways.
  • d2dpcs's Avatar
  • d2dpcs
  • 3 Month Basic
  • 32 posts
  • Karma: 0
The administrator has disabled public write access.
Thought that would be the case - just wanted to make sure

Good look with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers