Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #3003188
svg logo support for chrome
Closed

Comments

  •  1
    thomas started the conversation

    i just found out that svg logos are not working in chrome, maybe you can point out to me how to fix that.

    thanks

    thomas

  •  225
    Milingona replied

    Hi Thomas,

    Please try to replace line 147 of wp-content/themes/bakery/assets/js/main.js: 

    $('img[src$=".svg"]').each(function () {

    with the following

    $('img[src$=".svg"]:not([class^="vu_sl"])').each(function () {

    Cheers,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  •  1
    thomas replied

    hello, i tried, but it does not work.

    but i found the solution, the img width was somehow not set for svg.

    .vu_site-logo a { width: 100%; }
    please mark this as solved.

    thanks