Highlight active menu

  • jpdejonge
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #6758 by jpdejonge
Dear all,

We are using the Boutique template for one of our clients.

Great template however we have a few questions;
Would it be possible in the Topmenu to highlight the active menu choice.

We see that feature in most of the Joomla website with a topmenu however I cannot find it here.

Second question, how could we remove the font size chooser?

Thanks for your help.

J.P. de Jonge

Please Log in to join the conversation.

More
13 years 11 months ago #6775 by ivan.milic
Hi,

In css current item:

<li id="current" class="active item152"><a href="/fashion_store/index.php?option=com_virtuemart&amp;Itemid=152"><span>Jeans</span></a></li>

So you can use something like:

#current
{
background-color:...

}

Please Log in to join the conversation.

More
13 years 10 months ago - 13 years 9 months ago #7899 by jpmdejonge
Dear Ivan,

Thanks a lot for your answer however I this is not what I meant.

Please see the example at ##############l .
We would like to have the active page have the grey color in the menu, the same as when you hover over it.

How would that be possible for this template?

Thanks,

Jean-Paul
Last edit: 13 years 9 months ago by jpmdejonge.

Please Log in to join the conversation.

More
13 years 9 months ago #7912 by ivan.milic
Add that in head section of index.php of template just before </head> in style block , because it that way that rules have highest priority and you will be sure that they take effect:

<style type="text/css" >
#current a .active a{
background-color:#B21154;
}
</style>


where #B21154 is bcg. color in default template style.

Please Log in to join the conversation.

More
13 years 9 months ago #7981 by jpmdejonge
Hi Ivan,

Tx for your answer.

I have add this in the index.php however this does not seem to make a difference.

I am using the custom template style.

What I would need is change of menutext when page is active, not change of background.

For your reference I include a copy of the index.php.

Thanks again for your help.

Jean-Paul

Please Log in to join the conversation.

More
13 years 9 months ago #7982 by jpmdejonge
Ivan,

the attachment was chopped of. I have Rarred it.

Thanks,

Jean-Paul

Please Log in to join the conversation.

Time to create page: 0.200 seconds
Powered by Kunena Forum