Solved Templates

Rythm template slidshow images

Asked by Omar Cappelli 2 years ago Last activity 2 years ago

Hi,
I added an image to the slideshow but despite being 960px wide it covers the entire width as you can see here

It seems that is set to "cover" but I can't find any way to change that.

Can you please help me?
Thanks.

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Omar Cappelli

Please use this CSS to

Template Options -> Custom Code -> Custom CSS

.sp-slider .sp-item .sp-background{
    background-size: contain;
}

Best regards

2 more replies

Omar Cappelli Asked this
2 years ago · edited

Hi,
I've just added the css but it's not working as expected. I have cleared the cache just to be sure but the image is duplicated. Same link as above

edit:
Just added "background-repeat: no-repeat;" and it works ;)

Ofi Khan Staff

Glad that the issue is fixed. Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

I have a humble request too. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

Log in to reply.