Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1342475

    Hi,
    is it possible to replace the 3 lines in the non-active burger menu and the cross in the active burger menu with two custom images?
    Thank you.
    Best regards,
    Vera

    #1342480

    Hey Vera,
    Thanks for your question, to use an image for the burger mobile menu for closed and open try this css in your Quick CSS and adjust the image URLs to suit your needs:

    .av-hamburger::before {
      content: url(https://img.icons8.com/external-sbts2018-lineal-color-sbts2018/58/000000/external-hamburger-fast-food-sbts2018-lineal-color-sbts2018.png);
      display: block;
      padding-top: 15px;
    }
    .av-hamburger.is-active::before {
      content: url(https://img.icons8.com/external-sbts2018-outline-sbts2018/50/000000/external-hamburger-fast-food-sbts2018-outline-sbts2018.png);
      display: block;
      padding-top: 15px;
    }
    .av-hamburger-inner {display:none!important;}

    this is the result:
    2022-02-27_115831.jpg
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1342481

    Hi Mike,
    thank for your immediate reply. That works well. Can I keep the animated transition of your standard icons when I use two images that differ in shape? I want to achieve something like on this page: https://www.spencerlowell.com
    Best regards,
    Vera

    #1342485

    Hi,
    Glad this helps, you would need to add the animation to the css, please link to your site so I can see what you have achieved and link to the animation you wish for, many of our demos have different animated transitions so it would be better to see what you want.

    Best regards,
    Mike

    #1342487

    Hi Mike,
    okay. I will have a look at the css and come back later, because I don’t know yet how the client wants it exactly to be. But it’s good to know that in general it’s possible to add also a transition.
    Thank you.

    Best regards,
    Vera

    #1342488

    Hi,
    Very good, we will keep this open to hear back from you.
    Typically I find using Keyframe Animations the easiest to use, this article is pretty good but if you search Google I’m sure you will find more examples that you can easily add to your css.

    Best regards,
    Mike

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