• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 CSS Image Sprite Not Showing

#1
I think this may be an issue with the code, but my background image is not popping up here in the terms and rules page. I added the
HTML:
<div class="rumrunner head"></div>
to the terms_rules_text phrase and the CSS in the EXTRA.css template:
Code:
.rumrunner.head

{
width:475;
height:144;
background-image: url(https://forums-rumrunnerentertainment.com/data/images/head.png) 0 0px;
}
Thanks!
 

Jake Bunce

XenForo moderator
Staff member
#2
Bad CSS. Use this:

Code:
.rumrunner.head
{
	width:475px;
	height:144px;
	background: url('https://forums-rumrunnerentertainment.com/data/images/head.png') 0 0px;
}