Shopify themes, liquid, logos, and UX
URL:
Theme: Dawn
Password: pex100
Hi All,
I have applied sticky scroll to the product description of my Product details page:
It is working fine, however, the problem comes in when I the meta field dropdown is expanded:
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?
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;
}
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:
notice that both dropdowns have been expanded but only 1 is fully visible.
replace the code with this:
.product .product__info-wrapper {
max-height: unset;
}
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.
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024