Use an SVG rather than PNG for burger menu icon?

Hi there I know you can edit the burger menu picture with a custom image in png format but can you use a custom SVG instead of a PNG as there is considerable blur when the icon is small.

This is the code I used:

}
.x-btn-navbar .x-icon-bars:before {
content:url(http://www.hirety.co/wp-content/uploads/2019/07/noun_Hamburger_2274492.png);
}

many thanks

Hello Tariq,

Thanks for writing in!

If you want to use SVG as background image, you might be interested in checking this out:

Hope this helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.