Disable ScrollToFixed Brooklyn Theme

az
Shopify Partner
3 0 0

Hello,

Anyone know a simple way to disable the ScrollToFixed feature with Brooklyn's product page body text?

When scrolling down, the body text moves down with the scroll. I would like it to stay put.

Cheers,
Az

0 Likes
Gagan3
New Member
2 0 2

Simply way to disable, Just add below css to theme.scss.liquid

.product-single__meta {
    position: static !important;
}

 

0 Likes
JIhane_belkacem
New Member
2 0 0

i tried this trick it worked but , it made a big gape between addtocart and description

0 Likes
Gagan3
New Member
2 0 2

Open asset / theme.js.liquid,

here you will find below code near line no. 920 - 

theme.variables = {
  productPageLoad     : false,
  productPageSticky   : true,
}

 

Change value of "productPageSticky" true to false

Raj_Rana
Shopify Partner
5 0 3

I have tried changing the value to false but the massive gap of ~768px on my product description page still exists. Can anyone help?

The link is below.

https://www.sexybeast.in/products/wild-tiger-boxer-shorts

0 Likes