I have added a 'image with text' to my homepage and on the settings of it the positioning options are left or right.
I was wondering if it can be centred at all using a code in the theme HTML? I have tried to locate it in the coding but can't find the right section.
Can anyone help with this?
Solved! Go to the solution
Please share your website URL and password if any. I will check and provide a solution here.
Thanks!
HI, @louellaboutique It requires you to add custom CSS code to your section. Feel free to drop us a message with your Shopify domain for review, then we will post a solution as a reply for you.
Thank you so much for coming back to me.
my site is www.louellaboutique.co.uk
Its the image on the home page that says New In (uploaded as image with text) and I would like this to be centered. Do you think you have the code to do this?
The password for my site is gemmaclarke
Thanks in advance
This is an accepted solution.
I found the solution but you put the image so when we center it will look large. Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media only screen and (min-width: 990px){
.large-up--grid--table>.grid__item { display: contents !important; }
}
Hope this helps.
Thanks!
User | Count |
---|---|
546 | |
209 | |
125 | |
81 | |
41 |