WordPress.org

Ready to get started?Download WordPress

Forums

Unwanted footer space in TwentyThirteen theme! (13 posts)

  1. vismic
    Member
    Posted 8 months ago #

    I am working with a modified version of TwentyThirteen theme <a http://dracula.dk/wordpress/?page_id=2

    But there is too much space in the bottom of the page - does anybody know how to makes this spacer smaller? I can set a min-height to the entry-footer div in styles.css, but that will affect all page templates, and that is not the aim :-(

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

  2. vismic
    Member
    Posted 8 months ago #

    I am using WordPress 3.6.1 by the way!

  3. esmi
    Forum Moderator
    Posted 8 months ago #

    Why are you using an old copy of WordPress? Were you aware that your site is currently running a very real risk of being hacked? You need to upgrade WordPress asap.

  4. vismic
    Member
    Posted 8 months ago #

    I definitely will update my wordpress, until then I would really like some help with my actual problem.

  5. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Are you aware that all of your changes will be wiped out when WP is updated? You should be using a Child Theme to modify a default theme - http://codex.wordpress.org/Child_Themes

  6. vismic
    Member
    Posted 8 months ago #

    I already updated and my changes are intact. Can anybody please help me with my problem with space in my layout?

    Thanks per forehand :-)

  7. esmi
    Forum Moderator
    Posted 8 months ago #

    Do not edit the Twenty Thirteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

  8. vismic
    Member
    Posted 8 months ago #

    Already did that. But it is still based on the code in the TwentyThirteen theme.

  9. esmi
    Forum Moderator
    Posted 8 months ago #

    Your site is not using a child theme.

  10. vismic
    Member
    Posted 8 months ago #

    Now I see what you mean, I will make it into a child theme then. Any solutions to my trouble with the spacing issue?

  11. vismic
    Member
    Posted 8 months ago #

    I am using a child theme now.

  12. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    It's not set up correctly - the style.css file should have an @import line and contain only changes to the CSS - not a copy of the entire file.

    But the problems on that page may well be due to mark-up errors:

    http://validator.w3.org/check?uri=http%3A%2F%2Fdracula.dk%2Fwordpress%2F%3Fpage_id%3D2&charset=%28detect+automatically%29&doctype=Inline&group=0

    I can set a min-height to the entry-footer div in styles.css, but that will affect all page templates, and that is not the aim :-(

    You can target CSS to a specific page by using the page-specific class in the CSS selector - so in this case:

    .home whatever selectors you want to use {
        styles;
    }
  13. missybunnie
    Member
    Posted 8 months ago #

    It seems to be coming from .hentry with a height of 100%. I don't believe height usually needs to be specified. Also that's the article and the length seems to be caused by a long article length. The footer is actually down about where the page wants to end.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.