Changing size of a policy title

Changing size of a policy title

cedelgado
Tourist
11 0 2

Hello Id like to center all text and make the titles the same size. Thank you! My websiteSharedScreenshot.jpg

Replies 4 (4)

PageFly-Noah
Shopify Partner
1317 233 281

This is Noah from PageFly - Shopify Page Builder App

 

Hi @cedelgado  Please add code here to change font-size:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
.shopify-policy__container h1 {
    font-size: 35px !important;
}
.shopify-policy__body  h2:first-child{
      font-size: 24px !important;

}
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

niraj_patel
Shopify Partner
2391 516 515

Hello @cedelgado 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
 .shopify-policy__container h1 {
    font-weight: 800;
 }
 .shopify-policy__body h2 {
    font-size: 20px !important;
    text-align: center;
 }
  .shopify-policy__body h3 {
    font-size: 20px !important;
    text-align: center;
  }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Dan-From-Ryviu
Shopify Partner
11360 2225 2399

Hi @cedelgado 
Please add this code to theme.liquid file, after <head> in Online Store > Themes > Edit code 

<style>
.shopify-policy__container h3 {
text-align: center;
}
.shopify-policy__container h3,
.shopify-policy__container h1 {
font-size: 24px !important;
}
</style>

- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

ZestardTech
Shopify Partner
6096 1091 1465

Hello There,

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

.shopify-policy__container h1 {
font-size: 25px!important;
}

 

ZestardTech_0-1718254018224.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing