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.

$5
Set minimum page height

I'm using Steve Lambert's WPFolio theme and I need help setting a minimum page height for all of the posts/pages. I don't know much about code but I'm pretty good at following directions.

My website is www.wyattburns.com

Thanks!

This question has been answered.

moclov555 | 07/24/12 at 12:49pm Edit


(12) 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/24/12
    12:54pm
    Dbranes says:

    you could try

    #content{min-height:1000px;}


    or whatever pixel height you need

    • 07/24/12 12:55pm

      Dbranes says:

      in your style.css file

    • 07/24/12 1:02pm

      Dbranes says:

      The file is

      http://wyattburns.com/wp-content/themes/wpfolio/style.css

      and replace

      #content{
      font-weight: normal;
      text-align: left;
      line-height: 1.4em;
      font-size: 12px;
      clear: both;
      padding: 0;
      margin: 0 30px;
      max-width: auto;
      max-height: auto;
      }


      with

      #content{
      font-weight: normal;
      text-align: left;
      line-height: 1.4em;
      font-size: 12px;
      clear: both;
      padding: 0;
      margin: 0 30px;
      max-width: auto;
      max-height: 1000px;
      }


      i.e. you change auto with 1000px (or whatever height you need)

    • 07/24/12 1:06pm

      Dbranes says:

      ps: you can open your style.css file from your Wordpress backend under Apperance > Editor

    • 07/24/12 1:11pm

      Dbranes says:

      ups I meant of course to change to

      #content{
      font-weight: normal;
      text-align: left;
      line-height: 1.4em;
      font-size: 12px;
      clear: both;
      padding: 0;
      margin: 0 30px;
      max-width: auto;
      min-height: 1000px;
      }


      ;-)

  • avatar
    Last edited:
    07/24/12
    12:56pm
    Martin Pham says:

    open style.css line 35 , add into #content


    min-height: 600px;


    you can custom value

  • avatar
    Last edited:
    07/24/12
    12:56pm
    Michael Caputo says:

    Try adding this to your css:


    html, body {height: 100%;}
    .container {min-height: 100%;height: auto !important;height: 100%;margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */}
    .footer,.push {height: 60px; /* .push must be the same height as .footer */}


    You will also need to put the footer div under the container div, and add a

    <div class="push"></div>
    div to the container div, before it closes.

  • avatar
    Last edited:
    07/24/12
    12:56pm
    floy says:

    Open the CSS file and add

    min-height: 600px; (Or whatever value you like to it, could even be a percentage)


    to the #content CSS selector.

    eg;

    #content {
    min-height: 600px;
    }

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

    Try adding this to #content in style.css, line 35:

    min-height: 400px;


    You can change the number to what you want.

  • avatar
    Last edited:
    07/24/12
    12:59pm
    Manoj Raj says:

    cross browser min-height will be as follows

    #content {
    min-height: 500px;
    height:auto !important;
    height: 500px;
    }

    • 07/24/12 1:07pm

      moclov555 says:

      This worked great! Thanks!

  • avatar
    Last edited:
    07/24/12
    1:04pm
    Yoyo Sunaryo says:

    add this to style.css

    #content {height:auto; min-height:600px;}

  • avatar
    Last edited:
    07/25/12
    3:11am

    This answer was downvoted by the top experts.

  • avatar
    Last edited:
    07/25/12
    3:57am

    This answer was downvoted by the top experts.

  • avatar
    Last edited:
    07/25/12
    4:18am

    This answer was downvoted by the top experts.

  • avatar
    Last edited:
    07/26/12
    8:48am
    Pali Madra says:

    Mocloy,

    I will make it easier for you (I hope you know how to ftp to your server).

    FTP to your server and navigate to

    ftp://wyattburns.com/wp-content/themes/wpfolio/

    there would be style.css file there. Replace the file with the file attached. You are done.

    Let me know if any help is needed.

    Cheers

  • avatar
    Last edited:
    07/27/12
    1:42am
    aburnamanperry says:

    Ähnliche Artikel :

This question has expired.



Gabriel Reguly 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.