I’m trying to add separate properties to a text section on my website using the extra class name function.
I tried using the custom css fields of my theme and those of visual composer but both have no effect. I’m running the startuply theme by Vivaco on WordPress 4.3.1
This is the code I’m using
about1 {
background: rgb(0, 0, 0); /* fallback color */
background: rgba(0, 0, 0, 0.7);
}
This is what I want the text to look like – https://css-tricks.com/text-blocks-over-image/
Is there any other way I can do this?
Thanks.
You need to add a
.
before:And give this in HTML:
Without anything, it is for tags. Eg:
With a
.
, it is for classes:And with a
#
, it is forid
s:In HTML: