Jump to content

Adding sticky text underneath site header

Recommended Posts

Site URL: https://www.befranksolutions.com/

Hello,

Hopefully someone can assist me with this request - 

I want to make a fixed text section at the top of the page under the header bar. I want it to be locked so that when you scroll down the page looking at the services, there's text that states - "Please review Terms & Conditions for revisions and delivery of service." I also want it to be yellow bkgnd with white text (same color scheme as site header) and centered on the page.

https://saxophone-clover-nd2r.squarespace.com/config/pages

pw: bfs

 

TIA!

Link to comment
  • Replies 3
  • Views 192
  • Created
  • Last Reply

Top Posters In This Topic

On 12/6/2022 at 12:49 AM, bafranklin00 said:

Yes, include some text in the red box that would stay fixed at the top as you scroll through the page.

Add to Design > Custom CSS

header#header:after {
    content: "Please review Terms & Conditions for revisions and delivery of service.";
    background-color: #004aad;
    width: 100%;
    display: block;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

 

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!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.