How can I center "Image with text" in Dawn Theme?

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 :downcast_face_with_sweat:

How can I achieve that? Many thanks, guys!

@cammunication - can you please share this page link?

1 Like

Yes! It’s www.coachdiiaz.com (passw: chifre)–
Camilo Soto Alvarado .-

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;
}
2 Likes

Thanks!! That did work. Much appreciated.

Does this still work? Because I did this but nothing changed on my site.