WordPress.org

Ready to get started?Download WordPress

Forums

SubHeading
[resolved] Change Size and Color (5 posts)

  1. rauchmelder
    Member
    Posted 1 year ago #

    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/

  2. Steve
    Member
    Plugin Author

    Posted 1 year ago #

    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 :)

  3. iamsenita
    Member
    Posted 1 year ago #

    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

  4. JimEn
    Member
    Posted 1 year ago #

    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.

  5. JimEn
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic