REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Endeavoring To Change My Forum's Background
#1
Here is the code I have for global.css:


Quote:body {
background: rgb(135,224,253); /* Old browsers */
background: -moz-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(2,36,73,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(135,224,253,1)), color-stop(100%,rgba(2,36,73,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* W3C */
filter: progidBig GrinXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#022449',GradientType=0 ); /* IE6-9 */
color: url *******;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}



I have tried:

Quote:body { background-image : url(**tp*******om/9oy1Jio.***)

All that does is ruin the whole layout of the theme. Thanks kindly, guys.
Reply
#2
You also need other css based property of body task mate
You code should be
body { background-image : url(**tp*******om/9oy1Jio.***);
color: url *******;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}
Try it
WallBB Premium MyBB Themes
PM me for any type of support Smile
Reply
#3
Are you sure you are using proper formatting?
Reply
#4
(Jan 09, 2014, 04:05 PM)Effexion Wrote: Here is the code I have for global.css:


Quote:body {
background: rgb(135,224,253); /* Old browsers */
background: -moz-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(2,36,73,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(135,224,253,1)), color-stop(100%,rgba(2,36,73,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(135,224,253,1) 0%,rgba(2,36,73,1) 100%); /* W3C */
filter: progidBig GrinXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#022449',GradientType=0 ); /* IE6-9 */
color: url *******;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}



I have tried:

Quote:body { background-image : url(**tp*******om/9oy1Jio.***)

All that does is ruin the whole layout of the theme. Thanks kindly, guys.


What are you trying to change it to?
Reply
#5
By "ruin", I take it you mean that it looks out of place. Changing the background property to something like this would probably work.

Code:
background: #030303 url(../path/to/) repeat;

This would make the background color #030303, use the image specified, and repeat the image. To prevent the image from repeating simply change "repeat" to "non-repeat".
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Looking for dark background smilies MonsterMMORPG 1 507 Sep 19, 2017, 10:07 AM
Last Post: alenkam
  MyBB change index page? Yoshistr 7 4,214 Aug 21, 2017, 07:40 AM
Last Post: Frances
  mybb change forum date - time RPG 3 3,852 Apr 19, 2017, 12:53 AM
Last Post: Barbarjreusser
  HOw to change font size sanket 2 2,195 Oct 04, 2015, 06:54 PM
Last Post: Crash Override
  How to change Posts/Threads/Joined time? Anime 2 2,237 Dec 13, 2014, 09:47 AM
Last Post: Anime

Forum Jump:


Users browsing this thread: 1 Guest(s)