Saturday, May 4, 2013

[Wordpress issuses] sharonshero on "How do I make the container semi-transparent in Twenty-Twelve?"


apply the following CSS:



.site {
background-color: rgba(255, 255, 255, 0.8);
}



Pay attention to the numbers in bold. The first three numbers are the RGB color for white (in other words, all three colors, Red, Green, and Blue, are set to maximum, which equals white).


The last number is the opacity, with 0 being fully transparent, and 1 being fully opaque. You can adjust the 0.8 up or down until you find a level that lets you show the background image through while still being legible.



.

forums.wordpress.com

No comments:

Post a Comment

Search

Other post

[Wordpress issuses] mcmurraysinsingapore on "removing linkedin to my blog"
mcmurraysinsingapore on "removing linkedin to my blog"
[Wordpress issuses] widodowirawan on "Transfer domain to other registrar was failed"
widodowirawan on "Transfer domain to other registrar was failed"
[Wordpress issuses] kardotim on "Export Subscribers from .com to .org"
kardotim on "Export Subscribers from .com to .org"