Passer la navigation

[Résolu] Image slider – different padding on mobile/desktop

This support ticket is created Il y a 4 years, 7 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Luo Yang Il y a 4 years, 7 months.

Assisté par: Luo Yang.

Auteur
Publications
#2205903

I'm trying to setup different padding on mobile/desktop for image slider.

When I set padding/margin (right/left) to 100px for desktop only it also shows on mobile.
Settings for mobile: lien caché
Setting for desktop: lien caché

The result for desktop : lien caché
The result for mobile: lien caché

I don't understand it. What I want to achieve - I want to have smaller size slider on desktop - so it will not blurry my images (the are 1200x900) and will show the user minatures of the slider above the fold. Currently the main picture is so big, because is full width.

What's the solution for it?

#2206745

Hello,

You can follow our document to switch to different device, and setup different padding parameters:
https://toolset.com/course-lesson/creating-responsive-designs/
Screenshot:
lien caché