Shopify themes, liquid, logos, and UX
Hello, I'm currently creating a shop and I would like the button to be moved to the location as shown in the image below. I've already tried several codes but none of them work for me, could you help me? I'd like the button to never move whether it's on a phone or desktop. Thank you very much.
my website : saler.bzh
password : saler
Hi @ronii
I can help but please remove this code first that you add in the base.css.
This is not user friendly, youll have problem on every screen sizes.
And check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media screen and (min-width: 750px){
.banner__content.banner__content--middle-center {
align-items: flex-end;
justify-content: flex-start;
padding-bottom: 0px;
}
.banner__box.content-container {
display: flex;
}
}
And Save.
Result:
Just an advice, it better that you used the banner heading, subheading feature. Cause your text would be unreadable on the smaller image.
And the button wont be align to the text in the picture. It will align to the left where it assigns. I incounter a lot, this kind of problem when you attach the text in the image.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Okay, since you've deleted what I said and added your code, but it doesn't seem to work, would you have another solution?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024