Carousel arrows decrease padding/size?

Solved

Carousel arrows decrease padding/size?

emilyaugstudios
Pathfinder
122 1 58

Hi community! On my product page I have a 'complementary products' carousel. I decreased the font size for the header in this section but the arrows now look really large compared, plus they overhang to the right of the products too. Could anyone help me figure out the best way to decrease the arrow size and how to make them in line with the product image below?

 

URL (Symmetry theme) – https://pantee.co.uk/?_ab=0&_fd=0&_sc=1&preview_theme_id=144118972631

 

Current Look (see carousel arrows) –

Screenshot 2024-09-12 at 10.30.16.png

 

What I am trying to achieve –

Screenshot 2024-09-12 at 10.35.30.png

Accepted Solution (1)

Tech_Coding
Shopify Partner
326 87 78

This is an accepted solution.

Hello @emilyaugstudios 

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--18253913161943__main button.slider-nav__btn.has-ltr-icon[name="prev"] {
     position: absolute;
     right: 19px !important;
     top: 0;
  }
  #shopify-section-template--18253913161943__main button.slider-nav__btn.has-ltr-icon[name="next"] {
      display: inline-block;
      position: absolute;
      right: 1px !important;
     top: 0;
  }
  #shopify-section-template--18253913161943__main button.slider-nav__btn.has-ltr-icon[name="prev"] svg, button.slider-nav__btn.has-ltr-icon[name="next"] svg {
   height: 17px !important;
   width: 17px !important;
   }
}
</style>

Tech_Coding_0-1726135071678.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 2 (2)

Tech_Coding
Shopify Partner
326 87 78

This is an accepted solution.

Hello @emilyaugstudios 

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--18253913161943__main button.slider-nav__btn.has-ltr-icon[name="prev"] {
     position: absolute;
     right: 19px !important;
     top: 0;
  }
  #shopify-section-template--18253913161943__main button.slider-nav__btn.has-ltr-icon[name="next"] {
      display: inline-block;
      position: absolute;
      right: 1px !important;
     top: 0;
  }
  #shopify-section-template--18253913161943__main button.slider-nav__btn.has-ltr-icon[name="prev"] svg, button.slider-nav__btn.has-ltr-icon[name="next"] svg {
   height: 17px !important;
   width: 17px !important;
   }
}
</style>

Tech_Coding_0-1726135071678.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.

Rahul_dhiman
Shopify Partner
563 113 110

HEllo @emilyaugstudios 

Go to online store ----> themes ----> actions ----> edit code ----> assets ---->main.css
add this code at the end of the file.

button.slider-nav__btn.has-ltr-icon[name="prev"] {
display: inline-block;
position: relative;
right: 22px !important;
}

button.slider-nav__btn.has-ltr-icon[name="next"] {
display: inline-block;
position: absolute;
right: -5px !important;
}
.no-wrap.slider-nav .icon {
width: 17px !important;
height: 31px !important;
}

result
7.png

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167