Jump to content

How can I change carousel arrows?

Recommended Posts

Posted

Hello,

I would like to change the arrows used to navigate the carousel from '-->' to '<' '>'. The transparent background should change from round to square and could be a bit smaller. How can I make these changes?

I would greatly appreciate your assistance! 

https://www.lebendige-gaerten-hh.de/
Pword: lebendigegaertenhh2023

Bildschirmfoto 2023-12-12 um 14.33.20.png

  • Replies 3
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Add to Website Tools (under Not Linked) > Custom CSS

button[class*="_arrow-button"] svg, .mobile-arrows svg {
    display: none !important;
}
button[class*="_arrow-button--left"] div:before, .mobile-arrow-button--left:before  {
    content: "\e006";
    font-family: 'squarespace-ui-font';
    transform: rotate(270deg);
    display: block;
    font-size: 30px;
    line-height: 60px;
}
button[class*="_arrow-button--right"] div:before, .mobile-arrow-button--right:before {
    content: "\e006";
    font-family: 'squarespace-ui-font';
    transform: rotate(-270deg);
    display: block;
    font-size: 30px;
    line-height: 60px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
9 hours ago, Nomis said:

Thanks @tuanphan, that works for me. I would like to color the arrows in the carousel section white. Can you help me with that?

Change code to this

button[class*="_arrow-button"] svg, .mobile-arrows svg {
    display: none !important;
}
button[class*="_arrow-button--left"] div:before, .mobile-arrow-button--left:before  {
    content: "\e006";
    font-family: 'squarespace-ui-font';
    transform: rotate(270deg);
    display: block;
    font-size: 30px;
    line-height: 60px;
color: white !important;
}
button[class*="_arrow-button--right"] div:before, .mobile-arrow-button--right:before {
    content: "\e006";
    font-family: 'squarespace-ui-font';
    transform: rotate(-270deg);
    display: block;
    font-size: 30px;
    line-height: 60px;
color: white !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.