image size within slider not working - Forum | JoomShaper
Solved SP Page Builder

image size within slider not working

Asked by Cristina 3 years ago Last activity 9 months ago

hi, as im working further with my sliders i came up with another issue that wasnt at all before last sp. builder update. Ine the slider i have pics normally i could change the size of those, i have three different ones, idk how to fix this and personally i feel that the constant changes in the css only make things worst.

One more thing when i change the size of the images at the sp builder it shows once i save it and check the preview it doesnt shows that the size of the image has been changed at ll.

before the last update things worked much better and less messing around with the css as it is now, guys please check this and with the next update try to make things easier and not more complicated please please please

see here the link to the website

thanks in advance

Accepted answer

Marked as the solution
Pavel

And additionally. This code will only work in live viewing. In the editor, everything will be crooked. But do not pay attention to it. The main thing is live viewing.

26 more replies

Cristina Asked this

guys whats going on? since the last update i have a lot of trouble with images and sliders which is very frustating since they worked fine before, is like
nothing works as before and thats not whats this is meant :(

any chance this is getting solved and i get help please ?

Pavel

Hi Cristina.

Slideshow Addon never worked normally (especially in the aspect of the size of the images), it has the same bugs that have been from birth. Nothing has changed, nor improved nor worsened from the 3rd version. Perhaps you just didn't notice it before.

My practice of working with this addon - I add my own classes everywhere where it is possible in the settings and set up everything only through CSS. Which is more flexible, faster and gives possibilities which there are no from the box

Cristina Asked this

Hi Pavel, thank you so much for your answer, it might be indeed i didn't saw it bc i see tha changes in the backend. weird that they havent fixed this as it is imo essential in many addons. i have tried the css yet i havent been lucky yet is there maybe a way you can guide me a bit with it please?

thanks in advance

Pavel
3 years ago · edited

Ok.

Add your own class name to the image item.

Example from SPPB 3. In SPPB 4 should be the same class field.

Then ispect code to find your class for purpose to create composite selector to appeal to the image.

Composite selector from my example will be .your-own-class-name img as you can see on screenshot.

So now you can use it in your code.

Example:

.your-own-class-name img {
    width: 200px !important;
    height: auto !important;
}

The same principle with any other elements that have a class field.

Cristina Asked this

oh my lord !! thanks so so much Pavel!! you have no idea how happy i am rn!!!

Pavel

You are wellcome :)

Ofi Khan Staff

Thanks, Pavel for helping 😊

Cristina Asked this

@Ofi Khan, guys please solve this issues that have ocurred since the update to spbd 4 those adjustements that were possible before and that now cause so many issues are unnecessary.

Ofi Khan Staff

Thanks for the feedback. We will work on it.

Cristina Asked this

@Ofi Khan at the fb page reacted to this issue after Kawshar annouced the upcoming changes and her replied me to note this and pass it to the dev. team so here i do it so it wont get lost in the forum even tho the issue is "solved" with the fantastic help of Pavel, it isnt solved with the last update. The problem with the image size in the slider remains and also the slider size isnt working properly the slider height custom size doesnt work as soon as you choose that the whole slider disapears, the preview option isnt an option bc those changes that do show there do not show in the live version of a website.

Log in to reply.