Shopify themes, liquid, logos, and UX
Hello everyone,
Because of the limited options I have added graphic text on the image itself, but when resizing the screen, the button tends to overlap with the text.
So using the text format that Shopify provides must be the best solution to prevent this (please let me know if there are other ways!), but it wont let me recreate what I currently have.
I was wondering how I could come close to this with Shopify's editor.
I've also noticed that the button leaves the picture when going on the mobile format. How can I fix this?
Thank you so much!
URL: https://glowee.nl/
Solved! Go to the solution
This is an accepted solution.
yes please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste below code at the bottom of the file.
@media screen and (max-width: 990px) {
#shopify-section-template--15290490290398__image_banner .banner__box.color-background-1 {
padding: 0;
margin-top: -80px;
margin-bottom: 0;
}
}
can you try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste below code at the bottom of the file.
@media only screen and (min-width: 992px) {
#shopify-section-template--15290490290398__image_banner .banner__content.banner__content--flex-end.page-width {
top: -75px !important;
}
}
Thank you for your reply!
I did this and the button moved on top of the text. I would like to keep it under it, as I think it looks nicer.
-ignore this message-
what do you need?
I would like to have the button stay on a fixed place, under the text.
And when switching to mobile format, to have the button stay on that place as well.
This is what it currently looks on mobile.
Thank you so much.
can you please confirm look at mobile?
This is an accepted solution.
yes please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste below code at the bottom of the file.
@media screen and (max-width: 990px) {
#shopify-section-template--15290490290398__image_banner .banner__box.color-background-1 {
padding: 0;
margin-top: -80px;
margin-bottom: 0;
}
}
Thank you so much for your help! 🙂
its my pleasure to help us
Hi, I meet a similar issue, I add 2 buttons at image banner section, the text is centered but the buttons go to left as below.
I checked image-banner.liquid and section-image-banner.css, but can not find the code about the button position.
Can you help me to fix it? Thank you!
The theme is Dawn.
sorry for that issue
please share store url
Hi @KetanKumar
Here is my store https://www.blueseaclothing.com/
Now I just add one button and it is centered, but I want to add another one and hope them still centered.
thanks for store url but i can't see 2 button at home page any section
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste below code at the bottom of the file.
.banner__box>*+.banner__buttons--multiple {margin: 2rem auto 0px ;}
After Code view
its my pleasure to help us
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024