1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
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. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Font color of menu button: sticky menu

Discussion in 'Free Divi Community Forum' started by pewie-37, Nov 24, 2019.

  1. pewie-37

    pewie-37 New Member

    Hi,

    How do I set the font color in css of a menu button from a menu in the (sticky) secundaire menu?

    In detail:
    I have placed the css-code below in the custom css-window of divi 4.0
    Sinds I have a blue button, I want the font to be white at all time.
    But because I have a white background I can't set this color global (within divi itself) to white.
    Therefore I need to set this to white in the css below.

    Thanks!

    -----------------------------------------------------------------------

    /* style the get started cta button */
    .get-started {border-radius: 0px;}
    .get-started a {color: #fff!important;}
    li.get-started {
    background-color:#0c71c3;
    font-weight: 500;
    text-align: center;
    padding: 12px 13px 25px 10px!important;
    border-radius: 5px;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;}

    @media only screen and (min-width : 981px) {
    li.get-started {height: 33px;}}
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade mega menu design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Doesn't this CSS make your link white?

    If the above doesn't work, you may this instead: #page-container .get-started a {color: #fff!important;}
     
  3. pewie-37

    pewie-37 New Member

    It actually does.
    When I turn the page container to white, all the other menu-options turn white on a white background when the page of that menu-option is selected.

    I have to have the CSS for the secondairy menu button (when scrolling down -> the sticky menu)
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Not quite sure what you meant. Kindly share your URL.