Padding

Padding

mehwish-ali
Shopify Partner
36 0 6

hi, i am using dawn theme. i want to add space between image and heading (padding) only on mobile view please help 

 

https://4b1e5b-36.myshopify.com/?_ab=0&_fd=0&_sc=1

 

password: "niecum"

 

 

mehwishali_0-1714509565171.png

 

Replies 4 (4)

LuffyOnePiece
Shopify Partner
650 93 120

Hi @mehwish-ali ,

 

Add below css to base.css file.

 

@media screen and (max-width: 750px) {
h2.image-with-text__heading.inline-richtext.h1 {
    margin-top: 14px;
}
}

 

Please don't hesitate to reach out if you need further help optimizing or customizing your store. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
LuffyOnePiece

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184

PageFly-Amelia
Shopify Partner
626 165 238

Hello @mehwish-ali 

This is Amelia at PageFly - Shopify Advanced Page Builder app.

 

You can try the following steps I have provided to help you solve the problem you are facing:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file base.css or theme.css

Step 3: Add code

.image-with-text__grid {
   gap: 20px; /* You can change the value of 20px to the value you want */
}

 

Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

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


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


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

mehwish-ali
Shopify Partner
36 0 6

it is not working. i want to change on mobile view for all image with text sections

BSSCommerce-B2B
Shopify Partner
1972 564 567

Hi @mehwish-ali,

You can try the following steps:

 

Step 1: Go to Shopify Admin and click "Edit Code"

 

view (8).png

 

Step 2: Search for the file base.css

 

view (9).png

 

Step 3: Add the code below to the file base.css.

@media screen and (max-width: 750px) {
 image-with-text__heading.inline-richtext.h1 {
    margin-top: 20px;
 }
}

 

 

I hope this helps! If it works for you, please mark it as a solution. I am very happy about that. Have a great day!

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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