Welcome, Guest
Please Login or Register.  Lost Password?
Background Blend and Drop Shadow. (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Background Blend and Drop Shadow.

#6571
Background Blend and Drop Shadow. 1 Year, 2 Months ago  
Hi,

I want to add a background blend from top to bottom on the background only.

And also I want to add a drop shadow either side of the page to bring the site off the page a bit.

I can create the actual blend and graphics easily. (I have attached them) I just lack the skills to put them into the css file.

I have also attached my css file that has already been modified once or twice.

I think this will be a popular modification, But obviously we need to do it in a way to make it still fast!

Help would be massivly appreciated.
File Attachment:
File Name: boltmodifications.zip
File Size: 7884
David Dawson (User)
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
#6575
Re:Background Blend and Drop Shadow. 1 Year, 2 Months ago  
Hi Dave

For this you'd just need to change the body tag in the CSS. Change the background so it is an image instead of a color and that it repeats on the x axis:
Code:


background-image:url('image.gif');
background-repeat:repeat-x;

steve (Admin)
Admin
Posts: 2744
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Last Edit: 2009/06/23 11:36 By steve.
 
Any questions at all - just ask
 
The administrator has disabled public write access. 
#6576
Re:Background Blend and Drop Shadow. 1 Year, 2 Months ago  
ok I now have a background gradient that runs through the whole template.

I want to have white under the main site and the gradient only on either side.


I also want to put in a drop shadow on each edge of the template, is this possible?
David Dawson (User)
Posts: 59
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
#6581
Re:Background Blend and Drop Shadow. 1 Year, 2 Months ago  
For the main site that's relatively easy ... you'll need to change the body CSS tag.

For the drop shadow that's harder. One way to do it is to create an image that contains the drop shadow and the white background for the body.

Then apply that image to the body tag.
steve (Admin)
Admin
Posts: 2744
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Any questions at all - just ask
 
The administrator has disabled public write access. 
#6784
Re:Background Blend and Drop Shadow. 12 Months ago  
I've tried your recommendation.
Please tell me the exact changes because when I change the tbody to white, it changes a lot of other things also, so I know it is not tbody. Which exact label is it that I should change?

Thanks

here's my code:
Code:


/* CSS Reset */

html, tbody, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, 
abbr, acronym, address, big, cite, code, del, 
dfn, em, font, img, ins, kbd, q, s, samp, small, 
strike, strong, sub, sup, tt, var, b, u, i, 
center, dl, dt, dd, ol, ul, li, fieldset, form, 
label, legend, table, caption, tbody, tfoot, 
thead, tr, th, td {
background: transparent;
border: 0;
font-size: 100%;
margin: 0;
padding: 0;
outline: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* Resets font size to 10px. (1.2em will be 12px, etc.). */
body {
margin:0; 
padding:0; 
background-image: url('/'images/dddddd-bbbbbb.png'');
background-repeat: repeat;
color:#000;
font: 62.5%/1.2 Tahoma, Geneva, sans-serif;
}

reformedman (User)
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
Last Edit: 2009/09/10 18:18 By sambible. Reason: Fixed width issue
 
The administrator has disabled public write access. 
#6791
Re:Background Blend and Drop Shadow. 11 Months, 3 Weeks ago  
For starters, it is important to differentiate between "tbody" and "body". For this topic, "body" is the important one.

Try changing the first tbody in the CSS reset (immediately after "html" back to "body". Also, if your background image is in the Bolt images folder, you will need to add two dots to your path, like this:
Code:

background-image: url('/../images/dddddd-bbbbbb.png');
sambible (Admin)
Admin
Posts: 66
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access. 
Go to top