1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
HOT Divi.Help Pro One-Page Layouts - Beautifully crafted Divi layouts for you to kick start Divi sites.
View All Pro One-Page Layouts
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Active page background color

Discussion in 'Basic Support Forum' started by Chad Williams, Aug 5, 2019.

  1. Chad Williams

    Chad Williams Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    First I would like to say fantastic plug in Divi ultimate header.

    But, How do I change that annoying blue background for the active page?
    I went through the forum and tried all solutions but none work...Not a one!

    Here is the blue color

    .current_page_item {
    background-color: #274D8B;
    }



    I want to change it to another color.
    No matter what I put in the css nothing works.

    I found the color located in this css
    /wp-content/cache/et/49697/et-core-unified-15650600990038.min.css

    I am able to change the color there, but have to do this for all pages and if I make on change to the menu.
    I have to go back in and change it again and say forget this.

    Some sites i build have up to 80 pages

    Would you please come up with a way to change this background color for all menu items
    and set it up as a global under
    Header & Navigation Styling


    Please do not confuse with the active link color for the word... this I have control over.
    This is the blue background for the page your on. It's messing up my work. I cannot have eveything with a blue background.

    If you add this feature, this would be cool man!

    Until then, is there any css I can use to overwrite the background-color: #274D8B;
    again I went through the forum and tried all solutions but none work...Not a one!

    thanks
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add custom vertical navigation for your Divi site. Turns into slide in menu on mobile:Learn More
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    There shouldn't be any CSS that affect the active page menu item. I believe in that's not an option in Divi as well. Perhaps, you have that CSS in your Divi > Theme Options > Custom CSS.

    Anyway, you can try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. Chad Williams

    Chad Williams Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin


    Part 2:

    Now that I added to
    DIVI > theme options > Custom CSS

    .current_page_item {
    background-color: transparent!important;
    }

    or

    .current_page_item {
    background-color: #FFFFFF!important;
    }


    and it fixed the background color...BTW THANK YOU VERY MUCH and for the fast response. Right on DUDE!!!

    Now I lost the under line when I mouse over and this is on style 1, 2 and 3 also want to change the color of the under line.

    1. How do I get the line back and make it show up on the active page and show for hover ?
    (yes active is still underlined)

    2. How do I change the color?

    I think a z index is involved.
    not sure how to do css on this one. thanks for the help

    BTW your plugin is Ultimate and is the Best!!!! I am able to menus like never before. I just have one hell of a request on this one.
     
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Kindly share your URL.
     
  5. Chad Williams

    Chad Williams Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    https://www.tncs.support/All/




    Fixed drop down background hover color

    .nav ul li a:hover {
    opacity: 1;
    background-color: #4CAD49!important;
    }

    With out the !important the color you want will not show up.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More
  6. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    It's because you set the menu hover main color to be white. You need to change it to your green color. Change the color in Theme Customizer > Divi Ultimate Header Plugin > Header & Navigation Styling > Menu Hover Main Color

    As to make the active page menu stay underlined, try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  7. Chad Williams

    Chad Williams Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Thank you!

    Please note...You must have DIVI Ultimate Header Version 3.0.0
    So make sure you have this version of the plugin installed, if you want this to work.

    This solved the issue and I have one happy client.

    Thanks again for the help.

    Please close this thread.

    By the way Buy the DIVI Ultimate Footer as well. It will help solve a lot of problems!
    Well worth the money!!! Saves lots of time!!!
     
    #7 Chad Williams, Aug 10, 2019
    Last edited: Aug 10, 2019
    1. PRO MEMBER PERKS Divi.Help One-Page Layouts - Beautifully crafted one-page Divi layouts just for you:View All Layouts
  8. Chad Williams

    Chad Williams Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Also

    Change the color of the underline in Theme Customizer > Divi Ultimate Header Plugin > Header & Navigation Styling > Menu Hover Main Color

    This is also using Header & Navigation Style 10