Jump to content


- - - - -

Background skin color


  • Please log in to reply
3 replies to this topic

#1 makis09

makis09

    Member

  • Members
  • PipPipPip
  • 20 posts
  • Location:Italy
  • Real Name:Dj Mike
  • IPB Version:v2.3.x

Posted 18 April 2010 - 09:52 AM

Hi,

I want to ask how can i change the color of skin background and if it possible to use an picture for background

#2 TX5

TX5

    Coder

  • Members
  • PipPipPipPipPip
  • 228 posts
  • Location:brisbane
  • Real Name:james
  • IPB Version:v2.3.x

Posted 09 May 2010 - 05:29 AM

go to ACP

LOOK & FEEL TAB

choose the drop down for the skin you wish to edit

edit skin style sheet advanced

find

body{ 
	background: #000000 url(style_images/YOURSKIN/Background_New.jpg);
	color: #dedede;
	font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
	font-size: 11px;
	line-height: 135%;
	margin: 0px;
	padding: 0px; /* required for Opera to have 0 margin */
	text-align: center; /* centers board in MSIE */
}

THE ABOVE CODE IS AN EXAMPLE TAKEN FROM MY FORUM

#3 Sandi

Sandi

    Coder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 812 posts
  • Location:Janesville, Wisconsin
  • Real Name:Sandra
  • IPB Version:v3.2.x
Contributor

Posted 09 May 2010 - 11:57 PM

If you use a large background image and want it anchored, rather than scroll with the form you can use:

background: #000000 url(style_images/YOURSKIN/Background_New.jpg) no-repeat;
background-attachment:fixed;

Posted Image


#4 Overlord666

Overlord666

    n00b

  • Members
  • Pip
  • 1 posts
  • Real Name:Peter Hornsby
  • IPB Version:v2.3.x

Posted 21 January 2012 - 01:47 AM

Thanks that may help me get rid of the white backgrounds on some skins
Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users