Re: change size of text for rich text on mobile

Solved

change size of text for rich text on mobile

ads18922
Explorer
101 0 34

I want to change the size of my rich text (caption) on mobile but keep it the same on desktop:

Screenshot 2024-11-05 at 21.24.19.png

I want to change it to a size a bit smaller, like this:

IMG_1894.jpg

I am using dawn theme

This is my store domain: qmpryp-cx.myshopify.com

and this is my password: chasha
Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9615 2290 2851

This is an accepted solution.

Hi @ads18922 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 749px){
.section-template--23797630435651__rich_text_FX4q4B-padding p.rich-text__caption.subtitle {
    font-size: 12px;
}
.rich-text__wrapper {
    padding: 0;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1730842722913.png

    Im not sure how small you like it to be but you can adjust the size. 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9615 2290 2851

This is an accepted solution.

Hi @ads18922 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 749px){
.section-template--23797630435651__rich_text_FX4q4B-padding p.rich-text__caption.subtitle {
    font-size: 12px;
}
.rich-text__wrapper {
    padding: 0;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1730842722913.png

    Im not sure how small you like it to be but you can adjust the size. 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

Made4uo-Ribe
Shopify Partner
9615 2290 2851

Glad to know it worked! Would you mind hitting 'like' as well? 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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.