Centre buy now button on mobile

Solved
Booshy
Tourist
11 0 2

Hi

I hoped someone could help me, I am using the image with text section throughout my site. And on a mobile view I would like to align this to the centre. Can anyone advise please

The site is www.allthekids.co.uk password - folieb

Please see example below:

 

Thanks

3C1F6C08-09BE-4F48-9D8F-E994CE8F450B.png

Accepted Solution (1)

Accepted Solutions
dmwwebartisan
Shopify Partner
9824 2236 3076

This is an accepted solution.

@Booshy 

Add code Your assets/theme.min.css bottom of the file. 

@media only screen and (max-width: 749px) {
.template-page .btn { margin: 0 auto !important; display: table !important;}
}

Thanks!

 

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →

View solution in original post

Replies 2 (2)
dmwwebartisan
Shopify Partner
9824 2236 3076

This is an accepted solution.

@Booshy 

Add code Your assets/theme.min.css bottom of the file. 

@media only screen and (max-width: 749px) {
.template-page .btn { margin: 0 auto !important; display: table !important;}
}

Thanks!

 

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →

View solution in original post

Booshy
Tourist
11 0 2

Perfect, thank you for your help