Automatic Scrolling on Collection, Product, & possibly other pages

Highlighted
New Member
8 0 0

After I click view collection the shirts on the collection page auto scroll down once they finish loading. The same thing happens on each product page. I'd like the images to just stay at the top. If you know how to do this lmk!

 

-Hugo

0 Likes
Highlighted

Website url? I can only assume the header gets larger on load

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
New Member
8 0 0
Highlighted
New Member
8 0 0

& even when I hide the header this still happens. Could it be a margin thing?

0 Likes
Highlighted

@HugoGaribaldi 

It seems like a padding is causing the issue, the line code below, you need to get rid of style code

 

 

 

<div class="page-container drawer-page-content" id="PageContainer" style="/*! padding-top: 95px; */">

 

 

end result should be

<div class="page-container drawer-page-content" id="PageContainer">
If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
New Member
8 0 0

Ok, where should this be under? Theme.liquid?

0 Likes
Highlighted

@HugoGaribaldiyes try there, search for pagecontainer / padding-top and see if it's there

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted

yes try there, search for pagecontainer / padding-top and see if it's there

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
New Member
8 0 0

Screen Shot 2020-09-27 at 10.09.23 PM.png

Screen Shot 2020-09-27 at 10.10.43 PM.png

  

0 Likes
Highlighted

@HugoGaribaldithought you said theme.scss, my bad, yes search in the theme.liquid file. the file you're on. Search for padding-top.

 

This is a specific inline css styling. It wouldnt be in theme.scss

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes