Space before text and images

  • Candi

    #10301

    I have spent several days trying every thing posted about removing this space and nothing has worked. I have tried .content, , nggallery-css, .page — changing margins, and padding with no results.

    My site is http://www.condoforsaleinMazatlan

    On the welcome home page you can see the space above text, on the next 5 tabs you can see the space above the images. Any help would be appreciated.

    I would also like to change the photo titles to color #627c27, I did it in Firebug but when I copied it over, it did not work. I am new to Firebug so must have done something wrong. In addition, in Firebug I can remove the space above the images, yet when copied to css it does not work, in addition it does not help with the text pages like: Welcome Home, Events and Contact Us.

    On a post I made a year ago it had the fix but now that info is gone and has been replaced with the reply to use NKeditor or something. I tried that plug-in but it offered no way to change the space above the content.

    Candi

    #45866

    Like I said, any help would be appreciated…I am desperate.

    Mod

    Kenneth John Odle

    #45867
    Quote:
    On the welcome home page you can see the space above text, on the next 5 tabs you can see the space above the images.

    That text and images are being wrapped in an <h3> tag. Heading tags usually have a lot of margin above them.

    This should get rid of some of it:

    .entry-content h3:first-child {
    margin-top: 0;
    }

    and this should get rid of the rest of it:

    .post {
    padding-top: 0;
    }

    Quote:
    I would also like to change the photo titles to color #627c27

    Maybe:

    .ngg-imagebrowser h3 {
    text-align: center;
    color: #627c27;
    }

    Those work for me with Chrome inspector tools, but if you’re having difficulty and these don’t take, it possibly could be due to a plugin throwing in some weird CSS. Let us know how it goes.

    Candi

    #45868

    Thanks Kenneth for such a fast reply. It worked on all but the home page, and the events page. Not sure why it worked on the contact page and not the other two. Thank you, thank you, thank you…If you can find a quick fix for those 2 pages let me know.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.