WordPress.org

Ready to get started?Download WordPress

Forums

Expound
Hor to get header touch top of page and body part touch bottom? (16 posts)

  1. dssguy99
    Member
    Posted 3 months ago #

    Im trying to figure out how to do a "full height" type of thing? I dont want that small border at the top and bottom of each page. Is there a way to eliminate this?

  2. YajYolid
    Member
    Posted 3 months ago #

    Hi dssguy99,

    I hope you already have created and activated your child theme before you do some customization, and if so, you can use the following CSS rule to eliminate the small border on the top and bottom of each page.

    #page {
    margin: 0 auto;
    }

  3. CrouchingBruin
    Member
    Posted 3 months ago #

    If you are not using a child theme, then install a CSS plugin and add this CSS rule (don't edit the theme's files directly):

    #page {
       margin-top: 0;
       margin-bottom: 0;
    }
  4. dssguy99
    Member
    Posted 3 months ago #

    that worked!

  5. dssguy99
    Member
    Posted 3 months ago #

    Actually, it worked for the top but not the bottom on all pages. Any suggestions?

  6. CrouchingBruin
    Member
    Posted 3 months ago #

    Can you provide a link to your site?

  7. dssguy99
    Member
    Posted 3 months ago #

  8. CrouchingBruin
    Member
    Posted 3 months ago #

    APUSH! I remember my oldest daughter taking that class.

    Try adding this:

    html, body, #page {
       height: 100%;
    }
  9. dssguy99
    Member
    Posted 3 months ago #

    Ya, I took it too...was very tough, but have all these notes so Im posting them to see if they can be used by anyone.

    How about that footer...you see its not moving?

  10. CrouchingBruin
    Member
    Posted 3 months ago #

    Yes, and it's because it's really not the footer but part of the page contents. The footer is actually there at the bottom of the page, but it looks like you made some changes to it to hide the site info information? How did you get that "footer" in there?

  11. dssguy99
    Member
    Posted 3 months ago #

    Crouching -

    Not to drive you crazy with all my questions...but what do you thin the easiest way is for me to have this sort of list on the individual chapter pages. Here is the list: http://www.ushistoryapnotes.com/american-pageant-chapter-outline/

    And for example, I want to have a chapters list on these pages: http://www.ushistoryapnotes.com/american-pageant-chapter-outline/chapter-1/ so the user can navigate to any chapter. I need some sort of left menu sidebar, but only on certain pages. Can you let me know the easiest way to do that?

  12. dssguy99
    Member
    Posted 3 months ago #

    that was the footer that came with the theme. I only added in that text to the top line.

  13. dssguy99
    Member
    Posted 3 months ago #

    See now, I deleted my text but that grey line is still there.

  14. CrouchingBruin
    Member
    Posted 3 months ago #

    Gray line can be take out with this:

    .site-content article {
    	border-bottom: none;
    }

    Did you happen to get the theme from Expound theme page or did you get it from an external site? I'm just wondering because the standard footer, which normally reads Proudly powered by WordPress | Theme: Expound ... isn't there.

  15. dssguy99
    Member
    Posted 3 months ago #

    Yes I removed that. Did I screw the theme up by doing that?

  16. CrouchingBruin
    Member
    Posted 3 months ago #

    No, but if you wanted to change the footer text (i.e., add your modified footer text), then it should have been done in there (I assume you changed footer.php) instead of the page template. Just as a note of caution, it is highly suggested to create a child theme and make your changes there instead of directly to the theme's files (through Appearance > Editor). If the theme ever gets upgraded because of feature enhancements or a security patch, then any changes to the theme files will get lost. Using a child theme avoids that. If you haven't made a lot of changes, you might still be able to create a child theme and copy over any files that you modified from the parent folder to the child folder so your changes don't get lost. But it's your call, I am just obligated to warn you, because you don't want to end up like this person.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.