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.

Menu items in sidebar2

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

Hi

Almost done with the website..but just one more question (don't know if it's possible).

In my site, I have a range of products assigned in a specific menu that is assigned to the Sidebar2-position (ex: www.websitetester.be/vanisrael01/index.php/productennl/bodemverbeteraars).

The main 'category' is non-clickable, but I would like to highlight the active item in bold and in colour. Colour is not a problem, but setting it in bold is something I cannot edit in the template/ThemeMagic. Or maybe (best case scenario): a highlight colour for the entire sidebar active item.

Thanks in advance!

Stefanie
  • L&s bvba's Avatar
  • L&s bvba
  • LIfetime Developer - Big Bamboo
  • 197 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Stefanie,

To add bold try adding

#mainWrap .sidebar ul.nav > li ul li.active > a {font-weight: bold;}

Colour wise you already seem to have
color: #9CCE5B;

Am I looking at the right bit?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I think you do! When an item is active, it's already in colour. Where should I add the code you suggested? Can I do this once or is it necessary to do this for each item separately?

Thank you, your posts are really helpful!
Stefanie
  • L&s bvba's Avatar
  • L&s bvba
  • LIfetime Developer - Big Bamboo
  • 197 posts
  • Karma: 0
The administrator has disabled public write access.
add what I suggested to your custom.css file

#mainWrap .sidebar ul.nav > li ul li.active > a {font-weight: bold;}

so it targets the html listed and applies a style to all items that match (if it works :)

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

Is there a way to change the background color of the sidebar? No I think it looks a bit boring and I would like to change something (vanisraelbe.webhosting.be/index.php/productennl/potgrond) .
Should you have any suggestions, be my guest :-)
Greetings
Stefanie
  • L&s bvba's Avatar
  • L&s bvba
  • LIfetime Developer - Big Bamboo
  • 197 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Stefanie

This is the style in question with the current colour applying -
#mainWrap .sidebar ul.nav > li ul {background: #fff !important;}

I'd try adding a background image for the active link - a font icon

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul
Thank you, I've changed the background color and it looks much less borig now!
Stefanie
  • L&s bvba's Avatar
  • L&s bvba
  • LIfetime Developer - Big Bamboo
  • 197 posts
  • Karma: 0
The administrator has disabled public write access.
Yep nice one

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