1. HOT Divi Ultimate Header Plugin - More variety for your Divi header: https://header.diviultimate.com/

Menu anchor color

Discussion in 'Get Help On Divi Wordpress' started by unitienda, Feb 11, 2020.

  1. unitienda

    unitienda New Member

    Hi! I have website in demo: www.unitienda.com.ar/demos/op


    I need the anchor not to have the color as if they were selected next to the main one. for example, on this page, 'inicio' is the home, and 'sucursales' is a anchor of 'inicio'. If I place only #sucursales in the menu, it takes me to the right part of the page but being yes or yes in inicio. If I am in 'contacto', for example and press 'sucursales' , it does not take me to the 'sucursales' section of the home (inicio). But if I place a custom link unitienda.com.ar/op/#sucursales when I am in 'start' it appears to me in light blue. I need it not to appear in that color.


    i found this code:
    #main-header #top-menu li:last-child > a {
    color: #d3d3d3 !important;
    }
    but it only change the color to the last child. I tried putting only child in the code, but it doesnt work.

    Can you help me?
    Thanks!
     
    1. AD Awesome ways to display testimonials in your Divi site: https://divi.help/link-forums/testimonial-slider.148/
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You can try to go to Appearance > Menus & find the 'sucursales' menu item & add this CSS Class: dh-menu-color

    And put the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    .dh-menu-color>a {
        color: rgba(0,0,0,.6)!important;
    }