Images not displaying in header - Forum | JoomShaper
Solved Templates

Images not displaying in header

Asked by Tony 4 months ago Last activity 4 months 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?

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

Hi

Try this CSS

#sp-header{
background-image: url(https://jumbuckmotorinn.com.au/images/header320.jpg) !important
}

8 more replies

Mehtaz Afsana Borsha Staff

Hi

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

-Regards.

Tony Asked this

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.

Martin Grunert
4 months ago · edited

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;
}
Tony Asked this

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 🤷‍

Tony Asked this

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

Mehtaz Afsana Borsha Staff

Glad to know that and you are always welcome.

Mehtaz Afsana Borsha Staff

Thanks Martin for helping him.

Martin Grunert

You're welcome :)

Tony Asked this

Thank you all Team Joomshaper :)

Mehtaz Afsana Borsha Staff

You are always welcome and thanks for accepting the answer.

Log in to reply.