Re: Fix the meta field scroll in Product Description

Fix the meta field scroll in Product Description

devnoob
Excursionist
25 1 1

URL:
Theme: Dawn

Password: pex100

Hi All,


I have applied sticky scroll to the product description of my Product details page:

devnoob_0-1721834612510.png



It is working fine, however, the problem comes in when I the meta field dropdown is expanded:
 

devnoob_1-1721834678198.png



As you can see, the meta field section doesn't scroll and the Size Guide field is completely missing.

 

Ideally, I would want the meta fields to move the Product info above and make space for itself when expanded.

any thoughts?

 



Replies 6 (6)

Michael_Pink
Shopify Partner
450 77 107

Hi @devnoob 
You can try follow this path:
Themes => edit code => asset => base.css
and add this code to bottom of the file base.css

 

.product .product__info-wrapper {
max-height: unset;
}

 

My life is sharing!
I hope my solution can help you save at least 1$
Build Page faster with: PageFly PageBuilder App.

shopify.expert.team@gmail.com
devnoob
Excursionist
25 1 1

Hi Michael, many thanks for getting back. 

This works perfectly when 1 metafield is open. When I open both, then it kind of breaks as shown:

devnoob_0-1721837354543.png


notice that both dropdowns have been expanded but only 1 is fully visible. 



devnoob
Excursionist
25 1 1

any thoughts @Michael_Pink ?

devnoob
Excursionist
25 1 1
Michael_Pink
Shopify Partner
450 77 107

replace the code with this:

.product .product__info-wrapper {
max-height: unset;
}
My life is sharing!
I hope my solution can help you save at least 1$
Build Page faster with: PageFly PageBuilder App.

shopify.expert.team@gmail.com

PaulNewton
Shopify Partner
6874 615 1450

If the sticky is a built in feature and the other areas have not been customized either ,   then report the bug to shopify support.

 

If the sticky is a customization you added to the theme then the relevant code needs to update itself when the content heights change.

Most sane sticky libraries have some event/function for this but you'll have to figure it out the triggers as most collapsible or other UI blocks don't emit events by design.

 

If you need this debugged , or customization, then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org