Solved

How to change button placement. I'm using debut theme

mekristinern
New Member
18 0 0
IMG_20240202_215444.png

 i tried multiple css codes but nothing works. I would like to transfer the shop now button to the lower right

Accepted Solution (1)
ThePrimeWeb
Shopify Partner
1077 282 218

This is an accepted solution.

Hey @mekristinern,

 

Please check if this works for you 😊

 

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

 

<style>
.hero__inner a.btn.hero__btn {
    position: absolute !important;
    bottom: 30px !important;
    right: 30px !important;
}
</style>

 

 

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1706885279900.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com

View solution in original post

Replies 4 (4)

ThePrimeWeb
Shopify Partner
1077 282 218

Hey @mekristinern,

 

Would you mind providing the link or preview link to the store?

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com
mekristinern
New Member
18 0 0
ThePrimeWeb
Shopify Partner
1077 282 218

This is an accepted solution.

Hey @mekristinern,

 

Please check if this works for you 😊

 

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

 

<style>
.hero__inner a.btn.hero__btn {
    position: absolute !important;
    bottom: 30px !important;
    right: 30px !important;
}
</style>

 

 

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1706885279900.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com
mekristinern
New Member
18 0 0

Finally got it right! Thank you for your help