Shopify themes, liquid, logos, and UX
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"
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
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.
it is not working. i want to change on mobile view for all image with text sections
Hi @mehwish-ali,
You can try the following steps:
Step 1: Go to Shopify Admin and click "Edit Code"
Step 2: Search for the file base.css
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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025