You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
With the help from Nick and other forum members I have successfully replaced background image on my splash page's main body.
How do I do the same on my skin header (top of splash page), to the left & right of my Logo?
Offline
many thanks.
could you please provide instructions for a "low-tech" person :-)
is this the section in the all.css?:
body {
color: #333333;
background-color: #D2D2D2;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
text-align: left;
margin: 0px;
padding: 0px;
}
Offline
Yes. Assuming you put a background image in the same skin's media directory and call that bg.jpg, and you want to position it at the top center, stretching to the width of the browser, without allowing it to tile, or scroll with the page (you have tons of options):
body {
color: #333333;
background-color: #D2D2D2;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
text-align: left;
margin: 0px;
padding: 0px;
background-image: url('../media/bg.jpg');
background-position: top center;
background-attachment: fixed;
background-repeat: no-repeat:
background-size: 100% auto;
}
Offline
I am not sure if I did this correctly; my logo is still in the centre but the left & right sides are white colour.
Below is the body & Skin background details (the same image Movement_1.jpg is used- it works for the back ground but does not work for the skin header.
Probably doing something wrong
/* +------------------------------------------------------------+ */
/* | General XHTML Elements | */
/* +------------------------------------------------------------+ */
body {
color: #333333;
background-color: #D2D2D2;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
text-align: left;
margin: 0px;
padding: 0px;
background-image: url('../media/Movement_1.jpg');
background-position: top center;
background-attachment: fixed;
background-repeat: no-repeat:
background-size: 100% auto;
}
a {
color: #333333;
font-weight: normal;
text-decoration: underline;
cursor: pointer;
}
a:hover {
color: #000000;
}
/* +------------------------------------------------------------+ */
/* | Skin Background | */
/* +------------------------------------------------------------+ */
#skin_background {
/* background-color: #EFEFEF;*/
padding: 0px;
margin: 0px;
background-image: url('../media/Movement_1.jpg');
background-position: top left;
background-repeat: repeat;
background-attachment: fixed;
}
Offline
Hi George,
Try removing the background colour (background-color: #ffffff;) from your #skin_header. It might be overlaying colour to the image.
Cheers,
Bruce.
Offline
try this:
#skin_header { margin: 0px 0px 10px 0px; width: 100%; background-color: transparent /*#FFF*/; padding: 10px 0px 5px 0px; -moz-box-shadow: 0px 2px 2px #999999; -webkit-box-shadow: 0px 2px 2px #999999; box-shadow: 0px 2px 2px #999999; clear: both; }
Offline
Thanks west4 & Nigel;
Tried west4's first and it worked :-)
here is what I did:
#skin_header {
margin: 0px 0px 10px 0px;
width: 100%;
/*background-color: #FFF;*/
padding: 10px 0px 5px 0px;
-moz-box-shadow: 0px 2px 2px #999999;
-webkit-box-shadow: 0px 2px 2px #999999;
box-shadow: 0px 2px 2px #999999;
clear: both;
}
Offline
one more thing......
There is a horizontal line above and below my logo which looks rather untidy
Is there a way these can be removed?
Here is the link to my Web site to view the issue:
http://www.watchwinderworks.com.au/index.php
Offline
remove or comment out the box-shadow: line from both the #skin_top and #skin_header classes
Offline
Thank you very much.
I tried the #skin_top first and it worked :-)
here is what I've done in "all.css":
/* +------------------------------------------------------------+ */
/* | Skin Layout Divs: Top | */
/* +------------------------------------------------------------+ */
#skin_top {
margin: 0px;
width: 100%;
background-color: #000000;
padding: 5px 0px 5px 0px;
-moz-/*box-shadow: 0px 2px 2px #555555;
-webkit-box-shadow: 0px 2px 2px #555555;
box-shadow: 0px 2px 2px #555555;
z-index: 10;*/
}
Offline
#skin_top {
margin: 0px;
width: 100%;
background-color: #000000;
padding: 5px 0px 5px 0px;
/*-moz-box-shadow: 0px 2px 2px #555555;
-webkit-box-shadow: 0px 2px 2px #555555;
box-shadow: 0px 2px 2px #555555;*/
z-index: 10;
}
Offline
Pages: 1