WordPress.org

Forums

SubHeading
Styling the subheading (4 posts)

  1. lmilesw
    Member
    Posted 1 year ago #

    This is more of a feature request. I would like to have a class to style the subheading.

    http://wordpress.org/extend/plugins/subheading/

  2. Shaun Scovil
    Member
    Posted 1 year ago #

    In the settings, you can assign a Before and After value for subheadings.

    From the plugin FAQ:

    What are the Before and After inputs used for?
    If you are using the option to automatically wrap the subheading content, you can include custom content before and after the subheading is displayed.

    For example, setting Before to <h3> and after to </h3> will wrap the subheading in a h3 tag.

    For your case, you could add <h3 class="subheading"> or something along those lines.

  3. lmilesw
    Member
    Posted 1 year ago #

    Oops... Should have seen that. I tried putting some style info inline in the before field and a div with a class and they didn't stay after a save so I guess only single tags are allowed?

  4. Shaun Scovil
    Member
    Posted 1 year ago #

    Inline styling is not allowed by default, but you can add class names and/or an id to your <h3> tags. Inline styles are evil, btw. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SubHeading
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.