The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Mar 13, 2013 8:47 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Aug 24, 2009 8:37 pm
Posts: 74
how you doing guys, after looking, reading and looking again the css i cant find a way to keep my menu item highlighted when you are in the active page. i'm using yootheme enterprise one of coolest and easiest templates to modify but i cant seem to grasp yootheme styling... this is what i am trying to do...

Image

thanks in advance.


Top
 Profile  
 
PostPosted: Wed Mar 13, 2013 9:21 pm 
Joomla! Master
Joomla! Master
Online

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13725
Location: Akershus, Norway
Have you inspected it with Firebug?

The menu item should have class="active"


Top
 Profile  
 
PostPosted: Thu Mar 14, 2013 3:07 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Aug 24, 2009 8:37 pm
Posts: 74
thanks man i think i am close... but still i can fill the area with it... any ideas???

Code:
#menu li.active .level1 span.bg {

   color: #417CAB;

   font-weight: bold;
   
   background: url(../images/variations/blueorange/menu_level1_item.png) 0 -55px  repeat;

}


Image


Top
 Profile  
 
PostPosted: Thu Mar 14, 2013 6:33 pm 
Joomla! Master
Joomla! Master
Online

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13725
Location: Akershus, Norway
Check the padding of the parent item of span.bg


Top
 Profile  
 
PostPosted: Mon Mar 18, 2013 6:26 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Aug 24, 2009 8:37 pm
Posts: 74
thanks man, after a couple of minutes of looking for
Code:
span.bg
i decided to delete it and... it actually worked... but i had to take the bold out of the active part of the menu cause it keeps changing the size of the button... but it is working. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 



Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group