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.

Change active colour on the Nav bar?

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

Hello again Paul and Ant,

Another css question

I wanted to add some code to my custom.css to make the background colour on the Nav bar change from blue to green when it is the active menu.

Thinking about Xero, I wonder if this is just not how it is coded (the background nav strip is an image?).

I looked at this from another forum post:
#nav li li:hover, #nav li li a:hover, #nav li li span:hover, #nav li.active li.active span, #nav li.active li.active a:hover span {
color: #3FA93E !important;
}

But no.

If the colour cannot change easily, how about just making the subtle font colour change a bit bold/bigger?

(I'm guessing you have given up the u in colour long ago due to coding!)

Thanks, as always, for you unstinting help

J
  • Jay44's Avatar
  • Jay44
  • LIfetime Developer - Big Bamboo
  • 34 posts
  • Karma: 0
Last Edit: 8 years 5 months ago by Jay44.
The administrator has disabled public write access.
Hi J,

Missing the u in colour always annoys me :)

Do you have a link for your site?

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

Thanks Paul.
  • Jay44's Avatar
  • Jay44
  • LIfetime Developer - Big Bamboo
  • 34 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Try

#menu ul > li.active > a, #menu ul > li.active > .zen-menu-heading {color: #3FA93E}

I'd probably pick a different colour

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yep - I see what you mean - no contrast.

I settled on making it bold, and leaving it black

Thanks Paul! Enjoy the rain! (Assuming you are in Melbourne, which may be wrong!)

J
  • Jay44's Avatar
  • Jay44
  • LIfetime Developer - Big Bamboo
  • 34 posts
  • Karma: 0
Last Edit: 8 years 5 months ago by Jay44.
The administrator has disabled public write access.
You're welcome :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Weather wise - I'm in the UK

But it is raining :)

Cheers
  • 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