Change Site Title color hoverstate based on current page
-
Hi Armin,
Thank you for the latest Lay Theme update!
This is my problem: Only my "Info" page has a black background color, and I'd like the Menu and Site Title color to be white just for the "Info" page. That seems to work, however, when hovering over the Site Title it doesn't stay white.
I've used the code from here without any luck:
http://laytheme.com/documentation.html#css-based-on-current-pageThank you!
-
Hey!
Try:body.slug-info .sitetitle.txt:hover .sitetitle-txt-inner span{ color: white; }
The html changed slightly so your css didn't work properly anymore. I updated the docs now to reflect that change.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com