Jump to content

Move Carousel Section Arrows on Mobile to Sides

Recommended Posts

  • Anniiey1 changed the title to Move Carousel Section Arrows on Mobile to Sides
  • Replies 7
  • Views 783
  • Created
  • Last Reply

Top Posters In This Topic

On 1/31/2023 at 12:43 AM, Anniiey1 said:

 

https://www.annie-yang.com/misc-projects

 

This is the link to the page!

Add to Design > Custom CSS

@media screen and (max-width:767px) {
body#collection-63d2ae161cc44a2aa6881b2c {
.desktop-arrows.user-items-list-carousel__arrow-wrapper {
    display: flex !important;
}
.mobile-arrows {
    display: none !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!)

Link to comment
10 hours ago, tuanphan said:

Add to Design > Custom CSS

@media screen and (max-width:767px) {
body#collection-63d2ae161cc44a2aa6881b2c {
.desktop-arrows.user-items-list-carousel__arrow-wrapper {
    display: flex !important;
}
.mobile-arrows {
    display: none !important;
}
}}

 

I added this, but now the arrows are overlapping either side of the images instead of being on the border. Can we fix this somehow? Thank you!

Link to comment
On 2/3/2023 at 6:02 AM, Anniiey1 said:

I added this, but now the arrows are overlapping either side of the images instead of being on the border. Can we fix this somehow? Thank you!

Use this new code

@media screen and (max-width:767px) {
body#collection-63d2ae161cc44a2aa6881b2c {
.desktop-arrows.user-items-list-carousel__arrow-wrapper {
    display: flex !important;
}
.mobile-arrows {
    display: none !important;
}
button.user-items-list-carousel__arrow-button.user-items-list-carousel__arrow-button--left {
    position: relative;
    left: -15px;
}
button.user-items-list-carousel__arrow-button.user-items-list-carousel__arrow-button--right {
    position: relative;
    right: -15px;
}
}}

 

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!)

Link to comment
On 2/13/2023 at 2:46 AM, Anniiey1 said:

Thank you, it still didn't solve the problem. I just removed them instead. Wish there were alternate arrows that didn't take up so much space. 

The code is fine to me. Can you add & keep the code? We can check easier

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!)

Link to comment

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.