Hi i want below text take full width. on right side there is space
store url - https://e68fa2-2b.myshopify.com/pages/privacy-policy
A user seeks to make text span the full width of their Shopify store page, noting unused space on the right side.
Solutions Provided:
text-overlay.css file.max-w-text-large class with max-width: 100% !important for screens wider than 1024pxRoot Cause Identified:
<br> tags are forcing line breaks, preventing full-width displayUpdated Solution:
<br> tags within the text element using display: noneStatus:
Hi i want below text take full width. on right side there is space
store url - https://e68fa2-2b.myshopify.com/pages/privacy-policy
Hello @hem0903 ,
Follow these steps:
Go to Online Store → Theme → Edit code
Open your text-overlay.css file and paste the following code at the bottom:
@media (min-width: 1024px) {
.max-w-text-large {
max-width: 100% !important;
}
}
Regards
Guleria
Please paste this code in the end of text-overlay.css file.
@media (min-width: 1024px) {
.max-w-text-large {
max-width: 100% !important;
}
}
@media (min-width: 769px) {
.max-w-text-large {
max-width: 100% !important;
}
}
@media (min-width: 1024px) {
.max-w-text-large {
max-width: 100% !important;
}
}
not working
HI @hem0903
This issue is caused by the
tag, which forces the text to break into a new line. For example, in the section below where there is no
tag, the text spans the full width.
Please let me know where and how you added this code. Take a screenshot and share it with me so I can take a look.
I hope this helps
Best,
Daisy
Please use tis updated code.
@media (min-width: 767px) {
.max-w-text-large {
max-width: 100% !important;
}
.max-w-text-large br {
display: none;
}
}
Regards
Guleria
it’s solved on not?