Twenty Eleven Theme Extensions
html in text widget (6 posts)

  1. PhilEsq
    Posted 4 years ago #

    html in the text widget doesn't work. I tried using <h2> and <h2><b> but there was no change in the text. It can be seen at: http://www.suffolkmotorcycleinjurylawyer.com

    By the way, this is a great plug-in and I gave it five stars.


  2. Michael
    Part-Time Forum Moderator
    Posted 4 years ago #

    the html tag appears in the browser - you possibly need to add a style to style.css to format the h2 tag to your liking.
    something like: #secondary h2 { font-size: 17px; }

    please don't edit Twenty Eleven directly.
    all cutomisations will be lost with the next upgrade of your wordpress version.
    consider to create a child theme http://codex.wordpress.org/Child_Themes and work with that.

  3. PhilEsq
    Posted 4 years ago #

    Thanks. I'll stick with just using Twenty Eleven Theme Extensions

    It would be great if Twenty Eleven Theme Extensions could add the ability to edit the font in a text widget.

  4. pictureitsolved
    Posted 3 years ago #


    You can put any legal HTML in a text widget. Thus, you can put CSS code in a text widget by defining an inline style.

    For example, you could emphasize a few words like this:
    This is <span style="font-size:x-large; font-weight:bold; color:#f03;">big bold red</span> text.


    (Or, as someone already suggested, using class or ID or standard HTML tags you could reference some defined styles that are already in your CSS, or that you create and add to the custom CSS for Twenty Eleven Theme Extension.)

  5. PhilEsq
    Posted 3 years ago #

    Thank you Karen!

  6. pictureitsolved
    Posted 3 years ago #

    You're welcome! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twenty Eleven Theme Extensions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic