Shopify themes, liquid, logos, and UX
Hi!
I've successfully centered the "Image with text" main text (as well as product prices and prices below), however, I can't find the way to center the Header and Button of the "Image with Text' section 😓
How can I achieve that? Many thanks, guys!
Solved! Go to the solution
This is an accepted solution.
Just past the following Code on the button of the component-image-with-text.css you can find it in the Assets Folder.
@media only screen and (max-width: 749px) {
.image-with-text__text {
margin: 0 auto !important;
text-align: center;
}
@media only screen and (max-width: 749px) {
.image-with-text__heading {
margin: 0 auto !important;
text-align: center;
}
@media only screen and (max-width: 749px) {
.image-with-text__content .button {
margin: 20px auto !important;
text-align: center;
}
@cammunication- can you please share this page link?
This is an accepted solution.
Just past the following Code on the button of the component-image-with-text.css you can find it in the Assets Folder.
@media only screen and (max-width: 749px) {
.image-with-text__text {
margin: 0 auto !important;
text-align: center;
}
@media only screen and (max-width: 749px) {
.image-with-text__heading {
margin: 0 auto !important;
text-align: center;
}
@media only screen and (max-width: 749px) {
.image-with-text__content .button {
margin: 20px auto !important;
text-align: center;
}
Thanks!! That did work. Much appreciated.
Does this still work? Because I did this but nothing changed on my site.
User | RANK |
---|---|
208 | |
176 | |
62 | |
51 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023