New to CSS and Shopify. Have just put in a custom CSS to show a different slideshow for mobile and desktop (as the images displayed too small for mobile). This works perfectly for mobile, however on the desktop version is now showing a slim white bar / padding between the top of the slideshow and bottom of the header:
This shows only for the desktop version! What can I do to remove this? I tried reducing the padding to 0 using a new CSS but it didn’t work. The current CSS on the section is this:
I also tried updating the CSS for the header thinking the padding could be related to that but it didn’t work either.
EDIT: The gap shows for whichever is ordered “second” in the page. Eg I reordered them so the Desktop Slideshow is first and now the white gap is gone from Desktop but is present on the mobile view.
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Hey @suyash1 thank you this worked for the homepage slideshow! How do I do the same for pages that have an image banner at the top that I’m having the same issue for?
@suyash1 does that mean for all sections in the site not just the sections at the top position would have zero top space/padding? In theory could the workaround to be just make every section have more bottom padding to even it out?