MyBB Community Forums

Full Version: Changing background colours of Admin posts?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Do i put it anywhere inside there?
Yes but make sure you put your code after closing of any open bracket.
I placed it right in the end but it didn't change anything? I made sure it was after closed brackets.
Paste your global.css here in [code] tags and also the code that you want to place inside it.
 html,body {
	background: #000;
    background-image: url("images/blazered/bg.png");
	color: #000;
	text-align: center;
	line-height: 1.4;
	padding: 0;
	margin: 0;
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 13px;
}

a:link {
	color: #CC0000;
	text-decoration: none;
}

a:visited {
	color: #CC0000;
	text-decoration: none;
}

a:hover, a:active {
	color: #CC9900;
	text-decoration: underline;
}

#container {
	background: transparent;
	width: 92%;
	color: #000000;
	margin: auto auto;
	padding: 10px;
	text-align: left;
}

#content {
	/* FIX: Make internet explorer wrap correctly */
	width: auto !important;
}

#panel {
	background: #999;
	color: #000000;
	font-size: 11px;
	border: 1px solid #000;
	padding: 0;
    float: right;
    background-image: url("images/blazered/menubg.png");
    background-repeat: repeat-x;
    height: 34px;
}

#panel .remember_me input {
	vertical-align: middle;
	margin-top: -1px;
}

.paneltext {
padding-top: 8px;
}

table {
	color: #F5FBEF;
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 13px;
}

.tborder {
	background: #000;
	width: 100%;
	margin: auto auto;
	border: 1px solid #000;
}

.thead {
	background: #000;
	color: #ffffff;
	background-image: url("images/blazered/thead.png");
	background-repeat: repeat-x;
	height: 32px;
	padding: 0 0 0 3px;
	margin: 0;
}

.thead a:link {
	color: #ffffff;
	text-decoration: none;
}

.thead a:visited {
	color: #ffffff;
	text-decoration: none;
}

.thead a:hover, .thead a:active {
	color: #ffffff;
	text-decoration: underline;
}

.trow1 {
	background: #2B2B2B;
}

.trow2 {
	background: #2B2B2B;
}

.trow1:hover {
	background-image: url("images/blazered/rowhover.png");
	background-repeat: repeat-x;
}

.trow2:hover {
	background-image: url("images/blazered/rowhover.png");
	background-repeat: repeat-x;
}

.trow_shaded {
	background: #333;
}

.trow_selected td {
	background: #333;
}

.trow_sep {
	background: #333;
	color: #000;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	background: #000 url("images/blazered/tcat.png");
    background-repeat: repeat-x;
	color: #ffffff;
}

.tfoot a:link {
	color: #ffffff;
	text-decoration: none;
}

.tfoot a:visited {
	color: #ffffff;
	text-decoration: none;
}

.tfoot a:hover, .tfoot a:active {
	color: #ffffff;
	text-decoration: underline;
}

.tfoot2 {
	background: #000 url("images/blazered/tcat.png");
        background-repeat: repeat-x;
	    color: #ffffff;
        border-top: 0;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
}

.tfoot2 a:link {
	color: #ffffff;
	text-decoration: none;
}

.tfoot2 a:visited {
	color: #ffffff;
	text-decoration: none;
}

.tfoot2 a:hover, .tfoot a:active {
	color: #ffffff;
	text-decoration: underline;
}

.bottommenu {
	color: #fff;
	background-image: url("images/blazered/footer.png");
	background-repeat: repeat-x;
	padding: 10px;
}

.bottommenu a {
	color: #E71303;
}

.navigation {
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}

.navigation a:link {
	text-decoration: none;
}

.navigation a:visited {
	text-decoration: none;
}

.navigation a:hover, .navigation a:active {
	text-decoration: none;
}

.navigation .active {
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
    color: #F5FBEF;
}

.largetext {
	font-size: 16px;
	font-weight: bold;
        color: #F5FBEF;
}

input.textbox {
	background: #ffffff;
	color: #000000;
	border: 1px solid #0f5c8e;
	padding: 1px;
}

textarea {
	background: #ffffff;
	color: #000000;
	border: 1px solid #0f5c8e;
	padding: 2px;
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	line-height: 1.4;
	font-size: 13px;
}

select {
	background: #ffffff;
	border: 1px solid #0f5c8e;
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #0f5c8e;
}

.autocomplete {
	background: #fff;
	border: 1px solid #000;
	color: black;
}

.autocomplete_selected {
	background: #adcee7;
	color: #000;
}

.popup_menu {
	background: #ccc;
	border: 1px solid #000;
}

.popup_menu .popup_item {
	background: #fff;
	color: #000;
}

.popup_menu .popup_item:hover {
	background: #C7DBEE;
	color: #000;
}

.trow_reputation_positive {
	background: #ccffcc;
}

.trow_reputation_negative {
	background: #ffcccc;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.invalid_field {
	border: 1px solid #f30;
	color: #f30;
}

.valid_field {
	border: 1px solid #0c0;
}

