Gradient menu bar using Juggledad's cheat sheet
I would like to have a page menu bar with a purple to white gradient and a pink to white gradient for the hover/active tab. I created a gradient purple image to be repeated. I added Juggledad's cheat sheet to CSS Inserts and modified it as you see below. This is my website.
I have 2 questions: 1. Why does the gradient only work on the home page? If I go to any other page or post, it reverts to my other menu bar. 2. Where and how do I add the image for the pink gradient that will be used for the hover/active tab? Thanks so much in advance. Quote:
|
the url you are using to point to the image is not proper when you go to other pages. change it from
HTML Code:
wp-content/uploads/2013/02/WHPurpleMenu.jpg HTML Code:
/wp-content/uploads/2013/02/WHPurpleMenu.jpg |
Thanks so much. That took care of problem number 1. Now where do I put the code for the pink graphic if I want the active page and the hover to be pink?
|
I suggest you take a look at this writeup about psuedo classes and then explain how you think you have to do it - yes it is test time :p
|
Ah ha! The lightbulb goes on. Thanks so much. Now I can place things where I want.:)
|
All times are GMT -6. The time now is 07:07 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.