Rich Text

Solved

Rich Text

BLola
Excursionist
39 0 8

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!

 

Screenshot (2).jpg

Accepted Solutions (2)
Made4uo-Ribe
Shopify Partner
10036 2385 3012

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;
}
}

 

  • And Save. 
  • result:
  •  
  • Made4uoRibe_0-1721434554842.png

     

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Made4uo-Ribe
Shopify Partner
10036 2385 3012

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;
    }
}



If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 9 (9)

Made4uo-Ribe
Shopify Partner
10036 2385 3012

Hi @BLola 

You texts probably got constraints with the container width. What is your website?

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
BLola
Excursionist
39 0 8
Made4uo-Ribe
Shopify Partner
10036 2385 3012

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;
}
}

 

  • And Save. 
  • result:
  •  
  • Made4uoRibe_0-1721434554842.png

     

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
BLola
Excursionist
39 0 8

It worked! Thank you!

 

I have one more question. Do you know how to make our main menu items a little bit bigger?

Screenshot (6).png

Made4uo-Ribe
Shopify Partner
10036 2385 3012

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;
    }
}



If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
BLola
Excursionist
39 0 8

Thank you for your help!

Made4uo-Ribe
Shopify Partner
10036 2385 3012

Your welcome

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
BLola
Excursionist
39 0 8

Hi. Is there a way to change the font just for this saying? So it won't affect anything else but this saying

Screenshot (7).png

Made4uo-Ribe
Shopify Partner
10036 2385 3012

What font style do you like to change? The sizes, boldness, or etc. 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.