Shopify themes, liquid, logos, and UX
Hi. Does anyone know how to make this text line stretch the entire page? Every time I try to adjust the font size, it results in two lines instead of one. But we just want one line with larger font across the entire page. Many Thanks!
Solved! Go to the solution
This is an accepted solution.
Thank you for the information @BLola. NOTE: This only applies to the specific section mentioned. I have the section scrolled on mobile since your text is long
1. From you Admin page, go to Online Store > Themes
2. Select the theme you want to edit
3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
4. Then place the code below at the very bottom of the file.
section#shopify-section-template--14968785862736__rich_text .rich-text__blocks {
max-width: 100%
}
@media screen and (min-width: 750px) {
section#shopify-section-template--14968785862736__rich_text .rich-text__wrapper {
width: 100%;
}
}
section#shopify-section-template--14968785862736__rich_text .rich-text__blocks {
white-space: nowrap;
}
@media screen and (max-width: 749px) {
section#shopify-section-template--14968785862736__rich_text .rich-text__wrapper {
overflow: scroll;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @BLola
Yes, please add the follow codes. You can change the 17px to the desired size you want but I would suggest not to go beyond 17px. Also added the code to fix the overflow on your richtext
section#shopify-section-template--14968785862736__rich_text .rich-text__blocks.center {
overflow: auto;
}
@media screen and (min-width: 990px) {
.header:not(.drawer-menu).page-width {
padding-left: 0;
padding-right: 2rem;
}
a.header__heading-link {
padding: 0
}
.header span {
font-size: 17px;
}
.header .list-menu--inline {
flex-wrap: nowrap;
}
}
Hi @BLola
You texts probably got constraints with the container width. What is your website?
This is an accepted solution.
Thank you for the information @BLola. NOTE: This only applies to the specific section mentioned. I have the section scrolled on mobile since your text is long
1. From you Admin page, go to Online Store > Themes
2. Select the theme you want to edit
3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
4. Then place the code below at the very bottom of the file.
section#shopify-section-template--14968785862736__rich_text .rich-text__blocks {
max-width: 100%
}
@media screen and (min-width: 750px) {
section#shopify-section-template--14968785862736__rich_text .rich-text__wrapper {
width: 100%;
}
}
section#shopify-section-template--14968785862736__rich_text .rich-text__blocks {
white-space: nowrap;
}
@media screen and (max-width: 749px) {
section#shopify-section-template--14968785862736__rich_text .rich-text__wrapper {
overflow: scroll;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
It worked! Thank you!
I have one more question. Do you know how to make our main menu items a little bit bigger?
This is an accepted solution.
Hi @BLola
Yes, please add the follow codes. You can change the 17px to the desired size you want but I would suggest not to go beyond 17px. Also added the code to fix the overflow on your richtext
section#shopify-section-template--14968785862736__rich_text .rich-text__blocks.center {
overflow: auto;
}
@media screen and (min-width: 990px) {
.header:not(.drawer-menu).page-width {
padding-left: 0;
padding-right: 2rem;
}
a.header__heading-link {
padding: 0
}
.header span {
font-size: 17px;
}
.header .list-menu--inline {
flex-wrap: nowrap;
}
}
Thank you for your help!
Your welcome
Hi. Is there a way to change the font just for this saying? So it won't affect anything else but this saying
What font style do you like to change? The sizes, boldness, or etc.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025