CRE Posted February 8, 2021 Share Posted February 8, 2021 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; } Link to comment
tuanphan Posted February 9, 2021 Share Posted February 9, 2021 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
CRE Posted February 10, 2021 Author Share Posted February 10, 2021 Thank you for your answer! Adding Code Block to Footer doesn't work, because the button is only displayed in the footer then. For Code Injection Footer my client needs a business plan... Any other suggestions? Link to comment
CRE Posted February 10, 2021 Author Share Posted February 10, 2021 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
CRE Posted February 11, 2021 Author Share Posted February 11, 2021 Just fixed it with adding a normal button in Footer and used following code: #block-yui_3_17_2_1_1613033633979_18605 { position: fixed; top: 8%; right: 3%; z-index: 99999; } Thank you Tuanphan!!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.