WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: SubHeading] Change Size and Color

[Resolved] [Plugin: SubHeading] Change Size and Color

  • rauchmelder

    @rauchmelder

    Hello,
    first Congrats for your fine Plugin. It helps a lot to give my Blog a professional Outfit.

    I use your manuell Integration in my Theme and so far it runs perfect, but i dont know how I can change the Size and Color of the Subheading?

    You write:

    How can I stop subheadings appearing in places I don’t want them to?

    Using the “Automatically display subheadings before post content.” setting will prepend any subheading value before outputting any post content.

    The output can be customised slightly using the “Before” and “After” fields, however if you prefer more customisation and control it is probably best to disable this setting and edit the output within your theme templates.

    To display subheadings, place ‘<?php if (function_exists(‘the_subheading’)) { the_subheading(‘<p>’, ‘</p>’); } ?>’ in your template files where you want the subheading to appear.

    Please, write a little bit more for customations of Size and Color, when we use the manuell Solution. This will help all Users, not me alone.

    Thx a lot
    and regards

    rauchmelder

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Steve

    @stvwhtly

    Hi,

    If you are opting for the manual integration as you are, the size and colour options can be modified using CSS.

    Using this snippet to output the subheading in your theme:

    <?php if (function_exists('the_subheading')) { the_subheading('<p class="subheading">', '</p>'); } ?>

    Can be styled in the CSS file using something like:

    p.subheading {
        font-size: 16px;
        font-weight: bold;
    }

    This should point you in the right direction 🙂

    Hello!

    I’m not a developer. Yet, I’ve tried several times to change the appearance and location of the subheading using the functions.php section of my theme (PureLine) — all to no avail.

    The subheading currently shows in a large bold font. I would like it to be 24 pt, normal weight, and italicized.

    It appears under my social media sharing icons, rather than directly beneath the heading.

    How do I fix both of these issues?

    Thanks,
    Senita

    Hi- I’m not a webmaster and rarely mess with code, like above.

    Is there a way to simply bold and enlarge subheads?

    Using the regular WP keyboard options would be excellent.

    Many thanks.

    Hi- I’m not a webmaster and rarely mess with code, like above.

    Is there a way to simply bold and enlarge subheads?

    Using the regular WP keyboard options would be excellent.

    Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: SubHeading] Change Size and Color’ is closed to new replies.