vw-notary Posted June 21 Share Posted June 21 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). Link to comment
vw-notary Posted June 21 Author Share Posted June 21 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.) Link to comment
tuanphan Posted June 23 Share Posted June 23 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
vw-notary Posted June 29 Author Share Posted June 29 Thank you for your response. The URL: coconut-tambourine-35ft.squarespace.com. Link to comment
tuanphan Posted June 30 Share Posted June 30 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
vw-notary Posted June 30 Author Share Posted June 30 Thank you for your response. Password: vwnp-visibility The URL: coconut-tambourine-35ft.squarespace.com. Link to comment
Solution tuanphan Posted July 1 Solution Share Posted July 1 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
vw-notary Posted July 3 Author Share Posted July 3 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. Link to comment
tuanphan Posted July 4 Share Posted July 4 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
vw-notary Posted July 4 Author Share Posted July 4 (edited) I have extended the trial. Edited July 4 by vw-notary Link to comment
tuanphan Posted July 5 Share Posted July 5 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment