MyBB Community Forums
Please help background not working - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Please help background not working (/thread-185788.html)



Please help background not working - isaac238 - 2015-10-28

I want to change my background color to this [Image: K98v8WY.png]


It is saved as test.png but this wont work

#container {
	color: #333;
	text-align: left;
	line-height: 1.4;
	margin: 0;
	min-width: 990px;
	background-image: url(images/test.png);
	
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}



RE: Please help background not working - fredzy - 2015-10-28

Look for this
 body {



And add this immediately after


 background: url(images/test.png);


RE: Please help background not working - isaac238 - 2015-10-28

(2015-10-28, 07:20 PM)fredzy Wrote: Look for
body {

}

background: url(images/test.png);


Add this inside the "{

}"
This is not working i just tried it thanks for the quick response though
body {
	background-image: url(images/test.png);
	color: #2ecc71;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}



RE: Please help background not working - fredzy - 2015-10-28

body {
    background: url(images/test.png);
    color: #2ecc71;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    overflow-y: scroll;
}

Use this instead,  notice I removed "-image" 

If it still doesn't work, press ctrl+f5 to hard refresh



RE: Please help background not working - isaac238 - 2015-10-28

(2015-10-28, 07:29 PM)fredzy Wrote:
body {
    background: url(images/test.png);
    color: #2ecc71;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    overflow-y: scroll;
}

Use this instead,  notice I removed "-image" 

If it still doesn't work, press ctrl+f5 to hard refresh

I refreshed multiple times and hard refreshed it still didnt work for some odd reason


RE: Please help background not working - fredzy - 2015-10-28

It's working I can see the background just give it some time, it's caused by browser cache your can clear that to see immediate changes


RE: Please help background not working - isaac238 - 2015-10-28

It works thx