My text length is too look I want full width for my store but i can’t seem to break the text
https://oriental-perfum.myshopify.com/pages/uber-uns
I am using the impact theme.
My text length is too look I want full width for my store but i can’t seem to break the text
https://oriental-perfum.myshopify.com/pages/uber-uns
I am using the impact theme.
Hey @Ked ,
To make the text full-width on your “Über uns” page, you can adjust the container or section settings in your Impact theme.
Follow these steps:
Go to Online Store > Themes >Edit Code.
Find the file for the page template, usually located in Section or Templates under page.liquid or a similar file for static pages.
Update the CSS :
1. If the page content is contained within a box, locate the CSS controlling the width. Search for a class like .page-content, .container, or similar.
2. In the CSS file (under Assets, often theme.css or styles.scss.liquid), you can adjust the width or set it to full width.
.page-content {
max-width: 100% !important;
width: 100%;
}
This will stretch the text to full width.
Custom Section Settings:
In some themes, you might be able to control the width directly from the Theme Customizer (under Customize Theme). Look for options related to page layout or section width.
After applying the change, make sure to test it on both desktop and mobile views to ensure it looks as expected.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regard,
Rajat Sharma
I want to set the width of the text. currently its too long so I’ll like to break the line but
doesn’t work
Hi @Ked
It’s password protected.
sasa
Wrap your text in a
tag like this:
Your long text goes here.
It continues here.
Add the following CSS to control the width and ensure line breaks are respected:
.text-break {
max-width: 600px; /* Set your desired width */
word-wrap: break-word; /* Break long words */
white-space: normal; /* Ensure normal wrapping */
}
Alternative Method:
If
is still not rendering properly, try using multiple
tags:
Your long text goes here.
It continues here.
Ensure you are in HTML editing mode when adding these elements. This should help manage the width and break lines effectively!
thanks. let me try that
Thanks for the info, try this one.
.m-richtext__description.rte.m-content-box__description.h6 {
width: 90%;
word-break: break-word;
}
.m-section-template--20476429533451__image_with_text_ApATf9 .m-image-with-text__content {
padding-right: 0px;
}
section#m-section-template--20476429533451__image_with_text_ApATf9 .m-content-box.m-richtext {
padding-left: 10px;
}
section#m-section-template--20476429533451__image_with_text_ApATf9 .m-richtext__description.rte {
width: 95%;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you.
Your appreciation fuels our motivation to assist you better!