forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Konstantinos on May 31, 2005, 07:41:41 pm

Title: Anabolica backround image
Post by: Konstantinos on May 31, 2005, 07:41:41 pm
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
Title: Re: Anabolica backround image
Post by: snork13 on June 01, 2005, 12:29:40 am
hello,


look in your themes/anabolica/style.css and find the body tag as shown below and look at background-position: left;
Code: [Select]
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

Code: [Select]
<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
Title: Re: Anabolica backround image
Post by: Konstantinos on June 01, 2005, 09:29:58 pm
thanx still i cant figure out how to make it be in the right  ;D
Title: Re: Anabolica backround image
Post by: snork13 on June 01, 2005, 10:52:57 pm
thanx still i cant figure out how to make it be in the right  ;D


in themes/anabolica/style.css look for

Code: [Select]
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

Code: [Select]
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;
}