Тёмный

Best Code Snippets for Every Squarespace Website // Top 5 Squarespace CSS Codes 

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

In this video, you’ll learn five custom code snippets my friend (and brand strategist) Phil Pallen uses on every Squarespace website he creates for his clients.
First, he'll show you how to use the root function to set colors universally on your Squarespace website, giving colors names instead of relying on HEX codes, and matching Squarespace's site styles to make writing code even easier. Then, you'll learn how to apply a smooth scroll effect to your anchor links, create a thicker horizontal line, set custom P3 font, and hide your footer on mobile only.
We are covering a LOT in this tutorial, so use the timestamps below if you want to jump ahead:
00:42 - Give colors names (instead of relying on HEX codes) and match those colors to Squarespace's site styles
Replace "XXXXXX" below with your HEX codes and paste into your CSS:
:root {
--lightest: #XXXXXX !important;
--light: #XXXXXX !important;
--accent: #XXXXXX !important;
--dark: #XXXXXX !important;
--darkest: #XXXXXX !important;
}
01:42 - Add a smooth scroll effect to your anchor links by pasting this snippet into your CSS:
html {
scroll-behavior: smooth;
}
Don't forget that your anchor links require a code block with ID, hyperlinked with a hashtag. Instructions in this video: • How to Create Anchor L...
03:08 - Make a horizontal line thicker by adding this code snippet (and adjusting the thickness - this is set to 2 pixels high as shown in the example):
hr {height: 2px !important;}
For more help on this, check out this tutorial: • How To Change The Hori...
05:01 - Custom style your P3 text (beyond what site styles in Squarespace allows) with this code snippet and adjust accordingly:
.sqsrte-small{
letter-spacing: 0.2em !important;
text-transform: uppercase!important;
font-weight: 600;
line-height: 1.6em !important;}
06:02 - Hide footer on mobile with this code snippet:
@media only screen and (max-width: 768px) {
footer {
display: none !important;
}
}
-----------------------------------
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 ♥
-----------------------------------
× LIKE, COMMENT, AND SUBSCRIBE ×
-----------------------------------
x PHIL'S CHANNEL → / philpallen
× PHIL’S INSTAGRAM → / philpallen
× PHIL’S WEBSITE → philpallen.co
x BECCA'S CHANNEL → / insidethesquare
× BECCA’S INSTAGRAM → / thinkinsidethesquare
× BECCA’S WEBSITE → insidethesquare.co
-----------------------------------

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

 

31 мар 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@InsideTheSquare
@InsideTheSquare 11 месяцев назад
⚠️ IMPORTANT CSS UPDATE ⚠️ When logging into Squarespace, if you see the word "Website" at the top of your menu, you are using their new internal navigation! To edit the CSS of your Squarespace website, click on the word "Website" and scroll to the bottom of the list of pages. Here you'll see "Website Tools" - click on that option and select "Custom CSS" to open the CSS panel and add your code here. For more information, watch this tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-euJqHXs_L1M.html
@kristy.fountain
@kristy.fountain Год назад
A switch, how fun! Thank you so much. These are such easy little tricks for important aspects of my design process! So helpful.
@ilse5293
@ilse5293 Год назад
Excellent! Thanks much for these snippets!
@philpallen
@philpallen Год назад
You're VERY welcome!
@fezenstein
@fezenstein Месяц назад
i love this guy.. more from him.
@InsideTheSquare
@InsideTheSquare Месяц назад
Isn't Phil the best?! I'll definitely pitch another collab in the not too distant future ;)
@chelseasalyers5763
@chelseasalyers5763 11 месяцев назад
I like the anchor tip- I've been looking for it! Thank you :) . I also plan to use the 3rd Paragraph special style tip! Keep em' coming please!
@InsideTheSquare
@InsideTheSquare 11 месяцев назад
Awesome - so glad these ideas will work for your site! 🙌 I’ll keep brainstorm more to share 👍
@dvanwinkle3061
@dvanwinkle3061 Год назад
Too fun you two!
@philpallen
@philpallen Год назад
We DEFINITELY entertained ourselves with this collab! 🤪
@judithangerman
@judithangerman Месяц назад
Thank you!
@InsideTheSquare
@InsideTheSquare Месяц назад
You're welcome! :)
@TonyWebslinger
@TonyWebslinger 10 месяцев назад
Nice vid! One thing I haven’t seen is creating a custom testimonial section. I’d be nice to see a video about this 🔥
@InsideTheSquare
@InsideTheSquare 10 месяцев назад
I've got you covered 😎 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-lBtXkdrwvyw.html
@StrangeMinee
@StrangeMinee Год назад
Oh my goodness lol, Iove this swap😅.
@InsideTheSquare
@InsideTheSquare Год назад
Yay! So glad you love this. 😎
@dylansneed4974
@dylansneed4974 Год назад
I agree about the no-footer look on mobile, but curious if you put terms & conditions, privacy policy, and copyright info somewhere else?
@philpallen
@philpallen Год назад
Very good point! If I'm hiding the footer, I would definitely put those at the bottom of the mobile menu so someone can find them if they want them!
@araghib783
@araghib783 Год назад
Great snippets. Regarding custom CSS in SS and the Navigation menu, could you share custom code that will allow me to put Icons in front of the Main Navigation menu items, but does NOT carry those icons in the sub-folders of those main items? TY
@InsideTheSquare
@InsideTheSquare Год назад
Oooh I love this idea! I’ll definitely add this to my tutorial to-do list; stay tuned 😉
Далее
6 BEST Squarespace Plugins and Extensions for 2024
10:56
Who Can Break Most Walls? Ep.2 | Brawl Stars
00:26
Просмотров 976 тыс.
You Need to Kill Your To-Do List
5:25
Просмотров 902
CSS for Squarespace | The Essential Beginner Tutorial
12:57
13 Things To Remove From Your Website Immediately
12:33
Who Can Break Most Walls? Ep.2 | Brawl Stars
00:26
Просмотров 976 тыс.