WordPress.org

Ready to get started?Download WordPress

Forums

Zombie Apocalypse Header/Top Margin (3 posts)

  1. Tuzza
    Member
    Posted 1 year ago #

    Hi All

    I apologies if this has been answered elsewhere, I have the Zombie Apocalypse theme installed on a spare domain of mine for a short while (www.dantury.co.uk) which will be moving elsewhere soon, and all I want to do is decrease the margin at the top so that when you are browsing through the site the main content fits in nicely.

    I have backed up the style sheet and tried changing everything that says margin or wrapper or padding and I am either moving the wrong thing or not doing anything at all.

    I am sure its something simple that I am missing but I just want to decrease the margin between the menu and the top of the window.

    Thank you in advance

    Cheers
    Dan

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Try to avoid editing the theme's styles, otherwise you'll lose your changes when the theme updates.

    Use a Custom CSS Manager plugin to hold your CSS modifications.

    That means you'll have to create new styles that override old styles.

    E.g, try creating this new style;

    #site-title, #site-description {
     display: none;
    }

    You had it visibility of hidden before; which did hide the text, yes, but the styles applying to the text remained. So, the margins/ paddings/ height remained and was pushing down your content.

  3. Tuzza
    Member
    Posted 1 year ago #

    Thank you for your reply Andrew.

    I know this is something that I need to implement and will make full use of this and child templates etc. when I move this site across to its intented domain.

    In the meantime however I have taken your comments on board but would still like to find exactly where I need to edit the code to reduce the margin.

    I am thinking of it as an experimental learning curve!

    Thanks
    Dan

Topic Closed

This topic has been closed to new replies.

About this Topic