Тёмный

How to use custom images for Squarespace list section arrows 

InsideTheSquare - Squarespace Tutorials
Подписаться 25 тыс.
Просмотров 825
50% 1

Squarespace list sections are a great way to showcase content, but the default arrows might not always match your website's unique vibe. You can change the color using the design settings in Squarespace, and you can do even more with custom CSS!
This tutorial will teach you how to use custom CSS to change the arrow background shape, and arrow icon thickness and how to replace them with your own image.
You'll find timestamps to jump ahead and the custom codes below.
01:19 How to changing the background shape to a square by removing the border radius on desktop and mobile
/* carousel square */
.user-items-list-carousel__arrow-button{
border-radius:0!important
}
.user-items-list-carousel .mobile-arrow-icon-background-area{
border-radius:0!important
}
.user-items-list-carousel .mobile-arrow-button{
overflow:visible!important
}
/* banner square */
.user-items-list-banner-slideshow__arrow-button{
border-radius:0!important
}
.user-items-list-banner-slideshow .mobile-arrow-icon-background-area{
border-radius:0!important
}
.user-items-list-banner-slideshow .mobile-arrow-button{
overflow:visible!important
}
02:45 how to make a list section arrow icon thicker on desktop and mobile
/* arrow width & edge - banner*/
.user-items-list-banner-slideshow__arrow-icon-path{
stroke-width:5px;
stroke-linecap:square;
}
/* arrow width & edge - carousel*/
.user-items-list-carousel__arrow-icon-path{
stroke-width:5px;
stroke-linecap:square;
}
03:11 How to replace the arrow icons with your own image
/* custom arrow - one image flipped - carousel */
.user-items-list-carousel__arrow-icon-foreground, .user-items-list-carousel .mobile-arrow-icon-background-area{
opacity:0;
}
.user-items-list-carousel__arrow-icon-background, .user-items-list-carousel .mobile-arrow-button{
background-image:url(image-url-here)!important;
background-size: cover;
background-color:transparent!important
}
.user-items-list-carousel__arrow-button--right .user-items-list-carousel__arrow-icon-background, .user-items-list-carousel .mobile-arrow-button--right{
transform:scaleX(-1)!important
}
/* custom arrow - one image flipped - banner */
.user-items-list-banner-slideshow__arrow-icon-foreground, .user-items-list-banner-slideshow .mobile-arrow-icon-background-area{
opacity:0;
}
.user-items-list-banner-slideshow__arrow-icon-background, .user-items-list-banner-slideshow .mobile-arrow-button{
background-image:url(image-url-here);
background-size: cover;
background-color:transparent!important
}
.user-items-list-banner-slideshow__arrow-button--right .user-items-list-banner-slideshow__arrow-icon-background, .user-items-list-banner-slideshow .mobile-arrow-button--right{
transform:scaleX(-1)!important
}
Additional code: how to use a custom image for the left AND the right arrow:
/* custom arrow - both sides - carousel */
.user-items-list-carousel__arrow-icon-foreground, .user-items-list-carousel .mobile-arrow-icon-background-area{
opacity:0;
}
.user-items-list-carousel__arrow-button--left .user-items-list-carousel__arrow-icon-background, .user-items-list-carousel .mobile-arrow-button--left{
background-image:url(image-url-here)!important;
background-size: cover;
}
.user-items-list-carousel__arrow-button--right .user-items-list-carousel__arrow-icon-background, .user-items-list-carousel .mobile-arrow-button--right{
background-image:url(image-url-here)!important;
background-size: cover;
}
/* custom arrow - both sides -banner */
.user-items-list-banner-slideshow__arrow-icon-foreground, .user-items-list-banner-slideshow .mobile-arrow-icon-background-area{
opacity:0;
}
.user-items-list-banner-slideshow__arrow-button--left .user-items-list-banner-slideshow__arrow-icon-background, .user-items-list-banner-slideshow .mobile-arrow-button--left{
background-image:url(image-url-here);
background-size: cover;
}
.user-items-list-banner-slideshow__arrow-button--right .user-items-list-banner-slideshow__arrow-icon-background, .user-items-list-banner-slideshow .mobile-arrow-button--right{
background-image:url(image-url-here)!important;
background-size: cover;
}
- - -
Related Content:
🖼️ What is a list section: • Squarespace List Secti...
🆓 Learn CSS for FREE: insidethesquare.co/learn
☕️ If you found this free tutorial helpful, buy me a coffee to say thanks: buymeacoffee.com/insidethesquare
- - -
The term "Squarespace" is a trademark of Squarespace, Inc. This video was not approved or endorsed by Squarespace, Inc. I just really love their platform ♥ #customization #arrowicons #listsection #design #tutorial #howto #graphics #webdesign #UI #UX #userinterface #userexperience #squarespacelistsection #squarespacecss #squarespacedesign #creative #customize #icondesign #customizesquarespace #webdevelopment #CSS

Опубликовано:

 

29 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@DLCA13
@DLCA13 27 дней назад
You are great! Thank you very much for all content and tutorials you are posting!!
@InsideTheSquare
@InsideTheSquare 24 дня назад
You are so welcome - glad you like my work! 🥰
@Digital.Done.Right.
@Digital.Done.Right. 2 месяца назад
This is worth gold! Thanks for sharing this but also explaining what each piece of code does. Worth gold.
@InsideTheSquare
@InsideTheSquare 2 месяца назад
You are so welcome - glad it was helpful!
@zimmatron
@zimmatron 2 месяца назад
🔥 Another class tutorial thanks Becca.. very helpful. Would you be able to do a tutorial please on image mapping? i have a image which i would like to make clickable in certain areas - is this possible?
@InsideTheSquare
@InsideTheSquare 2 месяца назад
Great suggestion! That will require a function based code language like javacript or an external program API, but I'll keep an eye out for a plugin that can help.
@zimmatron
@zimmatron 2 месяца назад
@@InsideTheSquare Absolute legend, thank you if you can find a plugin / create a tutorial that would be absolutely amazing i have been searching high an low and i feel like i am hitting a brick wall haha .
@ninahans6397
@ninahans6397 2 месяца назад
This is incredible! Thank you. I'm having a trouble with figuring out what the image size should be. I've tried 3 and they all seem to zoom in and crop out a part of the image? Thank you!
@InsideTheSquare
@InsideTheSquare 2 месяца назад
Ideal a 1:1 ratio of 100px or less is ideal for this specific use. Try using background-size: cover instead of contain; it can help it fit the whole container no matter what size the image is.
@ninahans6397
@ninahans6397 2 месяца назад
@@InsideTheSquare Thank you!
Далее
Design Better Than 99% of UI Designers
14:52
Просмотров 186 тыс.
24 часа в самом маленьком отеле
21:19
На чем играют ПРО | Standoff 2
07:25
Просмотров 309 тыс.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
If I started UI/UX Design in 2024, I'd Do This!
8:22
Просмотров 210 тыс.
A New Web Design Trend Going Into 2024?
7:49
Просмотров 245 тыс.
CSS for Squarespace | The Essential Beginner Tutorial
12:57
Make Your Site Lightning Fast With Responsive Images
14:13
Easily Improve Your Web Design (With Example)
17:59
Просмотров 30 тыс.
24 часа в самом маленьком отеле
21:19