WordPress.org

Ready to get started?Download WordPress

Forums

Spun
Reduce Top Margin in Homepage (3 posts)

  1. walt86
    Member
    Posted 5 months ago #

    Hi! I'd like to reduce the margin on the top of the body (or header?), but I don't know exactly how to do it. I tried some changes on the CSS but nothing did it.

    My site: http://www.pianoensanjusto.com.ar

    I'd just like to reduce the space above the logo (Piano en San Justo), to place it nearer the Navbar.

    Any help will be appreciated! :D

  2. Yogesh Verma Delhi
    Member
    Posted 4 days ago #

    I have to same problem, in my website http://www.techminda.com

    ,my top margin is big,,i want to reduce my top margin to 0...
    i have change so many settings but not successful.

    some body please help us.

  3. CMSHelpLive
    Member
    Posted 4 days ago #

    Hey walt86, answer to your question is:
    Add the below code in your stylesheet:
    body > .container{
    margin-top:0px!important;
    }

    @Yogesh, add the below code in your stylesheet:
    body{
    margin-top:0px!important;
    }

    this will reduce some space. And please do check your header.php file, there is a
    tag used after <body> tag. Delete that also.

Reply

You must log in to post.

About this Theme

About this Topic