highlight selected items main menu

  • sassalos
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 7 months ago #8311 by sassalos
Hi,

I'm trying to find a way to highlight the selected item in my main menu.
I couldn't found a solution from backend. I tried from the css files but no luck. Any help if possible?

Thank u in advance.

Please Log in to join the conversation.

More
13 years 7 months ago #8324 by ivan.milic
Hi, we can help you just post your site link.

Please Log in to join the conversation.

  • sassalos
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 7 months ago #8340 by sassalos
Thank you, for the immediate reply.

I figure it out at last. Unfortunately I'm working localhost at the moment, so I don't have a site link.

The solution I came up with was:

From template_css.php line 98, I've taken ".column_left li.active a:visited, column_left a:visited" and set a different background and color. I wanted to set font-weight:bold; as well, but it didn't work.

I don't know if there is a simpler solution, but it worked for me, except from the last part that I described.

Please Log in to join the conversation.

More
13 years 7 months ago #8354 by ivan.milic
There is span nested in a so you cod get better hit if you add it to css path

.column_left li.active span{
font-weight:...


also you can use important flag if must:


.column_left li.active span{
font-weight:bold!important;
...

Please Log in to join the conversation.

  • sassalos
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 7 months ago #8364 by sassalos
Thank you Ivan,

I followed your instructions and worked just fine.
:)

Please Log in to join the conversation.

Time to create page: 0.178 seconds
Powered by Kunena Forum