D. WONG
D. WONG

Reputation: 59

Background-image not showing up in sidebar

In the sidebar, I have tried adding background-image but it doesn't show up for the title. I wonder what is causing it. The following will not work. However, applying a background color does work as well. I've tried background-image property, doesn't work as well.

.title-widget {
  background: #fff url('http://www.hawthornfc.com.au/static-resources/themes/hawthorn/images/bg-section-header.gif);
}

Go to my website below for the live view. Also, for the marquee text, upon scrolling down, it overlaps the fixed header. I've applied z-index but it still doesn't seem to go behind the header.

Website: http://www.nbtfootball.com.sg/wwfc/

Upvotes: 0

Views: 81

Answers (1)

Matt.C
Matt.C

Reputation: 1322

You are missing the closing quote in the url();

try:

.title-widget {
  background: #fff url('http://www.hawthornfc.com.au/static-resources/themes/hawthorn/images/bg-section-header.gif');
}

Upvotes: 2

Related Questions