After updated to 4.0.8 image addon with .svg doesn't work - Forum | JoomShaper
Staff replied SP Page Builder

After updated to 4.0.8 image addon with .svg doesn't work

Asked by Marius 3 years ago Last activity 3 years ago

Hello!

After I updated to SP Page Builder 4.0.8, the image addons no longer display the svgs.
These addons work correctly if I reinstall the old version of SP Page Builder 4.0.7
The image addon is set to 180 width

I think I understood why I have this problem
Below I put the css generated by Sp Page Builder

sppb-addon-LnhyJ01i0ctg_ZCvSzOG4 img {

border-radius: 0px;
width: 200;
max-width: 200;

}

If I put "px" in the Google Chrome console, the svg is visible

sppb-addon-LnhyJ01i0ctg_ZCvSzOG4 img {

border-radius: 0px;
width: 200px;
max-width: 200px;

}

In the Image addon I set on Style tab - Custom CSS - img {width:200px;}
It solves the problem but this means adding the img {width:200px;} css to all image addons that use svg

2 replies

Dmitry Goncharov

The bug is known. This week 4.0.9 will be released

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. We have already noted this bug. I hope it will be solved in our next update.

-Regards.

Log in to reply.