WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing the size of the header? (4 posts)

  1. emomeni
    Member
    Posted 4 years ago #

    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!

  2. emomeni
    Member
    Posted 4 years ago #

    Sorry missed the link:

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

    Thanks!

  3. gazouteast
    Member
    Posted 3 years ago #

    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.

  4. gazouteast
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic