Jump to content

Hiding sidebar 7.0

Go to solution Solved by Lesum,

Recommended Posts

Posted (edited)

Hello,

I was able to successful hide my sidebar on one page of my site (Wells 7.0) but after adding another set of code, it stopped working... Can anyone help me troubleshoot here? I'm at a loss (The second set of code also doesn't work).

Thank you!

Here is the code:

#collection-66617a3bd66c3246668fd5c2 {
  #headerWrapper {
    display: none;
  }
}

<style>
body {
    background-image: url(https://images.squarespace-cdn.com/content/v1/55118900e4b05b9bd93e8e97/ed157f6e-d264-4c52-8019-b36bac70aff0/Harvest+background.png?format=2500w) !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
</style>

Edited by Regarding
Link to comment
  • Replies 2
  • Views 252
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

@Regarding If you've added the code under Custom CSS, then remove <style> </style> from your code.

The entire code you've added should look like this:

#collection-66617a3bd66c3246668fd5c2 {
  #headerWrapper {
    display: none;
  }
}

body {
    background-image: url('https://images.squarespace-cdn.com/content/v1/55118900e4b05b9bd93e8e97/ed157f6e-d264-4c52-8019-b36bac70aff0/Harvest+background.png?format=2500w') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.