WordPress.org

Forums

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

  1. Gemini23
    Member
    Posted 1 year 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 1 year ago #

    This will work in a text widget:

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

Topic Closed

This topic has been closed to new replies.

About this Topic