Jump to content

Trying to add a top and bottom wrapper/banner/bar

Recommended Posts

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

Hi there,

I'm desperately trying to add some form of "wrapper/banner/bar" on both the very top and very bottom of my website. I've currently managed to do so by hacking (in a rather bad way!) the announcement bar and footer modules. You can see this on the website and I've attached the image I'd like to use for reference.

The issue I have is twofold:

1) The top banner isn't the same as the bottom

2) When scaled down to mobile, it looks terrible and there's a hideous black line beneath the top banner.

Any help in coding something less clunky would be greatly appreciated.

Thanks in advance.

Cheers,

Ben

Asset 1@2x.png

Link to comment
  • Replies 2
  • Views 783
  • Created
  • Last Reply

Hi. Try adding this to Design > Custom CSS

header#header:before, footer.sections:after {
    content: "";
    background-image: url(https://static1.squarespace.com/static/5fd7b9876223c8317d1720c2/t/60621756b6a902732b617194/1617041238540/znth-bar.jpg);
    display: block;
    width: 100%;
    height: 20px;
    background-size: cover;
}

 

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

Archived

This topic is now archived and is closed to further replies.

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