Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Gradient menu bar using Juggledad's cheat sheet


 
Prev Previous Post   Next Post Next
  #1  
Old Feb 5, 2013, 05:37 PM
Blessings4all
 
37 posts · Jul 2012
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:
/* ================================================ */
/* Page menu background */
/* ================================================ */
div#menu1 {
height: 40px;
margin-top:0px;
background: white;
}
/* ================================================ */
/* Page Menu item's background and border */
/* ================================================ */
div#menu1 ul.rMenu {
background-image:url(wp-content/uploads/2013/02/WHPurpleMenu.jpg) !important;
background-repeat:repeat-x !important;
border: none 0px;
}
/* ================================================ */
/* Page Menu item */
/* ================================================ */
ul.rMenu li a:link,
ul.rMenu li a:visited,
ul.rMenu li a:hover,
ul.rMenu li a:active,
ul.rMenu li {
background-image:url(wp-content/uploads/2013/02/WHPurpleMenu.jpg) !important;
background-repeat:repeat-x !important;
}
/* ================================================ */
/* Category menu background */
/* ================================================ */
div#menu2 {
height: 40px;
margin-top:0px;
background: green;
}
/* ================================================ */
/* Category Menu item's background and border */
/* ================================================ */
div#menu2 ul.rMenu {
background: orange;
border: none 0px;
}
/* ================================================== */
/* Category Menu item */
/* ================================================== */
#menu2 ul.rMenu li a:link,
#menu2 ul.rMenu li a:visited,
#menu2 ul.rMenu li a:hover,
#menu2 ul.rMenu li a:active,
#menu2 ul.rMenu li {
background: purple !important;
color: #000000 !important;
}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++ */
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Juggledad's colored menu cheat sheet juggledad Menus 31 Oct 24, 2012 06:15 AM
Gradient in Page Menu Bar and Separation Bars clayphillips Page & Category Menu Bars 12 Feb 10, 2010 05:48 AM


All times are GMT -6. The time now is 09:39 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.