Jump to content

Download: Battlefield P4F [codegame.net]


CodeGame

Recommended Posts

Posted

Ok. I wanna change background picture in url('{style_images_url}/_custom/bg/1.jpg'). I need it for all the screen.

/* CORE ELEMENT STYLES */

html, body { /* Safari has trouble with bgcolor on body. Apply to html tag too. */
    color: #d2d2d2;
    background: url("{style_images_url}/_custom/bg.jpg") repeat scroll center top #111;
}

#ipbwrapper{
    min-width: 990px;
    margin: 0 auto;
width: 85%;
}

body { 
min-height: 800px;
background-color: transparent; background-image: url('{style_images_url}/_custom/bg/1.jpg'); 
background-position: center 0; 
background-repeat: no-repeat;
position: relative;
font: normal 13px helvetica, arial, sans-serif;
}

I configure code to this:

/* CORE ELEMENT STYLES */

html, body { /* Safari has trouble with bgcolor on body. Apply to html tag too. */
	background: url({style_images_url}/_custom/bg/atlas.jpg) no-repeat center center fixed;
        background-size:100% 100%;
	color: #c2c2c2;
}

body {
font: normal 13px helvetica, arial, sans-serif;
	position: relative;
}

But now main-width is 100% and I can`t change it. How can I fix it?

Posted

Do you removed #ipbwrapper?
This can't be removed!

change to

/* CORE ELEMENT STYLES */

html, body { /* Safari has trouble with bgcolor on body. Apply to html tag too. */
    color: #d2d2d2;
    background-size:100% 100%;
    background: url("{style_images_url}/_custom/bg/atlas.jpg") no-repeat center top fixed;
}

#ipbwrapper{
    min-width: 990px;
    margin: 0 auto;
width: 85%;
}

body { font: normal 13px helvetica, arial, sans-serif; }
  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...