How to fix format on Rich Text on Home Page

How to fix format on Rich Text on Home Page

Allen6224
Excursionist
38 0 8

Hi,

I'm trying to figure out how to fix the format on the rich text on Home Page for Journey Perfect Sleep Chair.  See below for screenshot. website: www.liftchairheaven.com


This is the previous format i want where the font size is bigger, title was centered and text, title was bold

Allen6224_0-1726342120022.png

 

 

 

This is what it looks like now

Allen6224_1-1726342205249.png

 

Replies 5 (5)

Mustafi007
Shopify Partner
4 0 2

Hi there, this isn't that hard. all you have to do is click on the rich text section at the  backend, then you'll see the option set it back to centre rather than left and boom everything is set again! 

I hope this helps... have a nice day!

Made4uo-Ribe
Shopify Partner
8250 1978 2426

Hi @Allen6224 

Did you change some rich text section recently? It may affect the change. Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

section#shopify-section-template--21577350381865__rich_text_iX4T9b .rich-text__blocks h2.h1 {
    text-align: center;
    font-weight: 900 !important;
    font-size: 30px !important;
}
section#shopify-section-template--21577350381865__rich_text_iX4T9b .rich-text .rich-text__text.rte {
    text-align: center;
}

 

And Save. 

Result:

Made4uoRibe_0-1726345032329.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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Allen6224
Excursionist
38 0 8

I did make a change for rich text. It was for the collection description on my store. See below.

Is there a way to target the Journey Perfect Sleep Chair rich text separately?




Allen6224_0-1726445214009.png

 

Allen6224
Excursionist
38 0 8

I just found i can create code separately to target this section in shopify. I'm trying to figure out code to target this section.

Allen6224_0-1726446665777.png

 



BSS-TekLabs
Shopify Partner
2350 701 826

- Here is the solution for you @Allen6224 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
.rich-text__blocks>* {
    text-align: center !important;
}
.rich-text__blocks h2.h1 {
    font-size: 30px !important;
    font-weight: 800 !important;
}
.rich-text .rich-text__text {
    font-size: 24px !important;
    font-weight: 600 !important;
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1726370926038.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now