WordPress.org

Forums

[resolved] Top of home page cutting off (5 posts)

  1. DiverseMedicine
    Member
    Posted 2 years ago #

    The top of my home page is cutting off. I think it started after I upgraded my buddypress but I am uncertain if that's the issue. I use a lot of plugins so do not know how to alter my code to correct it. here is my site. advice is welcomed! thanks.

    http://www.DiverseMedicine.org

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    not just the home page - other pages (possibly all pages) as well.

    check your stylesheets for any negative top margins...

    like this one from /wp-content/themes/buddyboss/_inc/css/default.css:

    body {
    	font-size: 12px;
    	line-height: 18px;
    	color: #666666;
    	position: relative;
    	padding-top: 0 !important; /* Remove the top padding space for the BuddyBar in this theme */
    	margin: -28px auto 0;
    	*margin: 0 auto; /* IE7 and below */
    }

    please contact the developer of your theme for support.

    http://codex.wordpress.org/Forum_Welcome#Commercial_Products

  3. DiverseMedicine
    Member
    Posted 2 years ago #

    hmmmm. i'm not very familiar with the coding at all. the funny thing is that once a user logs in, the problem is corrected.

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    once a user logs in, the problem is corrected.

    in this case, possibly the admin bar is overwriting the body margins, and pushing the site down.

    if you assume that the problem with the negative top margin is a theme problem, contact the developer.

  5. DiverseMedicine
    Member
    Posted 2 years ago #

    thanks. i upgraded to the latest version of my theme (buddyboss). working now.

Topic Closed

This topic has been closed to new replies.

About this Topic