make content box transparent
-
Hi i’m new to wordpress! how can I make the content box where all my posts appear transparent?
I don’t want it white as it doesn’t go with the style of website!!!
can’t find the code to alter anywhere and i’ve tried for ages in the CSS and can’t figure it out! hellpppppp
thanks!
The blog I need help with is: (visible only to logged in users)
-
-
Hey!
thanks for the replyi found that the div class is called article-wrapper…
but when i change the css it makes all of the content inside the wrapper transparent as well! i just want the white background transparent/not visible at all and the text to sit on top!
-
Hi, you can use the following which will turn the white background on posts transparent by setting an RGB color with an alpha transparency.
.article-wrapper { background: rgba(255, 255, 255, 0); }The first three numbers are the RGB values for white. The last number, 0, is the opacity/transparency. 0 is transparent and 1 is fully opaque. You can adjust the transparency by using values like 0.2, 0.5, etc.
-
Given your background is a medium grey, I would also suggest setting the post content text color to black from the darker grey it had originally so that readability is better for anyone with visual issues.
.hentry { color: #000; }
- The topic ‘make content box transparent’ is closed to new replies.