Shopify themes, liquid, logos, and UX
I want to move the text boxes in the first image banners on the home and impact pages down by a certain amount. Additionally, I would also like to move the same text boxes down a different distance in the mobile version.
Any help is appreciated.
Thank you
url: sisubracelets.us
Solved!Go to the solution
This is an accepted solution.
Go to Assets > base.css and paste this at the bottom of the file:
/* code desktop */ @media only screen and (min-width: 750px) { #Banner-template--15453100146745__165525969688027bd0 .banner__box { margin-top: 10%; } } /* code mobile */ #Banner-template--15453100146745__165525969688027bd0 .banner__box { margin-top: 10%; }
You can change the number to your liking.
Hope it helps!
1: Online store > themes > Actions > Edit code > Section > image-banner.liquid
2:
replace
#Banner-{{section.id}} { top: -110px; }
with
#Banner-{{section.id}} { top: -110px; padding-top: 110px;/* add */ }
This is an accepted solution.
Go to Assets > base.css and paste this at the bottom of the file:
/* code desktop */ @media only screen and (min-width: 750px) { #Banner-template--15453100146745__165525969688027bd0 .banner__box { margin-top: 10%; } } /* code mobile */ #Banner-template--15453100146745__165525969688027bd0 .banner__box { margin-top: 10%; }
You can change the number to your liking.
Hope it helps!
It works. Thank you for the help.
User | 排名 |
---|---|
92 | |
74 | |
63 | |
52 | |
46 |
Discover how to effectively use the Shopify Community forum. Learn tips for creating new t...
ByTrevor Oct 11, 2023It’s never too early to spot the Christmas trees adorning your block or the wreaths hangin...
ByJasonh Oct 5, 2023This blog post is a recap of the webinar Getting Ready For BFCM: How To Run A Flash Sal...
ByJacqui Oct 3, 2023