How do I center the image in image with text dawn theme
1 Like
Hi @edgyboi16yo
Would you mind to share your Store URL website? with password if its protected. Thanks!
Oh, not the admin. The preview it will do.
Would this suffice @Made4uo-Ribe
1 Like
Thank you for the information. Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
h2.image-with-text__heading.inline-richtext.h1 {
align-self: center;
}
#shopify-section-template--20773893996824__4b55747e-9cb5-4ca8-8c10-f905811fe6f3 p {
text-align: center !important;
}
- And Save.
- Result:
I hoep it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
The image would still not go into the middle of the border
Hi @edgyboi16yo ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file component-image-with-text.css
Step 3: Paste the below code at the bottom of the file → Save
#shopify-section-template--20773893996824__4b55747e-9cb5-4ca8-8c10-f905811fe6f3 img{
width:unset !important;
height:unset !important;
}
.image-with-text__media{border-radius:40px !important}
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly