Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi,
I would I make this image with text box and rich text box the full width to this about page??
For some reason the image box and the text box always leaning toward left and does not go beyond the area.
Can you give me custom css for this specific page? I applied @media (max-width: 749px) custom css to both image with text, rich text section.
please see the link and attached image below.
https://yq4bwg-7h.myshopify.com/pages/contact
Thank you.
Solved! Go to the solution
This is an accepted solution.
Please update the code
{% if template == 'page.contact' %}
<style>
.image-with-text__text-item.grid__item, .rich-text__blocks {
width: 100%;
max-width: 100% !important;
}
</style>
{% endif %}
Hello @gmuink ,
Storefront is password protected, please share it.
Regards
Guleria
Hello Guleria,
it’s gimpai
thank you.
Edit theme.liquid, search for </head>
Now just before to it add this code
{% if template == 'page.contact' %}
<style>
.image-with-text__text-item.grid__item, .rich-text__blocks {
width: 100%;
max-width: 100% !important;
}
</syle>
{% endif %}
Regards
Guleria
Hey Guleria,
This worked perfectly but it did make the whole page darker..?
Any idea on this please?
This is the screenshot.
This is an accepted solution.
Please update the code
{% if template == 'page.contact' %}
<style>
.image-with-text__text-item.grid__item, .rich-text__blocks {
width: 100%;
max-width: 100% !important;
}
</style>
{% endif %}
You are the best!