A Shopify store owner needed help centering a table on their dog bandana size guide page. Initial CSS attempts using custom liquid sections and margin-inline properties failed to resolve the alignment issue.
Solution provided:
Add custom CSS code to the theme.liquid file
Place the code above the closing tag
Target the specific table element with styling
Outcome:
The user initially reported the solution didn’t work on a second page (general size guide)
Issue was ultimately resolved when the user identified the problem was with their table structure itself
Thread marked as resolved
Summarized with AI on October 30.
AI used: claude-sonnet-4-5-20250929.
Thank you so much for your help! I really appreciate it, but I’m still having a bit of trouble with this page. I can’t seem to get it to center properly. Any advice would be great!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.