Reply To: How to set background color for popup button?

Your Account / Forums / Easy FancyBox Pro / How to set background color for popup button? / Reply To: How to set background color for popup button?

October 7, 2014 at 10:48 am #3736

Hi Max,

To make a link look like a button, you can use CSS style rules. First give the link a specific class like “button-link”:


<a href="#contact_form_pop" class="button-link fancybox">Contact Us</a>

Then open your themes stylesheet in the theme editor or, if you are not using your own custom theme, install JetPack and activate the Custom CSS module. Then you’ll have a new page called Edit CSS in the Appearance admin section where you can add any style rules you like.

Now for the style rules themselves I can suggest a good tutorial like:
http://usabilitypost.com/2012/01/10/pressed-button-state-with-css3/

Hope that helps you create a nice looking button 🙂