WordPress.org

Forums

Enhanced Text Widget
How to add css (2 posts)

  1. scott77
    Member
    Posted 2 years ago #

    How can I add css to each line of content in order to use different color text?

    For ex.

    Header: red text
    Line 1: blue text
    line 2: black text
    line 3: gray text

    Thanks In advance.

    Scott

    http://wordpress.org/extend/plugins/enhanced-text-widget/

    No bumping please - Also can you provide a link to your webpage you want this colour change?

  2. bostondv
    Member
    Plugin Author

    Posted 2 years ago #

    You can place any HTML or CSS content within the widget, you'll just need to lookup how to write that code.

    Quick example of what you could do:

    <style>.red { color: #f00; }</style>
    <p class="red">This text will be red</p>
    <p>This text will be normal</p>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Enhanced Text Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags