• dssguy99

    (@dssguy99)


    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?

Viewing 15 replies - 1 through 15 (of 15 total)
  • YajYolid

    (@yajyolid)

    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;
    }

    CrouchingBruin

    (@crouchingbruin)

    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;
    }

    Thread Starter dssguy99

    (@dssguy99)

    that worked!

    Thread Starter dssguy99

    (@dssguy99)

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

    CrouchingBruin

    (@crouchingbruin)

    Can you provide a link to your site?

    Thread Starter dssguy99

    (@dssguy99)

    CrouchingBruin

    (@crouchingbruin)

    APUSH! I remember my oldest daughter taking that class.

    Try adding this:

    html, body, #page {
       height: 100%;
    }

    Thread Starter dssguy99

    (@dssguy99)

    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?

    CrouchingBruin

    (@crouchingbruin)

    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?

    Thread Starter dssguy99

    (@dssguy99)

    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?

    Thread Starter dssguy99

    (@dssguy99)

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

    Thread Starter dssguy99

    (@dssguy99)

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

    CrouchingBruin

    (@crouchingbruin)

    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.

    Thread Starter dssguy99

    (@dssguy99)

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

    CrouchingBruin

    (@crouchingbruin)

    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.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Hor to get header touch top of page and body part touch bottom?’ is closed to new replies.