Why is my contact us page image not aligning with the text block?

Hello, so for some reason the image with text block of the contact us page appears to be in a greater width than then title and contact form. I want it to be aligned in the same dimensions as the title and contact from, something like in the image below:
https://03df82.myshopify.com/pages/contact

1 Like

Hi @Andy106

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

@media only screen and (min-width: 749px){
div#shopify-section-template--20329280143699__ebf8af0e-490b-4f33-9e70-eb3b8c61107f .page-width {
    max-width: 100% !important;
    padding: 0px !important;
}
.image-with-text__content {
    padding: 6rem 5rem;
}
div#shopify-section-template--20329280143699__ebf8af0e-490b-4f33-9e70-eb3b8c61107f .media>img {
    object-fit: contain !important;
}
.image-with-text.image-with-text--no-overlap.isolate.collapse-corners.scroll-trigger.animate--slide-in {
    width: 72.6rem;
    margin: auto;
}
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Is there a way for me to put this code, or a similar code, so that instead to the base.css file I put it in the section custom css. as seen in the picture below: