vw-notary Posted June 21, 2023 Posted June 21, 2023 I would like to add two lines of text to the top right of the site header to appear on every page of the website. SquareSpace support says this is not possible with their system other than through custom CSS. I wish to add a telephone number and email address to appear in white text. This is what appears at the moment: And this what I would like to appear: Preferably in bold white text (and if possible for the email address to be clickable). Is this possible? If it is I would be grateful for what code it is necessary to add (and whether it is added at Settings -> Developer tools -> Code Injection -> Header).
vw-notary Posted June 21, 2023 Author Posted June 21, 2023 I have now come across this post, which provides CSS to add text to the header. Adapting it: header:before { content:'999999999 \a email@address.com'; white-space: pre; color: #FFFFFF; font-weight: bold; text-align: right; display: block; position: absolute; right: 30px; top: 30px; } But although the text does appear in the header, it is overwritten/hidden almost immediately by the black/dark background of the rest of header. When going to a page the added text appears and then is hidden by the rest of the header. Is there a solution to this? Any help would be very gratefully received. (I know now too that the code added to Design -> Custom CSS.)
tuanphan Posted June 23, 2023 Posted June 23, 2023 What is your site url? We can check code 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!)
vw-notary Posted June 29, 2023 Author Posted June 29, 2023 Thank you for your response. The URL: coconut-tambourine-35ft.squarespace.com.
tuanphan Posted June 30, 2023 Posted June 30, 2023 16 hours ago, vw-notary said: Thank you for your response. The URL: coconut-tambourine-35ft.squarespace.com. Your site is private. Can you setup an access password? 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!)
vw-notary Posted June 30, 2023 Author Posted June 30, 2023 Thank you for your response. Password: vwnp-visibility The URL: coconut-tambourine-35ft.squarespace.com.
Solution tuanphan Posted July 1, 2023 Solution Posted July 1, 2023 20 hours ago, vw-notary said: Thank you for your response. Password: vwnp-visibility The URL: coconut-tambourine-35ft.squarespace.com. The easiest way is you add 2 Nav Items: Phone, Email, then we can give code to Move it to right of header + make them appear in 2 lines Or we can use code to add Phone, Email, but you need a Business Plan or higher. What do you think? 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!)
vw-notary Posted July 3, 2023 Author Posted July 3, 2023 Perhaps as 2 Nav Items - Could you let me know how it is possible to do this? As SquareSpace support indicated that what I would like to do is not possible other than through CSS code.
tuanphan Posted July 4, 2023 Posted July 4, 2023 On 7/3/2023 at 2:34 PM, vw-notary said: Perhaps as 2 Nav Items - Could you let me know how it is possible to do this? As SquareSpace support indicated that what I would like to do is not possible other than through CSS code. The site is expired. You can access this link to extend it for free first 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!)
vw-notary Posted July 4, 2023 Author Posted July 4, 2023 (edited) I have extended the trial. Edited July 4, 2023 by vw-notary
tuanphan Posted July 5, 2023 Posted July 5, 2023 This code with move last 2 items to Right of Header. Add to Design > Custom CSS nav.header-nav-list>div:nth-last-child(-n+2) { position: absolute; right: 0; top: -5px; } nav.header-nav-list>div:last-child { top: 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!)
ElyFire Posted September 6 Posted September 6 I would like to use the code to add the text "Est. 1932 - Ely, Iowa" to the area to the right of my logo where I put the black line in the photo. Can anyone help me with that code?
tuanphan Posted September 10 Posted September 10 On 9/7/2024 at 4:36 AM, ElyFire said: I would like to use the code to add the text "Est. 1932 - Ely, Iowa" to the area to the right of my logo where I put the black line in the photo. Can anyone help me with that code? You mean this position? Can you share site url? 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!)
ElyFire Posted September 10 Posted September 10 I'd like to like in the photo attached. https://lynx-grasshopper-n3b9.squarespace.com/ Elyfire52227
tuanphan Posted September 12 Posted September 12 On 9/11/2024 at 1:17 AM, ElyFire said: I'd like to like in the photo attached. https://lynx-grasshopper-n3b9.squarespace.com/ Elyfire52227 Use code to Website Tools > Custom CSS div.header-title a:after { content: "Est. 1932 - Ely, Iowa"; font-size: 18px; color: #000 } div.header-title a { display: flex; align-items: flex-end } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment