• Resolved Anjuoh

    (@anjuoh)


    Hello everybody,

    I was wondering if the header size could be changed. I tried changing the array that defines the header on the functions.php file but to no avail – even after changing it and uploading a new picture the size remains the same.

    I would like to have it 900x300px if it is possible.

    Any ideas?

    Thanks in advance!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • are you talking about header image or header div? Do you have an URL so we can have a look?

    Thread Starter Anjuoh

    (@anjuoh)

    Hi baszer and thanks for answering,

    unfortunately I’m running everything locally because my “client” (Actually some friends who are starting up a record label) has not yet booked a hosting service.

    The Header image is fixed to be 940×140 or something like that – I just want to make the height bigger, something like 300px.

    Tried changing the size specified at the functions.php file but even after doing it and uploading the new picture would appear cropped…

    I would love to post the code but I’m at work and don’t have the data with me, I’ll try to post it when I’m home at night so that you see what I did.

    Best,

    Anjuoh

    Theme Author Srini G

    (@srinig)

    You don’t have to change anything in functions.php file. Try these steps…. Put the following code in custom CSS (under ‘Other Settings’ in customizer)

    .header-main {
    	height: 300px;
    	height: 30rem;
    }

    And then upload your 940x300px header image in Custom Header. Do not crop the image, click the ‘Skip Cropping, Publish Image as Is’ button. You can also upload a 900×300 image, but 940 width is preferable.

    Thread Starter Anjuoh

    (@anjuoh)

    Hi SriniG,

    once again thank you very much – everything is now as planned and the banner is showing correctly with the new image. I had to crop it anyway because it would not show it correctly (the jpg has the right measure, 940px 300px) but after a little tweaking it shows how I wanted it to show.

    Best,

    Anjuoh

    Hi,

    I’ve just installed the theme and love it! I also wanted my header to have more height and changed the size, just as SriniG suggested it. But now it looks distorted/stretched. My header graphic is 940×300 px in size.

    Do you have any idea why the image still looks weird?

    Here you’ll find my wp – https://artphilia.de/lotro/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header Bigger’ is closed to new replies.