Jump to content

Adding sticky sidebar with anchor link navigation

Recommended Posts

  • 4 weeks later...

They added Markdown Block in post + this CSS (Home > Design > Custom CSS)

.markdown-block .sqs-block-content {
    background-color: #fafafa;
    border: 3px solid #191717;
    box-shadow: 5px 5px 0 #f09;
    box-sizing: border-box;
    padding: 20px;
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
}

 

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
  • 2 weeks later...

Is there a way to do this for a site's main navigation menu without a plugin?

The Version 7 template "Supply" is the closest I've come, but that template requires a sidebar on the right side of the site as well. None of the other V7 templates allow a sidebar with its own background color. "Wells" looks nice, but I wish I could change its color from White to something else.

I just need sidebar navigation on the left, and the rest of the site to fill the rest of the screen. Any help would be greatly appreciated!

Edited by ebhutch
Link to comment
17 hours ago, ebhutch said:

Is there a way to do this for a site's main navigation menu without a plugin?

The Version 7 template "Supply" is the closest I've come, but that template requires a sidebar on the right side of the site as well. None of the other V7 templates allow a sidebar with its own background color. "Wells" looks nice, but I wish I could change its color from White to something else.

I just need sidebar navigation on the left, and the rest of the site to fill the rest of the screen. Any help would be greatly appreciated!

If you share site url, we can give the code to change color

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
1 hour ago, tuanphan said:

Add to Home > Design > Custom CSS


div#topNav {
    background: #ff0;
}

 

Thanks so much. Is it possible to make the entire column a different color? The Supply template does this and looks great, but Supply also requires a huge sidebar on the right side of the screen.

Screen Shot 2020-08-19 at 08.41.33.png

Screen Shot 2020-08-19 at 08.44.32.png

Link to comment
  • 1 month later...
On 8/3/2020 at 8:48 AM, tuanphan said:

They added Markdown Block in post + this CSS (Home > Design > Custom CSS)


.markdown-block .sqs-block-content {
    background-color: #fafafa;
    border: 3px solid #191717;
    box-shadow: 5px 5px 0 #f09;
    box-sizing: border-box;
    padding: 20px;
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
}

 

I want to apply this to a text block to create kind of a sidebar, but it's not working?

Please help! Here is the link, password is: pending

Thank you!! 

Link to comment
  • 3 months later...
On 1/23/2021 at 5:34 AM, tea2204 said:

@tuanphan is there anyway you can help me add a sidebar navigation to a site I'm working on too? I've been trying to figure it out for hours, thanks!

 

Hi. You can also use Sidebar Plugin.

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
  • 5 weeks later...
  • 2 weeks later...

Hi there, 

I'd also like to add a sticky sidebar with anchor link navigation to one of the pages on my site, such as the one on the following link: https://thirtyeightvisuals.com/blog/free-squarespace-plugins-meet-ghost#mgfsp-anchor-08

 

tuanphan, I saw your post to add the code below to my custom CSS and I have added it; I know how to insert a markdown block but I don't know how to make an anchor link navigation in it.  Could you tell how?  The page I want to insert the sticky sidebar with anchor link navigation is this: https://www.evelynkm.com/projects/website-redesign-sr4ms Thank you!

On 8/3/2020 at 5:48 AM, tuanphan said:

hey added Markdown Block in post + this CSS (Home > Design > Custom CSS)

 

Link to comment
  • 2 weeks later...
On 3/9/2021 at 12:53 PM, eekayem said:

Hi there, 

I'd also like to add a sticky sidebar with anchor link navigation to one of the pages on my site, such as the one on the following link: https://thirtyeightvisuals.com/blog/free-squarespace-plugins-meet-ghost#mgfsp-anchor-08

 

tuanphan, I saw your post to add the code below to my custom CSS and I have added it; I know how to insert a markdown block but I don't know how to make an anchor link navigation in it.  Could you tell how?  The page I want to insert the sticky sidebar with anchor link navigation is this: https://www.evelynkm.com/projects/website-redesign-sr4ms Thank you!

 

Hi. Have you solved this yet?

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
  • 7 months 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.