Blog Entry Margin

Support Area Forums Agency Blog Entry Margin

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question:
  • Author
  • #28230
    Judy Gaudin

    Morning Bill,

    I am tweaking my last page….woo hoo!

    1) On the Blog page is it possible to reduce the margin space between post entries?

    2) Have an welcome/opening paragraph on very top of Blog page that doesn’t appear to be a post. (no date, author, etc)

    Thank you & enjoy your weekend!

    Bill Robbins

    Good Morning Judy,

    Congratulations on the progress you’ve made. Let’s tackle these questions for you.

    1) You can change the space between posts. Here’s how:

    1. Go to your theme options page and choose the Style tab.
    2. Scroll down to the Custom CSS box and add this:
      .post {
      	margin-bottom: 30px;
    3. Update your settings.

    The default space is 60px so that should make it smaller. Feel free to adjust that value more if you need to.

    2) This is one area that I personally feel WordPress is a bit week in. The page content from the blog page is ignored. The only items from that page that WordPress uses are the page title and URL slug. Everything else is excluded.

    The only way I’m aware of around that is to hard code the text into the theme. Here’s how to do that if you want to:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose index.php and locate this line:
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    3. Right above that add this:
      <div class="post clearfix">
      	<p>Your text goes here.</p>
    4. Save your changes.

    That should let you add introductory text above your main blog page.

    I hope you enjoy your weekend too 🙂


Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Blog Entry Margin’ is closed to new replies.