-
AuthorPosts
-
February 27, 2022 at 6:09 pm #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,
VeraFebruary 27, 2022 at 6:59 pm #1342480Hey 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:
After applying the css, please clear your browser cache and check.Best regards,
MikeFebruary 27, 2022 at 7:15 pm #1342481Hi 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,
VeraFebruary 27, 2022 at 7:39 pm #1342485Hi,
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,
MikeFebruary 27, 2022 at 7:47 pm #1342487Hi 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,
VeraFebruary 27, 2022 at 7:52 pm #1342488Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.