Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi.
    When you go to single.php ( admin panel >> editor >> single.php ), have you about this code?
    <span style="border-bottom: 1px solid #f51f38"><strong><?php the_date(); ?></strong></span>

    If it’s correct, you can add the padding into span.
    For example:

    <span style="padding-bottom:5px;border-bottom: 1px solid #f51f38;"><strong><?php the_date(); ?></strong></span>

    Thread Starter RebootRecords

    (@rebootrecords)

    Hi,

    Thanks for the response.

    When I added that code it moved the underline down by 5px but not the content

    You should use the CSS file…

    But, you can use:
    <div style="margin-bottom:10px;"><span style="border-bottom: 1px solid #f51f38;"><strong><?php the_date(); ?></strong></span></div>

    Thread Starter RebootRecords

    (@rebootrecords)

    Perfect!

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Padding around date posted’ is closed to new replies.