.validation_error {
	background: url("images/blazered/invalid.gif") no-repeat center left;
	color: #f30;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

.validation_success {
	background: url("images/blazered/valid.gif") no-repeat center left;
	color: #00b200;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

.validation_loading {
	background: url("images/blazered/spinner.gif") no-repeat center left;
	color: #555;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

/* Additional CSS (Master) */
img {
	border: none;
}

.clear {
	clear: both;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background-color: #FFFBD9;
	font-weight: bold;
	text-align: center;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.menu {
	background-image: url("images/blazered/menubg2.png");
	background-repeat: repeat-x;
	height: 57px;
	padding: 0;
	margin: 0;
	font-size: 14px;;
}

.menu ul {
	color: #fff;
	text-align: left;
	padding: 5px 0 0 0 ;
	list-style: none;
	margin: 0;
}

.menu ul a:link {
	color: #fff;
	text-decoration: none;
}

.menu ul a:visited {
	color: #fff;
	text-decoration: none;
}

.menu ul a:hover, .menu ul a:active {
	color: #fff;
	text-decoration: underline;
}

.menu li {
	display: inline;
	margin: 0 8px 0 8px;
	padding-top: 5px ;
}

.menu2 {
	background-image: url("images/blazered/menubg.png");
	background-repeat: repeat-x;
	height: 34px;
	padding: 0;
	margin: 0;
}

.menu2 ul {
	color: #fff;
	text-align: center;
	padding: 5px 0 0 0 ;
    font-size: 18px;
	list-style: none;
	margin: 0;
}

.menu2 ul a:link {
	color: #fff;
	text-decoration: none;
}

.menu2 ul a:visited {
	color: #fff;
	text-decoration: none;
}

.menu2 ul a:hover, .menu ul a:active {
	color: #fff;
	text-decoration: none;
}

.menu2 li {
	display: inline;
        margin: 0 15px 0 15px;
        padding-top 5px;
}

#panel .links {
	margin: 0;
	float: right;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
}

img.attachment {
	border: 1px solid #E9E5D7;
	padding: 2px;
}

hr {
	background-color: #000000;
	color: #000000;
	height: 1px;
	border: 0px;
}

#copyright {
	font: 11px 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	margin: 0;
	padding: 10px 0 0 0;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 0;
}

blockquote {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 4px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	margin: 4px 0;
}

blockquote cite span {
	float: right;
	font-weight: normal;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 4px;
}

.codeblock .title {
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	margin: 4px 0;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 13px;
}

.subforumicon {
	border: 0;
	vertical-align: middle;
}

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

form {
	margin: 0;
	padding: 0;
}

.popup_menu .popup_item_container {
	margin: 1px;
	text-align: left;
}

.popup_menu .popup_item {
	display: block;
	padding: 3px;
	text-decoration: none;
	white-space: nowrap;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.autocomplete {
	text-align: left;
}

.subject_new {
	font-weight: bold;
}

.highlight {
	background: #FFFFCC;
	padding-top: 3px;
	padding-bottom: 3px;
}

.pm_alert {
	background: #FFF6BF;
	border: 1px solid #FFD324;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.red_alert {
	background: #FBE3E4;
	border: 1px solid #A5161A;
	color: #A5161A;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

div.error {
	padding: 5px 10px;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #000;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #C00;
	background: url("images/blazered/error.gif") no-repeat 0;
}

div.error.ul {
	margin-left: 24px;
}

.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}

.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
}

.tfoot .pagination, .tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: bold;
}

.pagination .pagination_current, .pagination a {
	padding: 2px 6px;
	margin-bottom: 3px;
}

.pagination a {
	border: 1px solid #81A2C4;
}

.pagination .pagination_current {
	background: #F5F5F5;
	border: 1px solid #81A2C4;
	font-weight: bold;
	color: #000;
}

.pagination a:hover {
	background: #F5F5F5;
	text-decoration: none;
}

.thread_legend, .thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

.forum_legend, .forum_legend dt, .forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.post_body {
	padding: 5px;
}

.post_content {
	padding: 5px 10px;
}

.quick_jump {
	background: url("images/blazered/jump.gif") no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	vertical-align: middle;
	border: none;
}

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px;
}

._neutral {
	background-color:#FAFAFA;
	color: #999999;
	border:1px solid #CCCCCC;
}

._minus {
	background-color: #FDD2D1;
	color: #CB0200;
	border:1px solid #980201;
}

._plus {
	background-color:#E8FCDC;
	color: #008800;
	border:1px solid #008800;
}

.pagination_breadcrumb {
	background-color: #f5f5f5;
	border: 1px solid #fff;
	outline: 1px solid #ccc;
	padding: 5px;
	margin-top: 5px;
	font-weight: normal;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

#header {
background-image: url("images/blazered/header.png");
background-repeat: repeat-x;
}

.logo {
float: left;
height: auto;
}

.tcat {
background-image: url("images/blazered/tcat.png");
background-repeat: repeat-x;
color: #fff;
}

tbody[id*='cat'] tr:hover td.trow1, 
tbody[id*='cat'
] tr:hover td.trow2 {
background-image: url("images/blazered/rowhover.png");
background-repeat: repeat-x;
}

.posttopic {
padding: 3px;
background-color: red;
border-radius: 8px;
}

#breadcrumb {
	color: #fff;
	font-size: 11px;
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	background-image: url("images/blazered/bc_bg.png");
	background-repeat: repeat-x;
	height: 30px;
	line-height: 30px;
	border: solid 1px #000;
	margin: 0px;
	padding: 0px;
	position:fixed;
	bottom:0;
	vertical-align: bottom;
    width:100%;
	display: block;
}

#breadcrumb li {
    list-style-type:none;
    float:left;
    padding-left:10px;
}

#breadcrumb a {
    height:30px;
    display:block;
    background-image:url("images/blazered/bc_separator.png"); 
    background-repeat:no-repeat; 
    background-position:right;
    padding-right: 15px;
    text-decoration: none;
    color:#666;
    bottom: 0;
}

.home {
    border:none;
    margin: 8px 0px;
}

#breadcrumb a:hover {
	color:#999;
}

TABLE, TR, TD {
 
border-collapse:collapse; 
border:0px; 
border-spacing:0px;
}

.buttons {
    background: url("images/blazered/arrowright.png") no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url("images/blazered/arrowleft.png") no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

		
Then you said post this into it:
 .post_body_4 {
background: red;
}

		

Anyone?

I have got that working but can't find where to change the colour of the posts, any ideas?
Pages: 1 2