Jump to content

CSS Button not clickable because of overlapping header

Recommended Posts

  • Replies 4
  • Views 2.9k
  • Created
  • Last Reply
20 hours ago, CRE said:

Site URL: https://www.gaestehaus-erika.at/home-english

Can u help me?

CSS-Button is not clickable because of the header...

Thank you!

#book-now {
    display: inline-block;
    background: ;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    position: fixed;
    top: 9%;
    right: 3%;
    z-index: 10000;
}

Try adding your Code Block to Footer, not Page Content & Try again.

If it doesn't work, add to Code Injection Footer

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

I send u the full code again... Maybe you have any idea!

Thank you very much!

This is the code-block (Page content):
<div id="book-now">
  <a href="/booking"> BOOK NOW </a>
</div>

CSS:
#book-now {
    display: inline-block;
    background: ;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    position: fixed;
    top: 8%;
    right: 3%;
    z-index: 10000;
}

#book-now a {
  background: ;
  border-radius: 300px;
  color: white;
  display: inline-block;
  border: 2px solid white;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: alegreya sans;
  padding: 15px 50px;
  z-index: 10000;
 
}

Link to comment

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.