• Resolved amacleoddesign

    (@amacleoddesign)


    Does anyone know how to bring the header closer to the top of the page? Example of the site I’m working on here: https://www.playpuresports.com

    You can see that there’s a bit of space above the header image, a bit more than I would really like.

    Any help on how to cut down on the extra space above it? Sorry if this is an obvious one, I don’t have a ton of experience running WordPress sites! Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi amacleoddesign,

    you could reduce the space with a line of CSS:

    .site-branding { margin: 0 auto; }

    In order to add custom CSS code to your website, you can either make use of a child theme or plugins like Simple Custom CSS.

    Roch

    (@rochesterj)

    Hi!

    Thanks, @mh themes

    That code seems correct to me, if that doesn’t work try:
    body .site-branding { margin-top: 0; }

    Also we do have a custom css field there. It’s under Wp admin > SportsPress > Settings > General > Custom CSS

    Kind Regards,
    -Roch

    Thread Starter amacleoddesign

    (@amacleoddesign)

    That worked perfectly, closed the space up much better! Thank you both so much for all your help!

    Roch

    (@rochesterj)

    I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Kind Regards,
    -Roch

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extra space above header?’ is closed to new replies.