Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Sparky Framework and other free Joomla templates.

Topic-icon highlight selected items main menu

More
6 years 5 months ago #8311 by sassalos
sassalos created the topic: highlight selected items main menu
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
6 years 5 months ago #8324 by ivan.milic
ivan.milic replied the topic: Re: highlight selected items main menu
Hi, we can help you just post your site link.

Please Log in to join the conversation.

More
6 years 5 months ago #8340 by sassalos
sassalos replied the topic: Re: highlight selected items main menu
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
6 years 5 months ago #8354 by ivan.milic
ivan.milic replied the topic: Re: highlight selected items main menu
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.

More
6 years 5 months ago #8364 by sassalos
sassalos replied the topic: Re: highlight selected items main menu
Thank you Ivan,

I followed your instructions and worked just fine.
:)

Please Log in to join the conversation.

Time to create page: 0.120 seconds

Links, Partners and Social Media