WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Opera Browser doesn't display previous_posts_link and next_posts_link (3 posts)

  1. ixkeys
    Member
    Posted 7 years ago #

    In all WordPress-Weblogs in the net, which use the default theme, Opera doesn't display the previous_posts_link and the next_posts_link at the end of the page (once you scrolled down to the end of the page, Opera displays nothing, once you load new without scrolling, Opera displays the link, but the link isn't active).

    It's not a problem with the template-tags. It is a problem with the CSS. This ist the code in the default theme (index.php and archiv.php):

    <div class="navigation">
    <div class="alignleft">
    <?php next_posts_link('« Previous Entries') ?>
    </div>
    <div class="alignright">
    <?php previous_posts_link('Next Entries »') ?>
    </div>
    </div>

    If you put an additional paragraph in the navigation-div, Opera will display. For example:

    <div class="navigation">
    <div class="alignleft">
    <?php next_posts_link('« Previous Entries') ?>
    </div>
    <div class="alignright">
    <?php previous_posts_link('Next Entries »') ?>
    </div>

    <p>-</p>
    <!-- an empty paragraph <p> </p> doesn't work -->
    </div>

    This doesn't look very fine, because the minus ist displayed between the links or (if only one link appears) in the left or right of the link.

    Therefor I used the following Code for my weblog:

    <div class="navigation">
    <?php next_posts_link('«« Previous Posts') ?>
    &n-b-s-p;&-n-b-s-p;&n-b-s-p;&n-b-s-p;
    <!--leave the minus away. They are inserted, because without, the code wouldn't be displayed in the support forum-->    
    <?php previous_posts_link('Next Posts »»') ?>
    </div>

    I know, this isn't strict CSS-based design, but it was the only idea I head do tell my Opera to display the links.

    Who knows a better solution?
    I suggest, the default theme should be modified, because all Opera-users can't navigate wordpress-weblogs correctly.

    (Tested with: Opera 9.00, build 8502, Windows XP)

  2. Chris_K
    Member
    Posted 7 years ago #

    I clicked your "Opera" tag and found this thread.
    http://wordpress.org/support/topic/85934?replies=7

    Has an alternate/non-visual solution.

  3. ixkeys
    Member
    Posted 7 years ago #

    Thanks for the hint.

    I've just tried three versions for the .navigation style definition in style.css and all fixed the problem:

    margin-top:30px;
    margin-bottom:30px;

    or

    margin-top:30px;
    margin-bottom:60px;
    padding:1px;

    or

    margin:30px 0 0 0;

Topic Closed

This topic has been closed to new replies.

About this Topic