Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #560748

    I am trying to use an HTML logo and I want the color to change from white to black when the menu toggles between it’s normal transparent and then scrolled state.

    I have update the functions.php with the following so that the HTML logo works:

    function avf_text_logo_func($logo, $use_image, $headline_type, $sub, $alt, $link){
    $logo = “<$headline_type class=’logo bg-logo text-logo’><h1>Evan Leepson</h1></$headline_type>”;
    return $logo;

    #560983

    Hey connect4consulting!

    Please insert the below css into your custom css section:

    .av_minimal_header #header_main .header_color h1 {
    	color: #000000 !important;
    }

    Regards,
    Dake

    #561379

    Hi Dake,
    That still doesn’t do it. I’m trying to change the color of the text logo I created so when I scroll down and the background becomes white the font of the logo changes to black.

    Thanks for your help.
    Gabe

    #561388

    Hi!

    Please add following code to Quick CSS instead

    .logo.bg-logo.text-logo * {
        color: black;
    }
    .av_header_transparency .logo.bg-logo.text-logo * {
        color: white;
    }

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.