• 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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.

    Thread Starter Tuzza

    (@tuzza)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Zombie Apocalypse Header/Top Margin’ is closed to new replies.