• 0
Sign in to follow this  
Followers 0

Call out button style and transparency values

Question

Posted · Report post

Hi, I am trying to darken or even change the default color on the Call out action button. I have the transparent theme, and I have added this code to the custom code via other forum answers, but no dice. Is there another way to override a theme's hold on the Call out button color and transparency, etc?

.section-callout .button {
	    background: -moz-linear-gradient(center top , #FFFFFF 0%, #000000 100%) repeat scroll 0 0 transparent;
	}
	

Thanks.

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

The attribute used in the CSS may only work with Firefox. If you're trying to create a gradient background image effect with transparency, I think it'd be easier to create the gradient image in an image editing program (Photoshop), upload it to the Media Library, and use CSS to apply it as the call out button background image (http://www.w3schools.com/cssref/pr_background-image.asp) and then use the opacity attribute to control its opacity (http://www.w3schools.com/css/css_image_transparency.asp).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0