Menu | Active Link color do not apply

HI!

I'm trying to set my custom color for active link on menu, but I can't get it working.



www.galpaodecriacao.com.br
user/pass sent via PM

Comments

  • Hey,

    this is weird because it should work. Maybe your other style from css section for example overwrite this color. So in this case you can use below css and this should help you:
    #Top_bar .menu > li.current-menu-item a span { color: #000 !important; }
  • edited February 2015
    I do not have any customization of colors, except the css below:

    #Action_bar { display: none; }
    #Top_bar #logo { height: 160px; }

    @media only screen and (min-width: 1240px) {
    #Top_bar:not(.is-sticky) .search_wrapper { top: 120%; }
    }
    #Footer .footer_action,
    #Footer .widgets_wrapper { display: none; }
    #Footer .footer_copy .social li a { color: rgba(0, 0, 0, 0.3); }
    #Footer .footer_copy .social li a:hover { color: rgba(0, 0, 0, 0.6); }
  • So please use css that we gave you above and this will do what you need.
  • OK no problem... CSS overwriting works... but, what about the front-end?  :(   Is it bugged?
  • There is no bugs in this case. Probably there is css somewhere deeper for that.
  • Hey, i used the same code, but nothing works. My custom css: 


    #menu { background-color: #e88888 !important; }

    .flat_box .desc_wrapper h4 i { font-size: 80%; opacity: 0.6; }

    @media only screen and (min-width: 768px) { 
    #pay_for_results .column_image { margin-bottom: 0; }
    #pay_for_results .image_frame { margin-top: -172px; position: relative; z-index: 28; }
    }

    /************************ Footer ************************/

    #Footer .footer_copy {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    #Footer .footer_action {
        background: rgba(0, 0, 0, 0.2);
    }
    #Footer .footer_action a {
        color: #747474 !important;
    }
  • @Laucys Pleas explain what you want to do and on on what page.
  • @Laucys To make the same header as on screenshot, you need to use the following css:
    #Top_bar #menu { background: #000 !important; }
    #Top_bar .menu_wrapper { background: #000 !important; width: 120% !important; margin-left: -10% !important; }
    #Top_bar .menu > li > a span:not(.description) { color: #FFF !important; }
    #Top_bar .menu > li > a:hover { background: #000 !important; }
    #Top_bar .menu > li > a:hover span { color: #FFF !important; }
  • THANKS, that works fine, except now my logo doesn't fit to menu : http://i.imgur.com/QxfYiP2.png

    When I delete this row: 

    #Top_bar .menu_wrapper { background: #000 !important; width: 120% !important; margin-left: -10% !important; } 

    than logo fits good, but not entire menu is wanted color like this : http://i.imgur.com/KoDWiID.png
  • We did one mistake in above css. Instead of css we gave you previously, you need to use the following one:
    #Top_bar:not(.is-sticky) #menu { background: #000 !important; }
    #Top_bar:not(.is-sticky) .menu_wrapper { background: #000 !important; width: 120% !important; margin-left: -10% !important; }
    #Top_bar:not(.is-sticky) .menu > li > a span:not(.description) { color: #FFF !important; }
    #Top_bar:not(.is-sticky) .menu > li > a:hover { background: #000 !important; }
    #Top_bar:not(.is-sticky) .menu > li > a:hover span { color: #FFF !important; }
  • Thank you, but now when you scroll down menu change color: http://i.imgur.com/qjGpb1H.png, in previous css color didn't change,
  • This is sticky header. To change bg color of sticky header, you need to use:
    #Top_bar.is-sticky { background: #000 !important; }
    #Top_bar.is-sticky #menu { background: #000 !important; }
    #Top_bar.is-sticky .menu > li > a span { color: #FFF !important; }
Sign In or Register to comment.