HEADER PROBLEM: WHERE TO LOOK FOR CODE TO CHANGE SIZE

Viewing 6 posts - 1 through 6 (of 6 total)
  • #7076
    toyo73
    Participant

    I know there is a header problem whic was discussed many times before in this forum, but until the debugging with the next release I want to correct it myself.

    Here my problem: I upload a custom header with the size 192×96 as recommended. The theme automartically resizes it to 750×48 which looks strange. Checking the image with Safari Web-Inspector it can resize it to the right size and I can see the code I should chnage, but cannot find the right php file where to edit the code. Can someone tell me where I can find this line:

    Thanks!
    By the way, when will the new release with the bugfix be available?

    #10670
    interestingenough
    Participant

    This is my problem too! Except mine always gets resized to 1500 x 48…
    Can anyone help?

    #10679
    Daniel Tara
    Keymaster

    In functions.php function pinboard_theme_setup you can find a call to add_theme_support( ‘custom-header’, … ); where the width and height attributes are defined. You can change them there.

    #10683
    interestingenough
    Participant

    Ahhh…Thanks Daniel!
    I’m afraid I have another question. When I add my social media icons to the header, they don’t align with my header image. They go below it. It’s as if the header is a div container that stretches the width of the page, and so the icons are forced underneath. That’s probably not a very good explanation, but if you have any ideas?

    #10684
    interestingenough
    Participant

    Link to my site, if it helps: http://www.rosiehuntingtonwhiteley.net/

    This is my custom CSS (kindly supplied by the legend that is mouseclick! Modified slightly. )

    #site-title {
    line-height:0;
    float:left;
    margin-top:5px;
    }

    #social-media-icons {
    display:none;
    float:none;
    margin-top:0;
    }

    #header input#s {
    display: none;
    }

    #header #searchform {
    float:none;
    }

    #10694
    Daniel Tara
    Keymaster

    It looks fine to me.

Viewing 6 posts - 1 through 6 (of 6 total)

Tagged: 

You must be logged in to reply to this topic.