Images Not Displaying In Header - Question | JoomShaper

Images Not Displaying In Header

T

Tony

Template 1 month ago

Hi,

I'm using the Helix Ultimate template and have continually had issues displaying an image in the header. I was once given this custom css to add:

header { background-image: url("images/header320"); }

This works 'on occasion', but not this time! 🤷‍ https://jumbuckmotorinn.com.au/

Can anyone please advise what I'm doing wrong?

0
15 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #224975

Hi

Try this CSS

#sp-header{
background-image: url(jumbuckmotorinn.com.au/images/header320.jpg) !important
}
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #224863

Hi

Thanks for contacting us. It seems ok in my end.

-Regards.

0
T
Tony
Accepted Answer
1 month ago #224884

Hi Mehtaz,

This image is supposed to be sitting behind the menu in the header (it was originally). I have viewed it in several browsers and it is just displaying a white background with just the logo visible?

Can you please provide a screen shot of what you are seeing?

Many thanks, Tony.

0
M
Martin
Accepted Answer
1 month ago #224903

Hi Tony,

take the following code:

#sp-header {
    background-image: url('/images/header320.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
0
T
Tony
Accepted Answer
1 month ago #224914

Sorry Martin, that doesn't seem to work either!!! The original code WAS working... here's a snapshot from November last year taken with WayBackMachine. That was the last time anyone had toched the site 🤷‍

0
M
Martin
Accepted Answer
1 month ago #224919

Could you please provide the exact image path?

Because there is no image at this link: https://jumbuckmotorinn.com.au/images/header320.jpg

It's just the link; I just tested it :D https://prnt.sc/PdUixpUF4eTP

0
T
Tony
Accepted Answer
1 month ago #224920

Sorry Martin, the file extention dropped off! https://jumbuckmotorinn.com.au/images/header320.jpg Many thanks for looking into this for me.

0
M
Martin
Accepted Answer
1 month ago #224922

You're welcome :)

0
T
Tony
Accepted Answer
1 month ago #225002

Solved!!! Thank you so much Mehtaz :) Best wishes, Tony

0
M
Martin
Accepted Answer
1 month ago #225010

Hi Tony,

You're missing a no-repeat attribute, because your image is repeating. ;) If you also center it vertically, you'll always see the same view, which is why I suggested a slightly more detailed code snippet.

https://prnt.sc/X7ipW-iC-vFX

https://prnt.sc/vfv_wg1ACJpV

https://prnt.sc/MM3FJaQY5VW0

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #225067

Glad to know that and you are always welcome.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #225069

Thanks Martin for helping him.

0
M
Martin
Accepted Answer
1 month ago #225106

You're welcome :)

0
T
Tony
Accepted Answer
1 month ago #225091

Thank you all Team Joomshaper :)

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #225107

You are always welcome and thanks for accepting the answer.

0