Featured product slider padding/margin on sides (Dawn)

Solved

Featured product slider padding/margin on sides (Dawn)

manbru
Pathfinder
112 0 31

Hello,

 

I would like to have the same padding/margin on the sides of all my product sliders on my homepage as the other sections, but don't know how to fix it.

 

Here's my store: https://r1vex.myshopify.com/ 

 

Skärmavbild 2024-09-08 kl. 09.13.42.png

Accepted Solution (1)
Tech_Coding
Shopify Partner
309 79 70

This is an accepted solution.

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-section-template--22029799784774__featured_collection_fj8tjj{
       margin-left: 70px !important;
       margin-right: 70px !important;
  }
</style>

Tech_Coding_0-1725781380951.png

 

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 4 (4)

BSSCommerce-HDL
Shopify Partner
2303 847 1061

Hi @manbru

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
div#collection-template--22029799784774__featured_collection_fj8tjj {
    padding-top: 17px !important;
}
</style>

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

manbru
Pathfinder
112 0 31

sorry for the inconvenience, but meant on the sides

BSSCommerce-HDL
Shopify Partner
2303 847 1061

Hi @manbru, Pls try with this code: 

 

<style>
@media only screen and (min-width: 750px) {
    #shopify-section-template--22029799784774__image_banner_Eq4DcL {
        max-width: 1800px !important;
        margin: 0 auto !important;
    }
}
</style>

 

 Here is result: 

BSSCommerceHDL_0-1725781253272.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

Tech_Coding
Shopify Partner
309 79 70

This is an accepted solution.

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-section-template--22029799784774__featured_collection_fj8tjj{
       margin-left: 70px !important;
       margin-right: 70px !important;
  }
</style>

Tech_Coding_0-1725781380951.png

 

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.