Hamburger icon displays incorrectly after colour change

Home Forums Jevelin Theme Hamburger icon displays incorrectly after colour change

Home Forums Jevelin Theme Hamburger icon displays incorrectly after colour change

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • ania_yot
    Participant

    Hello, I’ve changed the colour of the hamburger icon to black using this code:

    #header-navigation-mobile .c-hamburger span,
    #header-navigation-mobile .c-hamburger span::before,
    #header-navigation-mobile .c-hamburger span::after {
    background-color: #000 !important;
    }

    It has caused an issue where then the icon animates to “X”, the middle bar is still visible.

     

    I tried the following code, which I found on this forum:

    .c-hamburger–htx.is-active span {
    background-color: none!important;
    }

    It didn’t make any difference though.

    The site is http://simplyreaders.co.uk/

    Thanks

    Solution for this topic

    Hi @ania_yot,

     

    I hope you are well today and thank you for your question.

     

    Please use the below shared CSS code.

     

    #header-navigation-mobile .c-hamburger:not(.is-active) span,
    #header-navigation-mobile .c-hamburger span::before,
    #header-navigation-mobile .c-hamburger span::after {
    background-color: #000 !important;
    }

     

    Best regards,
    Shufflehound team

    ania_yot
    Participant

    Hi, thank for your reply. I added the CSS in the CCS code in theme settings but there’s no change.

     

    Thanks

    Anna

    It is not working on your website because you have also added some CSS code on your website using Yellow Pencil Editor that overwrites my provided CSS code.

     

    To make it work, please remove the CSS code that you have applied to it using the Yellow Pencil Editor.

     

    You can reset the Yellow Pencil editor as described in the below pages.

     

    https://yellowpencil.waspthemes.com/docs/managing-changes-on-entire-website/
    https://yellowpencil.waspthemes.com/docs/managing-the-element-styles/

     

    ania_yot
    Participant

    That’s brilliant, thank you for your help it works 🙂

    You are most welcome here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form