WordPress.org

Ready to get started?Download WordPress

Forums

How to add CSS to Text Widget box? (2 posts)

  1. Gemini23
    Member
    Posted 11 months ago #

    Is it possible to add css styling to a text box in the WordPress widgets?

    and if so how... can it be added to the text box or does it have to be added to the WordPress Style sheet?

  2. vtxyzzy
    Member
    Posted 11 months ago #

    This will work in a text widget:

    <style type="text/css">
    .foobar { color: green; }
    </style>
    <p class='foobar'>some text here</p>

Reply

You must log in to post.

About this Topic