WordPress.org

Ready to get started?Download WordPress

Forums

Rotating Posts
keeping the nav bar in the same place (2 posts)

  1. teapotteapot
    Member
    Posted 3 years ago #

    Hi, thanks for the plugin, it does exactly what I want and pretty painlessly.
    My only problem is that although I have changed the css so that the height of the box is set, the nav bar keeps moving up and down, so when it rotates to the next post the nav buttons might be higher or lower than before. site is http://www.lactivist.net - many thanks for any help, I've been fiddling around with the css but I just can't crack it.

  2. mahalie
    Member
    Posted 3 years ago #

    Looks like you figured it out. For other folks, add overflow:hidden and fixed height to div.rp_post_content, like so:

    div.rp_post_content {
      height:200px;
      overflow:hidden;
    }

    Any content exceeding height will now be cut off but the content area will always stay the same size so nav will not move around. Another way would be to to make the nav bar position:absolute but that requires tweaking of several components and is for the more advanced CSS user.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic