Home › Forums › CSS › Apply Background Color only on text › Re: Apply Background Color only on text
December 15, 2011 at 2:01 am
#92792
Participant
I did a little more digging and fixing, and I’m left with a final section, the text widgets. I use a lot of them, but I couldn’t get them to bend.
Initially, I used the following
h2 + #text-1, h2 + #text-2, h2 + #text-3, h2 + #text-4, h2 + #text-5, h2 + #text-6, h2 + #text-7, h2 + #text-8, h2 + #text-9, h2 + #text-10, h2 + #text-11, h2 + #text-12, h3 + #text-1, h3 + #text-2, h3 + #text-3, h3 + #text-4, h3 + #text-5, h3 + #text-6, h3 + #text-7, h3 + #text-8, h3 + #text-9, h3 + #text-10, h3 + #text-11, h3 + #text-12 {
clear: left;
}
Didn’t work, then I tried this
h2 + textwidget, h1 + textwidget, h3 + textwidget {
clear: left;
}
Didn’t work either. Here is a sample text widget content