WordPress.org

Support

Support » Themes and Templates » [Resolved] Changing the size of the header?

[Resolved] Changing the size of the header?

  • Hi,

    I just added the theme last night and I was blown away – it is beautiful!

    I do have one question – is it possible to change the size of the header (the white part between the menu and the home logo at top right?

    My blog is

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry missed the link:

    My blog is at: http://www.momeni.se

    Thanks!

    I’m trying to find the answer to this too – the screen display is not obeying changes to style.php – something hidden somewhere is over-riding it, maybe in all the javascript files, maybe in one of the template files – I’m still looking but haven’t found it after hours of hunting.

    FOUND IT

    …. and God Almighty – the theme creator needs smacked around the head for this one.

    In both header.php and header-portfolio.php look for this code –

    <style>
    #logo {
    <?php
     $margin = get_option('margin_top');
     if (!empty($margin) && $margin==0) { ?>
    	margin-top: <?php echo $margin;?>px;
     <?php } else { ?>
    	margin-top: 50px;
    <?php } ?>
    }
    </style>

    See that line ” margin-top: 50px; ” ?

    Change that and leave the theme options page empty (i.e. don’t add a setting to it).

    I have no idea why the designer thought it necessary to add a conditional in there, nor to have two header files – nothing in the theme notes, nor on his site explain the logic of it.

    Hope it helps
    Gaz

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Changing the size of the header?’ is closed to new replies.
Skip to toolbar