Jump to content

How to style the header on the index page with custom CSS in 7.0

Recommended Posts

I'm trying to add bottom padding or bottom margin to the header of my  "WORK" index page and Gallery Pages because the header is hiding the top of the images, especially when the announcement bar is on. Is it possible to style the Announcement Bar as well.

I've included attachments of the header margins with and without the announcement bar.

I would like to match the padding of my "STUDIO" page.

Website: https://ivesgrafik.com/

Thank you.

Screen Shot 2023-10-23 at 3.01.21 AM.png

Screen Shot 2023-10-23 at 3.01.43 AM.png

Screen Shot 2023-10-23 at 3.02.11 AM.png

Screen Shot 2023-10-23 at 2.59.05 AM.png

Screen Shot 2023-10-23 at 2.59.45 AM.png

Screen Shot 2023-10-23 at 3.00.46 AM.png

Link to comment
  • Replies 6
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

This is current Custom CSS I'm using on my site to control the header padding, unfortunately, it has a universal effect on all the pages, and the padding is much tighter on the Index Page. I'd like uniformity between the Index Page and my "STUDIO" page.

section#container {

padding: 0px !important;

margin-top: 100px !important;

}

 

 

Link to comment

Thanks for your assistance with this; however, this still isn't working. I've replaced your code above with:

section#container {
    padding: 0px !important;
    margin-top: 100px !important;
}

I am trying to match the top header margin on the "WORK" Index Page to the same margin as the "STUDIO" Page. I hope that makes sense.

Thank you,

Brad

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.