SPPB 5.2.9 images doesn't keep the custom dimmensions - Forum | JoomShaper
Solved SP Page Builder

SPPB 5.2.9 images doesn't keep the custom dimmensions

Asked by Kostas Konstantinidis 2 years ago Last activity 2 years ago

Hey team,
After the last update from 5.2.7 to 5.2.9 I noticed that SPPB addon image doesn't be able to keep the width section any more.
Please take a look to the attached images I sent you. 01.png https://prnt.sc/wGbE2rfbGHP2 shows the value I need to be displayed.
And at 02.png https://prnt.sc/P7_NTHOOWhwt shows what displays on air.
So I was forced to add the rule ".sppb-carousel-inner>.sppb-item>a>img, .sppb-carousel-inner>.sppb-item>img, .sppb-img-responsive { max-width: 40%;" in order to get the dimmensions I need.
And this happens with any image I tried to add...
I use the newsberg template.
Many thank's
/kostas

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
2 years ago · edited

I only reinstalled component (just in case of).

probably you used a version before our "hidden" update, that was day after.


If you have more sites, just download SPPB today and use that version.

6 more replies

Paul Frankowski Senior Staff

Hi Kostas,

can I can access to your site, I want to check why.
Because in theory you should have the width, height styles in CSS, like in my example

info_2488_2024.png

Kostas Konstantinidis Asked this

Hi Paul,
of course you can. I have cleared the custom css in order you to be able to examine the problem. However, the site is in Greek language so get into pages at that page https://prnt.sc/QMY0rd8YpbGW and scroll down to that https://prnt.sc/SFpn3tDhWbr6 point. There I have put 150 as image width but on air it gets the full width of the image. Thank's /kostas

Paul Frankowski Senior Staff

As I saw, wave (Κύμα) image has width value set at 150px and is OK, that value is used in CSS and image is reduced to that width value, becuase by default that image has 788px of width.

So in general, you have to use "Width" value from Image setting to set/reduce width if image is wider.

info_2489_2024.png

Paul Frankowski Senior Staff
2 years ago · edited

Do you think the latest update removed the Width value from Image addon settings!?

Did I understand your problem correctly?

Kostas Konstantinidis Asked this
2 years ago · edited

No I didn't think of that. Setting the width to 150 just wasn't working for me after the last SPPB update. But how did you make it to work?

Kostas Konstantinidis Asked this

OK Paul... many thank's

Log in to reply.