Тёмный

Change the logo on one page in Squarespace // Alternative logo for a single page on Squarespace 

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

Is the logo on your Squarespace website perfect for every page, except one?! Then I’ve got good news for you - this tutorial will teach you how to fix it with CSS! 🙌
If you use an image for your site logo, I’ll teach you how to upload an alternative, and how to use custom code to replace the logo on specific pages.
To grab the entire code with the STYLE brackets that I can't include in a youtube description, visit this blog post: insidethesquare.co/squarespac...
- - -
If this is your first time using CSS for Squarespace, awesome!! 🥳 I have a lot more to teach you. Check out my free class on basic CSS for Squarespace here: insidethesquare.co/learn
- - -
→ First, you’ll need to upload the image.
→ Click on Website, then Website Tools, then custom CSS.
→ Click on Custom Files & upload your alternative logo image file here.
→ Paste the code below into your Custom CSS.
→ Replace the placeholder text with the URL for your image. If it doesn't happen automatically, click on the image in your custom files dropdown.
→ Cut that text out of your CSS; you’ll need it, but not there!
→ Navigate to the page you want this alternative logo to be on.
→ If you’re using a business or commerce plan for your Squarespace website, click on the gear icon to access your Page Settings, and then click on Advanced.
→ If you’re using a personal plan, click on Edit to edit the page, and add a code block to the first page section. Pro tip: Make sure you are editing the page, and not working in the footer!
→ Update this code below to contain the URL for your image. To grab the entire code with the STYLE brackets that I can't include in a youtube description, visit this blog post: insidethesquare.co/squarespac...
.header-title{
background-image:url('image-url-here');
background-size: contain
}
.header-title img{
opacity:0
}
- - -
❤️ Like this tutorial? Buy me a coffee to say thanks! ☕ buymeacoffee.com/insidethesquare
- - -
📑 Get access to my collection of CSS codes for Squarespace at insidethesquare.co/css
- - -
🙋 Need some help? Visit ​insidethesquare.co/code-help​ to see my current support options.
- - -
💻 WEBSITE → insidethesquare.co
📧 NEWSLETTER → insidethesquare.co/email
🤳 INSTAGRAM → / thinkinsidethesquare
👍 FACEBOOK → / insidethesquare
📌 PINTEREST → / insidethesquare
- - -
💸 GET 10% OFF YOUR FIRST YEAR OF SQUARESPACE 💸 Use my affiliate link and code INSIDE10 - You'll save 10% off your first annual subscription & Squarespace will give me a little commission for sending you their way 😎 🔗 INSIDE10 → insidethesquare.co/inside10
- - -
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 ♥

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

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@monsieurm2904
@monsieurm2904 6 месяцев назад
You have win a new subscriber !
@InsideTheSquare
@InsideTheSquare 5 месяцев назад
Yay! Thank you & welcome aboard!
@dolphinswimmer99
@dolphinswimmer99 Месяц назад
Ditto!
@davypelletier
@davypelletier 6 месяцев назад
Hey that's cool.
@InsideTheSquare
@InsideTheSquare 5 месяцев назад
Thanks - I thought so too! ☺️
@jwo685
@jwo685 3 месяца назад
Thanks for the tips! I followed your steps but couldn't get the logo to center align on the page, any thoughts on how to achieve this?
@InsideTheSquare
@InsideTheSquare 3 месяца назад
Great question! Setting the margin to auto should make it centered on desktop; mobile is a little trickier with the menu. Start with this: margin:auto!important and then add any other margin-left or margin-right adjustments to move it a bit if needed, like this: margin: auto!important; margin-left: -5px!important;
@jwo685
@jwo685 3 месяца назад
@@InsideTheSquare Thank you! I am still trying to figure it out but thanks for your help anyway.
@the.visual.cue_
@the.visual.cue_ 23 дня назад
What is the code to change the mobile logo only for one page?
@InsideTheSquare
@InsideTheSquare 23 дня назад
It would be the same code to change it on your entire site (.header-display-mobile .header-title-logo) but how you install it makes all the difference. You can install the code in the page header code injection on the individual page, or in a code block on that page.
@monicacook7306
@monicacook7306 2 месяца назад
Is there a way to use SVG in this code?
@InsideTheSquare
@InsideTheSquare 2 месяца назад
Nope! SVG's aren't supported by Squarespace yet. You can add one to page content using a code block, but not replace an element that doesn't support that file type without having to overwrite it with some javascript. if you do have an SVG that you want to add to a page, this tutorial can help: insidethesquare.co/squarespace-tutorials/svg
@user-mj6vi1tu9h
@user-mj6vi1tu9h 6 месяцев назад
I've changed the page code but now it shows up as a repeat.... any help?
@InsideTheSquare
@InsideTheSquare 6 месяцев назад
Try adding background-repeat: no-repeat ot uploading a larger image that to fit inside the logo container 👍👍
@user-bn6wv9bj3l
@user-bn6wv9bj3l 5 месяцев назад
@@InsideTheSquare Thank you for this and all of your other tutorials! They are awesome. The same this is happening to me, but only on mobile. I tried adding the no-repeat line, but that made the logo disappear completely. It's already 2403 × 1254 so I don't really want to make it bigger. Any suggestions?
@leonardoscalise_AI
@leonardoscalise_AI 5 месяцев назад
@@user-bn6wv9bj3l Just had the same issue. Thanks god there's ChatGPT. Here is the code that solved the problem for me: .header-title { background-image: url('YOUR-IMAGE-HERE'); background-size: contain; background-repeat: no-repeat; background-position: center; /* Center the logo by default */ } .header-title img { opacity: 0; } /* Adjustments for mobile devices */ @media (max-width: 768px) { .header-title { background-position: left center; /* Aligns the logo to the left on mobile */ } }
@nicholasking1907
@nicholasking1907 3 месяца назад
I've found a fix for this! div.header-title-logo a { content :url("image url here") !important; max-height: 70px; }
@ginuwinecaramel
@ginuwinecaramel 4 месяца назад
Hi, I followed the steps in your tutorial and got a repeated image. I threw in background-repeat: no-repeat and the logo disappeared entirely. I tried using a larger image and I got the same result. Any thoughts on how to fix this?
@InsideTheSquare
@InsideTheSquare 4 месяца назад
Its hard to say without seeing your code or your image file, but it sounds like the image is too big. Try alternating between background:contain and background:cover and using !important
@MPdesignworks
@MPdesignworks 4 месяца назад
I'm having the same issue, were you able to find a fix for this?
@InsideTheSquare
@InsideTheSquare 4 месяца назад
@@MPdesignworks It's hard to say without seeing your code or your image file, but it's likey that image is not the right size. Try both background:contain and background:cover and using !important
@jenchow92342
@jenchow92342 4 месяца назад
​@@InsideTheSquare i'm having the same issue, I tried background:contain, cover and important. should important be applied to both of those?
@Marketing_with_megs
@Marketing_with_megs 29 дней назад
Got the same issue. When I switch from contain (which shows 3x the same image) to cover, it's a large image that doesn't fit and you only see the top of it. Did you manage to resolve this?
Далее
JPEG is Dying - And that's a bad thing
8:09
Просмотров 161 тыс.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Award Winning Animation With Only 20 Lines Of CSS?
6:59
Stop, Intel’s Already Dead!
13:47
Просмотров 706 тыс.
BEST Website Builder 2024 (My TOP Recommendation)
15:27
How to Create Entire Website with ChatGPT (No Coding)
15:15