• Resolved ruikowski

    (@ruikowski)


    Hello great plug!

    However, I have a question. I would like to change the color of the icon in the on scroll header. Could you help? Site link: https://woro.dkonto.pl/

    ps. It’s about the burger menu. However, this item is an icon and not a standard burger from Elementor Nav.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Robert Wattner

    (@rwattner)

    Hi, thank you very much! I’m sure I can easily write you some css to do this. It’s 9pm here so I’ll get back to this in the morning. We’ll get you fixed up!

    Thread Starter ruikowski

    (@ruikowski)

    I’m looking forward!

    • This reply was modified 3 years, 2 months ago by ruikowski.
    Plugin Contributor Robert Wattner

    (@rwattner)

    Hey, sorry for the delay. I have been setting up a new computer and it took longer than expected. Always does actually, should’ve seen that coming.
    Anyway, I’ve got some code written for you and it’s working great for me.
    Try this and let me know

    /* MOBILE ICON COLOR */
    .she-header-yes .elementor-icon svg line {
        transition: stroke 0.4s ease-in-out;
    }
    
    .she-header .elementor-icon svg line {
        stroke: red !important;
    }

    Just change “red” to any color you like. In your case it looks like you would change the icon’s normal color to white, then use this code to change it to black. I also added the same color transition as the logo so everything matches.
    I hope this works for you!

    Plugin Contributor Robert Wattner

    (@rwattner)

    @ruikowski Here is code that is more browser-friendly. It’s better to have prefixes just in case

    /* MOBILE ICON COLOR */
    .she-header-yes .elementor-icon svg line {
        -webkit-transition: stroke 0.4s ease-in-out;
        -o-transition: stroke 0.4s ease-in-out;
        transition: stroke 0.4s ease-in-out;
    }
    
    .she-header .elementor-icon svg line {
        stroke: red !important;
    }

    Let me know if this works

    Thread Starter ruikowski

    (@ruikowski)

    @rwattner Work perfect! Thank you so much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Icon color change on scroll’ is closed to new replies.