Shopify themes, liquid, logos, and UX
Hi,
I'm trying to get the tables on my size guide page to stack and auto-adjust the width on mobile devices but I'm not sure how. The tables have a background color and everything looks good on desktop, but on mobile phones the background gets wonky and you have to scroll sideways to see the whole table. The url for the page is https://shopboutiqueen.com/pages/size-guide, password yourmajesty!
Appreciate any advice on how to fix!
Solved! Go to the solution
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >theme.scss.css and paste this at the bottom of the file:
@media screen and (max-width:800px) {
#size-guide .rte table {table-layout: auto !important; width: 100% !important;}
}
Thanks!
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >theme.scss.css and paste this at the bottom of the file:
@media screen and (max-width:800px) {
#size-guide .rte table {table-layout: auto !important; width: 100% !important;}
}
Thanks!
Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like Solution .
Thanks!
User | RANK |
---|---|
214 | |
149 | |
60 | |
49 | |
46 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023