NimeaAriana Posted September 10, 2022 Share Posted September 10, 2022 Site URL: https://www.nimeaariana.com Hello! I'm in the process of creating a floating button for my website, to redirect someone to email me to book an art or design consult. Essentially I have it produced now, finally! (Yay for me!) However, now I'm getting into "perfectionist mode" and I wonder if there's anyone that can help me figure the missing links to the code I need to sort out. On my Home Page's Advanced Section I have: <div id="book-artconsult"> <a href="mailto:hello@nimeaariana.com?subject=Book%20an%20Art%20+%20Design%20Consult"> Book an Art + Design Consult </a> </div> In my Custom CSS panel I have: #book-artconsult a { display: inline-block; background: black; color: white; font-size: 11px; font-weight: 600; text-transform: uppercase; font-family: futura; border-radius: 25px; padding: 15px 30px; z-index: 99999; position: fixed; top: 88%; right: 3%; } What I want to do is: 1. Stop seeing an underline when hovering over the button. 2. Change the Colour of the Background instead on Hover. 3. Remove the button when on clicking the menu bar on mobile browsing. Finally... Maybe this isn't technically a button and therefore I'd love some help figuring out a true button for this kind of application! Thank you! Nimea Link to comment
Solution Beyondspace Posted September 13, 2022 Solution Share Posted September 13, 2022 On 9/11/2022 at 3:52 AM, NimeaAriana said: Site URL: https://www.nimeaariana.com Hello! I'm in the process of creating a floating button for my website, to redirect someone to email me to book an art or design consult. Essentially I have it produced now, finally! (Yay for me!) However, now I'm getting into "perfectionist mode" and I wonder if there's anyone that can help me figure the missing links to the code I need to sort out. On my Home Page's Advanced Section I have: <div id="book-artconsult"> <a href="mailto:hello@nimeaariana.com?subject=Book%20an%20Art%20+%20Design%20Consult"> Book an Art + Design Consult </a> </div> In my Custom CSS panel I have: #book-artconsult a { display: inline-block; background: black; color: white; font-size: 11px; font-weight: 600; text-transform: uppercase; font-family: futura; border-radius: 25px; padding: 15px 30px; z-index: 99999; position: fixed; top: 88%; right: 3%; } What I want to do is: 1. Stop seeing an underline when hovering over the button. 2. Change the Colour of the Background instead on Hover. 3. Remove the button when on clicking the menu bar on mobile browsing. Finally... Maybe this isn't technically a button and therefore I'd love some help figuring out a true button for this kind of application! Thank you! Nimea Try adding to Home > Design > Custom Css #book-artconsult a:hover { text-decoration: none; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
NimeaAriana Posted September 14, 2022 Author Share Posted September 14, 2022 On 9/13/2022 at 11:10 AM, bangank36 said: Try adding to Home > Design > Custom Css #book-artconsult a:hover { text-decoration: none; } Thank you! That worked well. I wonder if you have any tips for how to change the colour of the button or even text on hover as well? Appreciate the help! Link to comment
tuanphan Posted September 17, 2022 Share Posted September 17, 2022 On 9/14/2022 at 10:49 PM, NimeaAriana said: Thank you! That worked well. I wonder if you have any tips for how to change the colour of the button or even text on hover as well? Appreciate the help! Use this CSS code div#book-artconsult a:hover { background-color: violet; color: black; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment