Have your say in Community Polls: What was/is your greatest motivation to start your own business?

how can i move the position of the button in image banner?

how can i move the position of the button in image banner?

ronii
Excursionist
13 0 5

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

 

Capture.PNG

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9076 2168 2677

Hi @ronii 

I can help but please remove this code first that you add in the base.css. 

Made4uoRibe_0-1713805392285.png

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:

Made4uoRibe_1-1713805469359.png

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
ronii
Excursionist
13 0 5

Okay, since you've deleted what I said and added your code, but it doesn't seem to work, would you have another solution?