WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. PhilEsq
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/twenty-eleven-theme-extensions/

  2. alchymyth
    Forum Moderator
    Posted 2 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; }

    btw:
    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
    Member
    Posted 2 years ago #

    Thanks. I'll stick with just using Twenty Eleven Theme Extensions
    http://wordpress.org/extend/plugins/search.php?q=Twenty+Eleven+Theme+Extensions&sort=

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

  4. pictureitsolved
    Member
    Posted 2 years ago #

    @PhilEsq

    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.

    HTH
    Karen

    (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
    Member
    Posted 2 years ago #

    Thank you Karen!

  6. pictureitsolved
    Member
    Posted 2 years ago #

    You're welcome! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic