MyBB Community Forums

Full Version: Very noob question but I need help on how to change background color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How do I change background to image or color?

My current global.css is

body {
    background-color: #000000;
	color: #000000;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}


#container background: color: #000000;
	color: #000000;
	text-align: left;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	min-width: 990px;
}


I wanted to make it black but it doesn't seem to be working.

Also when I tried to source an image from /images it didn't work either.

Thank you for any help!
pm your site url
(2017-01-27, 02:47 PM)FreeVPS Wrote: [ -> ]pm your site url

Hi I have pm'ed you
I am honestly very very noob and would pay someone to fix all of my issues that I'm having, much quicker lol
#container {
    background: #000000;
    text-align: left;
    line-height: 1.4;
    margin: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    min-width: 990px;
}

copy and paste
body {
    background-color: #000000;
     color: #000000;
     text-align: center;
     line-height: 1.4;
     margin: 0;
     font-family: Tahoma, Verdana, Arial, Sans-Serif;
     font-size: 13px;
     overflow-y: scroll;
 }

Choose you colour, and find out it's hex colour code. It will begin with # .Replace the bolded text with your choice of hex colour code.
(2017-01-27, 03:11 PM)FreeVPS Wrote: [ -> ]
#container {
    background-color: #000000;
    text-align: left;
    line-height: 1.4;
    margin: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    min-width: 990px;
}

copy and paste

Hi I have just doen it and seen no change.

I think my problem is, when I come to update something, for some reason it takes forever for something to change. It changes in the system but takes a bit to reflect in the forum. I tried the "force theme on users" option and still no.

(2017-01-27, 03:14 PM)meetdilip Wrote: [ -> ]body {
    background-color: #000000;
     color: #000000;
     text-align: center;
     line-height: 1.4;
     margin: 0;
     font-family: Tahoma, Verdana, Arial, Sans-Serif;
     font-size: 13px;
     overflow-y: scroll;
 }

Choose you colour, and find out it's hex colour code. It will begin with # .Replace the bolded text with your choice of hex colour code.

Thank you Meetdilip.
My issue is, I update things in the .css
and for some reason, everything went center? why?

my whole forum is now centered and looks weird
#logo {
    background: #4e5557;
    padding: 10px 0;
    border-bottom: 1px solid #263c30;
}
#content {
    background: #544f4f;
    width: auto !important;
    padding: 20px 10px;
    overflow: hidden;
}
(2017-01-27, 03:22 PM)FreeVPS Wrote: [ -> ]
#logo {
    background: #4e5557;
    padding: 10px 0;
    border-bottom: 1px solid #263c30;
}


I have just done it. Nothing changed?

Do you have discord etc?
If you fix up my forum I will legit pay you lol
If you use Cloudflare, changes you do won't effect the actual site unless you clean the cache.
That might be the reason you don't see any change.

And honestly don't pay anyone for that kind of simple stuff.
(2017-01-27, 03:29 PM)Darkrad Wrote: [ -> ]If you use Cloudflare, changes you do won't effect the actual site unless you clean the cache.
That might be the reason you don't see any change.

And honestly don't pay anyone for that kind of simple stuff.

Hi Darkrad,

I'm not using cloudflare. In any case, it may appear to be simple but I keep running into error after error. I'm not good with this kind of stuff.

But there does seem to be a delay, in that I don't know what creates or doesn't create changes until many minutes later when it takes place.

In short, I am just fed up and would like someone with knowledge to fix it, rather than me destroying the CSS code even further.
Pages: 1 2