currently, only primary text menu is change color during mouse over. How this can be done for the tab background...exactly like drupal.org or "tech" theme?
currently, only primary text menu is change color during mouse over. How this can be done for the tab background...exactly like drupal.org or "tech" theme?
Comments
Comment #1
ishmael-sanchez commentedHello,
Yes, you can do this for the tabs but since the tabs are actually composed of two images (Sliding door) there are a couple of issues. First you will have to add a background color to the
ul.primary-links li span a:hoveraround line 342. Once you do that you will notice the tab effect is gone because of the padding on the a tag. Drupal.org uses a different approach and puts the background image on the actual li and a tag. Unlike Aberdeen which adds it the li and span tag.So you could try adding the effect using JS or using :hover property to swap out images. Note that :hover on other elements besides links can cause issues in different web browsers so make sure you do a good amount of testing if you go that route.