Anabolica backround image Anabolica backround image
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Anabolica backround image

Started by Konstantinos, May 31, 2005, 07:41:41 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Konstantinos

Can somebody plz tell me how to modify the code to make the anabolica backround image to be at top right side instead of middle left? thanx

snork13

hello,


look in your themes/anabolica/style.css and find the body tag as shown below and look at background-position: left;body {
background-attachment: fixed;
background-color: #000000;
background-image: url(images/background.jpg);
background-position: left;
background-repeat: no-repeat;
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
margin: 0px;
margin: 0px;
scrollbar-3dlight-color: #555555;
scrollbar-arrow-color: #777777;
scrollbar-darkshadow-color: #333333;
scrollbar-face-color: #444444;
scrollbar-highlight-color: #444444;
scrollbar-shadow-color: #333333;
scrollbar-track-color: #333333;
}


the main problem i see when messing around is the hulk image is made to be left, you will see down by his foot. Also the themes/anabolica/template.html file is align to the right as shown below so you will to change to get the effect you what

<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<table width="80%" height="100%" border="0" cellpadding="20" cellspacing="20" align="right">


hope this gets you started, maybe with permisson you could do something with the hulk image to the effect. DaMysterious themes can be quit involved, make sure to make back-ups just in case of errors.

good luck,

snork13

Konstantinos

thanx still i cant figure out how to make it be in the right  ;D

snork13

Quote from: Konstantinos on June 01, 2005, 09:29:58 PM
thanx still i cant figure out how to make it be in the right  ;D


in themes/anabolica/style.css look for

body {
background-attachment: fixed;
background-color: #000000;
background-image: url(images/background.jpg);
background-position: left;
background-repeat: no-repeat;
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
margin: 0px;
margin: 0px;
scrollbar-3dlight-color: #555555;
scrollbar-arrow-color: #777777;
scrollbar-darkshadow-color: #333333;
scrollbar-face-color: #444444;
scrollbar-highlight-color: #444444;
scrollbar-shadow-color: #333333;
scrollbar-track-color: #333333;
}


and change to

body {
background-attachment: fixed;
background-color: #000000;
background-image: url(images/background.jpg);
background-position: right;
background-repeat: no-repeat;
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
margin: 0px;
margin: 0px;
scrollbar-3dlight-color: #555555;
scrollbar-arrow-color: #777777;
scrollbar-darkshadow-color: #333333;
scrollbar-face-color: #444444;
scrollbar-highlight-color: #444444;
scrollbar-shadow-color: #333333;
scrollbar-track-color: #333333;
}