• Resolved catonwall

    (@catonwall)


    Hi again.

    I want a full pic on my header, not some mosaic. But then it asks me to upload a image with just 120px height and then does vertical repeat.

    What can I change?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author José Leonardo

    (@joseleonardo)

    Hey catonwall,

    thank you for report this issue, I was not aware about it.

    You can easily change it by doing the following steps:

    1) Open your function.php;
    2) Use ctrl + f to find the line “lupercalia_custom_header_setup()”;
    3) Then, a little below, you will the ‘height’ stuff you are talking about, it probably is receiving 120 as value, change it to “0” and you will be able to manually crop your image to the size you want to.

    Tell me if it works for you.

    Bye ??

    Thread Starter catonwall

    (@catonwall)

    It works!! Thank you so much.

    Hugs!

    Jose,

    I was running into the same issue as catonwall. I tried following your instructions, found “120” under “height” as you mentioned. Changed it to “0”. Saved, Updated the file, and still nothing happens.

    Any ideas?

    Thanks!

    Theme Author José Leonardo

    (@joseleonardo)

    I don’t know, maybe you did something wrong, it works perfectly.

    If you could provide your website link I might have a clue of what is happening.

    But anyway, you have to change this value and upload you header image again, then it will open a window for you to crop your new image to be use as header.

    To clarify – I am running a child theme, so, I went into the parent, updated the functions.php (as you mentioned exactly) and nothing changes whatsoever.

    Is there any way to turn the “Tile” aspect of the header img OFF? Also, in addition to tiling, it seems to repeat (renew) the image in-line with the menu.

    Thank you!

    I’ll try uploading the image over again – I appreciate the speedy response.

    Should I only be changing the “height” value? Or both “height” and “weight” to zero?

    Thanks!

    Theme Author José Leonardo

    (@joseleonardo)

    As long as you changed the value of the height to 0, you should be able to upload an image with any size.

    And if the image is not big enough to fill the size (height and width) of the header, it will be repeated because there is nothing on CSS file saying otherwise.

    You can stop the image to be repeated add the following attribute to the “bg-head”:

    bg-head { background-repeat: no-repeat; }

    Theme Author José Leonardo

    (@joseleonardo)

    I think if you set 0 to both of them, you will be able to crop vertically and horizontally the image.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Bigger no-repeat header img’ is closed to new replies.