Shopify themes, liquid, logos, and UX
Hi,
Im designing my store and have noticed that when i am on desktop the margin all seem to be the same and in a straight line which can look odd. How do i change the margin for each section individually without affecting the mobile css.
Solved! Go to the solution
This is an accepted solution.
You needto find the exact code for the width.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Tousifm1
Would you mind to share your store URL? Thanks!
Thanks for the info, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
slider-component.slider-mobile-gutter.page-width-desktop, .multicolumn .isolate {
max-width: 100%;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Wow! Genius! Can you explain to me how to do this for a section? So i am able to do it myself.
This is an accepted solution.
You needto find the exact code for the width.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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