HI, I would I stylize the Calendly “Book now” text pop up on my homepage to look like an enfold styled button? Right now the text is kinda plane….
Hi joandjaxx,
On the Book Now, you can add this:
class=”avia-button avia-size-large avia-color-purple”
Here’s the code:
<a href="" onclick="Calendly.initPopupWidget({url: 'https://calendly.com/joandjaxx?hide_landing_page_details=1&hide_gdpr_banner=1'});return false;" class="avia-button avia-size-large avia-color-purple">Book Now</a>
Hope it helps.
Best regards,
Nikko
Thank you! How would I make the button a hex color and xlarge?
Hi joandjaxx,
To make it extra large, replace avia-size-large with avia-size-x-large
For color, replace avia-color-purple with my-custom-color (or name it however you like)
Then go to Enfold > General Styling > Quick CSS:
#top .avia-button.my-custom-color {
background-color: #333;
color: #fff;
}
Just adjust the colors as you see fit (color is for text color).
Hope this helps.
Best regards,
Nikko
Thank you. I went ahead and added the code and it works. A few things – There is a white line on the bottom of my button now and there is no hover color change.
Hi joandjaxx,
Try to add border: none; to the last code I gave:
#top .avia-button.my-custom-color {
background-color: #e39a59;
color: #fff;
border: none;
}
Hope it helps.
Best regards,
Nikko
Thanks and how do I make the button have a hover?
Hi joandjaxx,
You can add a hover to it, by adding this CSS code (just adjust the colors):
#top .avia-button.my-custom-color:hover {
background-color: blue;
color: #fff;
}
Best regards,
Nikko