• Resolved vtinq

    (@vtinq)


    I have a CSS/PHP question: how do I override one instance of the <p> tag but leave it alone for the default uses?

    I’m creating a tag template. I have a #description with a font-size of 14px. The text inside the #description uses the <p></p> block.

    The problem is that the #description font-size is overridden by the <p> style’s 19px. If I override the <p> style, giving its font-size as 14px, then all uses of <p> (such as article text) are changed to 14px.

    What’s the solution? (I’m probably overlooking something simple.)

The topic ‘Override but not the default ?’ is closed to new replies.