logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$9
Get rid of gap

Can someone tell me how to get rid of the gap underneath the menu bar? I want the content to line up right underneath of it.

http://www.planningtomorrow.com/


Is there a better tool than Firebug?
Thanks!

This question has been answered.

ohlivia13 | 07/16/12 at 12:15pm Edit


(6) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    07/16/12
    12:21pm
    Michael Caputo says:

    in your css:

    #page-container{margin-top:0;}

    • 07/16/12 12:23pm

      ohlivia13 says:

      That didn't work.

    • 07/16/12 12:24pm

      Michael Caputo says:

      Try:

      .pageCont{top:-34px;}

  • avatar
    Last edited:
    07/16/12
    12:24pm
    Hai Bui says:

    It's because of this style:

    .pageCont {
    margin-top: 75px !important;
    }


    try reducing the margin to 40px

    • 07/16/12 12:28pm

      Hai Bui says:

      I'm not sure what file inserting css rule but it's in the html code, if you don't know either, put this in any css file:

      #page-container {
      margin-top: 40px !important;
      }

    • 07/16/12 12:28pm

      ohlivia13 says:

      That didn't work either!

    • 07/16/12 12:30pm

      Hai Bui says:

      Where do you insert that style?

  • avatar
    Last edited:
    07/16/12
    12:26pm
    Martin Pham says:

    find on theme or plugin


    <style type="text/css" scoped="scoped">
    .pageCont { margin-top: 75px !important;}
    </style>

    Change to

    <style type="text/css" scoped="scoped">
    .pageCont { margin-top: 41px !important;}
    </style>

    • 07/16/12 12:30pm

      Martin Pham says:

      OR
      Open style.css insert into


      body .pageCont { margin-top: 41px;}

  • avatar
    Last edited:
    07/16/12
    12:27pm
    sabby says:

    Hi
    Use this

    #content-container
    {

    padding:0;
    }

    if still this doesn't work then use this

    #content-container
    {

    padding:0px !important;
    }

    • 07/16/12 12:29pm

      sabby says:

      #content-container
      {

      padding:0;
      margin:0;
      }

      if still this doesn't work then use this

      #content-container
      {

      padding:0px !important;
      margin:0px !important;
      }

  • avatar
    Last edited:
    07/16/12
    12:29pm
    Jatin Soni says:

    Find below code in your style.css

    .pageCont{
    margin-top: 75px !important;
    }


    Than change margin-top value whatever you want.

    If that doesn't work than do following things

    Okay than do one thing

    Open your template file where you will find below div

    <div class="pageCont" id="page-container">


    First find in header.php if not than you may have to go through template files like single.php, page.php etc.

    Than remove class="pageCont" so code will be as below

    <div id="page-container">


    Now if you want to assign any gap than create new class in your style.css and assign to that div and set margin whatever you want.

    Because

    • 07/16/12 12:33pm

      ohlivia13 says:

      When I changed this in the Custom CSS box, it wouldn't work.

      I found it in one of the theme files and changed it there, and now we are all good!

      Thanks so much to all of you for your troubleshooting!

  • avatar
    Last edited:
    07/16/12
    12:35pm
    Daniel Yoen says:

    you can try to add .pageCont {margin-top: 41px !important;} at the bottom/last line of style.css file

    hope this help

This question has expired.



Hai Bui had additional discourse to offer.

Gabriel Reguly, Francisco Javier Carazo Gil, ohlivia13 voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.