WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to add spaces between nav bars and articles (12 posts)

  1. schuttp
    Member
    Posted 5 years ago #

    Hi all:

    I'm tweaking my new installation of wordpress and having some problems trying to figure out how to add spaces between the nav bar and the articles...right now it's wrapping around them:

    http://prescott-area-foreclosures.com/wordpress/?p=1

    See above and thanks in advance!

    :) PS

  2. schuttp
    Member
    Posted 5 years ago #

    BUMP

  3. schuttp
    Member
    Posted 5 years ago #

    It's amazing to me that wordpress has so many followers since it's so hard to use...and support is so challenging to get...

  4. macsoft3
    Member
    Posted 5 years ago #

    I would define what you call the navigation bar at first before posting a negative comment about the popular blog software package. I would also open and edit style.css inside a theme folder or run search, depending on what you mean by the navigation bar.

  5. schuttp
    Member
    Posted 5 years ago #

    Please see the link below for what I am referring to...

    http://prescott-area-foreclosures.com/wordpress/?p=1

    I've read everything I can about the style.css and its still not clear to me how to add a line break between the previous and next article "nav bar" and the article itself

    thanks for responding though!

    :) PS

  6. schuttp
    Member
    Posted 5 years ago #

    Perhaps a pointer...is it in the style.css that would control the space between the article forward and back nav bar...and what part?

    Thanks...

  7. schuttp
    Member
    Posted 5 years ago #

    seems to me there would be a visual editor so you wouldn't have to be a codie to add a blank line...

  8. figaro
    Member
    Posted 5 years ago #

    I'm not really clear what you are trying to do...is this what you want...space between the previous and next post links:

    http://heraldleader.org/blog/?p=50

  9. schuttp
    Member
    Posted 5 years ago #

    Exacly figaro!!! Thanks for responding! What's the trick.

    :) PS

  10. figaro
    Member
    Posted 5 years ago #

    Open the single.php file in the default theme and find the following code near the top:

    <div class="navigation">
    <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
    <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
    </div>

    Jut add a couple of br tags at the end of the previous post, like this:

    <div class="navigation">
    <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div><br /><br />
    <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
    </div>
  11. schuttp
    Member
    Posted 5 years ago #

    You are da man, figaro! If you send me your paypal address, I'd be happy to send you a donation for your assistance!!!!

    :) PS

  12. figaro
    Member
    Posted 5 years ago #

    @schittp

    Thanks, but no need...it was a simple thing. Glad you got it working the way you want.

Topic Closed

This topic has been closed to new replies.

About this Topic