Тёмный

How to create a business info bar above the header in Squarespace (7.0 & 7.1) | Day 9 of 12DOC 

Beatriz Caraballo • Squarespace coding tutorials
Просмотров 1,7 тыс.
50% 1

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

 

23 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@merlevum
@merlevum 6 месяцев назад
Thank you for this! I've been trying to figure this out for several days now. It really helped.
@beatrizecaraballo
@beatrizecaraballo 6 месяцев назад
You're most welcome! I'm glad to know this helped 🙌
@Jessica-pf3kc
@Jessica-pf3kc 6 месяцев назад
I am working within a square space template, when I add the code it inserts under the navigation bar. Is there anything I can do to adjust it so it will sit above?
@beatrizecaraballo
@beatrizecaraballo 6 месяцев назад
I would need to see the site to check out what's happening since there maaaay be a CSS solution to it. However, depending on how things are set up, a script may be needed to move the new bar into the original Header to keep everything together. Feel free to send over a link to your site + the trial password if the site isn't live yet to hey@beatrizcaraballo.com so I can look into it and let you know what's possible!
@stephyang1
@stephyang1 4 месяца назад
How do I fix the business info bar at the header?
@beatrizecaraballo
@beatrizecaraballo 4 месяца назад
The easiest way to do it is by setting the header as a fixed element too, and setting the top offset just under the new bar. You can use this to do that and alter the top: 30px value as necessary: .business-bar-wrapper { position: fixed; top: 0; width: 100%; z-index: 9999; } #header { position: fixed; top: 30px; } However, depending on how you have things laid out and how you want them to work, another approach may be necessary. Feel free to reach out through beatrizcaraballo.com/contact if you need more support.
Далее
ТЕСЛА КИБЕРТРАК x WYLSACOM / РАЗГОН
1:40:47
I tried every website builder. This is the BEST
19:31
Просмотров 161 тыс.
I redesigned YOUR websites
20:44
Просмотров 56 тыс.