Reduce the padding on my password screen

Reduce the padding on my password screen

marycrichton123
Explorer
78 0 19

Hi, 

 

https://mishmash.world/password

 

I would like to remove the padding around the text, so that on a desktop it is one line of text and then on mobile, reduce the text size and make it two lines of text 

 

Screenshot 2024-11-08 at 12.24.40.pngIMG_5690.PNG

 

 

Replies 3 (3)

Moeed
Shopify Partner
7521 2032 2498

Hey @marycrichton123 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find password.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.rich-text__blocks.center {
    max-width: 100% !important;
}
@media screen and (max-width: 767px) {
h2.rich-text__heading.rte.inline-richtext.hxxl {
    font-size: 40px !important;
}
}
</style>

RESULT:

Moeed_0-1731069139037.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


marycrichton123
Explorer
78 0 19

How do I make it so I can increase the font size on mobile

 

Also thank you so much for the last code! 

Moeed
Shopify Partner
7521 2032 2498

Just simply change the value of 40px to anything you require and it will only change the font size for mobile.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications