the “people also searched for” section is overhanging on mobile on this url. Can someone advise please.
https://www.physioworldshop.co.uk/collections/treatment-couches
A mobile display issue on a Shopify collection page where the “people also searched for” section is overhanging beyond the viewport.
Initial Problem:
Proposed Solutions:
Two community members offered CSS fixes to be added to the theme.liquid file:
</body> tag to address the overhang.links a elements with media query for screens under 767px width, adjusting margins and font size to 10.5px</head> tag insteadThe original poster reported that the first fix resolved the top section but caused the “people also searched for” section to be cut off, prompting the additional CSS adjustment. The discussion remains technical, focusing on CSS modifications to resolve responsive design issues.
the “people also searched for” section is overhanging on mobile on this url. Can someone advise please.
https://www.physioworldshop.co.uk/collections/treatment-couches
Hey @ChrisW3
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Keep the previous code and add this new code above in the end of theme.liquid file.
@media screen and (max-width: 767px) {
.links a {
margin-left: 0 !important;
margin-right: 0 !important;
margin-bottom: 0 !important;
font-size: 10.5px !important;
}
.links {
margin: 0 !important;
}
}
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @ChrisW3
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Richard | PageFly