How do I increase the padding on the top of a slideshow text box for mobile view

Solved

How do I increase the padding on the top of a slideshow text box for mobile view

lukafernada
Excursionist
131 1 49

I'd like to increase the padding in the space indicated below: 

IMG_0167.jpeg

 

the url is cheffings.net

Accepted Solution (1)

Kyle_Poieo-Dev
Shopify Partner
54 6 9

This is an accepted solution.

To add some margin between your media and the text below follow these steps:

1.
Access your theme’s code:

  • In your Shopify admin, go to Online Store > Themes.
  • Find the Dawn theme and click Customize.
  • In the top left corner, click on the Theme settings dropdown, then select Edit code.
  • Open the theme.liquid file located under the Layout section.

2. Insert custom CSS in the <head> tag:

  • In the theme.liquid file, look for the <head> section.
  • Add your custom scrollbar CSS inside the <style> tags.

 

<style>
  .slideshow__media {
    margin-bottom: 10px;
  }
</style>

 


Let me know if you need additional help!

-

Need a Shopify developer? Send me an Email


- CEO & Lead Developer at Poieo Dev
- Shopify Design Changes | Shopify Custom Coding | Custom Modifications | SEO | E-Commerce Management
Poieo Dev

View solution in original post

Replies 3 (3)

Kyle_Poieo-Dev
Shopify Partner
54 6 9

Could you kindly post the URL so I can look at the CSS on the site?

-

Need a Shopify developer? Send me an Email


- CEO & Lead Developer at Poieo Dev
- Shopify Design Changes | Shopify Custom Coding | Custom Modifications | SEO | E-Commerce Management
Poieo Dev
lukafernada
Excursionist
131 1 49

my fault: cheffings.net

Kyle_Poieo-Dev
Shopify Partner
54 6 9

This is an accepted solution.

To add some margin between your media and the text below follow these steps:

1.
Access your theme’s code:

  • In your Shopify admin, go to Online Store > Themes.
  • Find the Dawn theme and click Customize.
  • In the top left corner, click on the Theme settings dropdown, then select Edit code.
  • Open the theme.liquid file located under the Layout section.

2. Insert custom CSS in the <head> tag:

  • In the theme.liquid file, look for the <head> section.
  • Add your custom scrollbar CSS inside the <style> tags.

 

<style>
  .slideshow__media {
    margin-bottom: 10px;
  }
</style>

 


Let me know if you need additional help!

-

Need a Shopify developer? Send me an Email


- CEO & Lead Developer at Poieo Dev
- Shopify Design Changes | Shopify Custom Coding | Custom Modifications | SEO | E-Commerce Management
Poieo Dev