WordPress.org

Ready to get started?Download WordPress

Forums

How can I remove the space between the header & the browser's navigation bar? (6 posts)

  1. theserpent
    Member
    Posted 5 years ago #

    Indeed, I want my header to touch the browser's nav bar.
    I use mandigo theme and been tryng a few tricks such as:

    * Following the advise on the thread on http://wordpress.org/support/topic/169780
    and looked for the "container" or "nav" padding or margin but didn't find any similar code to edit...

    edited
    margin-top: <?php echo ($mandigo_options['header_blogname_smaller_font'] ? 25 : 15); ?>px;

    Changin the 25 and 15 value to 0, but it didn't work either..,

    I would greatly appreciate help!

    NB: Mandigo theme states on "style.css"
    The rules below are not used, they are here for wordpress.org to accept the theme upload. The actual stylesheet is style.css.php

  2. esmi
    Theme Diva & Forum Moderator
    Posted 5 years ago #

    And the link for your site is...?

  3. theserpent
    Member
    Posted 5 years ago #

    im working internally! so it's offline as of now...
    i wouldn't test anything official ;)
    do you have any hint regarding the space above the header ?

  4. theserpent
    Member
    Posted 5 years ago #

    a mandigo themed website: http://www.letransmuteur.net

  5. theserpent
    Member
    Posted 5 years ago #

    any php guru out there?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 5 years ago #

    On the site you gave me, it's the CSS that needs editing - not the php, as such.

    In style.css.php:

    #page {
    margin:20px auto;
    text-align:left;
    width:987px;
    }

    needs to be amended to:

    #page {
    margin:0 auto 20px;
    text-align:left;
    width:987px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic