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 |
---|---|
121 | |
96 | |
77 | |
69 | |
38 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022