Jump to content

Adding static element to a page

Recommended Posts

What you want is a fixed element, not a static one. It is done by using position:fixed attribute. Here is an example:

<div id="element">


#element {

Try pasting the above code in a code block and the element will be fixed at the top-left corner even when you scroll. You can use top, left, right, and bottom properties to fix the permanent position of the element.





Sharing virtual tactics for an abstract world
Blogger @ humaneer.org

Link to comment

If you want make an image static, you can add an image block on footer, then we will give the code to achieve this.

or if you want text only, use @aravasanj code

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
  • 1 year later...

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.