Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael

    (@alchymyth)

    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 https://codex.www.ads-software.com/Child_Themes and work with that.

    Thread Starter PhilEsq

    (@philesq)

    Thanks. I’ll stick with just using Twenty Eleven Theme Extensions
    https://www.ads-software.com/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.

    @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.)

    Thread Starter PhilEsq

    (@philesq)

    Thank you Karen!

    You’re welcome! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Twenty Eleven Theme Extensions] html in text widget’ is closed to new replies.