Hi All, Im not sure this is possible, My table in the product description is overflowing on mobile, see below screenshot.
Theme: Trade. This is effecting product page on mobile.
https://www.affluentarchives.co.uk/products/versace-blue-polo-mediu
A user is experiencing table overflow issues on mobile devices in their product descriptions using the Trade theme. The table extends beyond the screen width, creating a poor mobile experience.
Proposed Solutions:
Multiple community members offered CSS-based fixes:
Add overflow scrolling: Insert body, html { overflow: auto; } to base.css or use overflow-x: auto; on table wrapper elements to create horizontal scrollbars
Modify table styling: Add custom CSS targeting .rte__table-wrapper or .rte table classes with padding and overflow properties
Remove width constraints: Delete the width attribute from the table HTML and add width: auto; to base.css (around line 3100)
Adjust padding: Change padding values in base.css from 1em to 0.2em on line 417
Current Status:
The issue remains unresolved. The original poster tried one solution (adding code to theme.liquid) but reported no change. Several alternative approaches involving base.css modifications and table attribute removal have been suggested but not yet confirmed as working.
Hi All, Im not sure this is possible, My table in the product description is overflowing on mobile, see below screenshot.
Theme: Trade. This is effecting product page on mobile.
https://www.affluentarchives.co.uk/products/versace-blue-polo-mediu
Hello @DASCPA add this css in assets > base.css
body, html {
overflow: auto;
}
Hi @DASCPA
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
You will have scroll bar for table, and the page will not have extra spacing
To enhance the professionalism and uniqueness of your site, I recommend setting a favicon. This can be easily done in the theme settings. Adding a favicon will help make your store stand out to customers.
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Hi @DASCPA ,
May I suggest to update code these steps:
.product__description .rte__table-wrapper {
overflow: auto;
padding: 10px 1px;
}
Hi @DASCPA
If the figure below meets your expectations, you need to follow the steps below,
First, you need to remove the width attribute of table
Secondly, modify base.css to change the padding: 1em; of line 417 to padding: 0.2em;
Hello, where can I remove the width attribute from? thank you