How to create a shaded border in WordPress
eileen 7th September 2010
If you would like to add a shaded effect behind your page in WordPress you need to insert this piece of code into your style sheet.
Dashboard >Appearance >Editor > Style.CSS
Look for this: /* You can add your own styles below this line. */
#page {
box-shadow: 10px 10px 10px #000;
-webkit-box-shadow: 10px 10px 10px #000;
-moz-box-shadow: 10px 10px 10px #000;
}
Note: change hex numbers to whatever you want.
To create a “call out box”, a piece of text that is highlighted in a special colored box, you will need to create a div code:
#beaches {
float:none;
height:600px;
background-color:#FFF3DF;
border-color:#FFF3DF;
border-style:none solid solid;
border-width:0 1px 1px;
font-family:Georgia,”Times New Roman”,Times,serif;
margin-bottom:10px;
margin-right: 0px;
margin-left:1px;
margin-top:15px;
padding:16px;
width600px;
box-shadow: 10px 10px 10px #000;
-webkit-box-shadow: 10px 10px 10px #A98A67;
-moz-box-shadow: 10px 10px 10px #A98A67;
}
Please modify the code according to your needs: height, width, font, margins, etc. I called this one beaches, but you name it whatever is appropriate.
Put that code:
Dashboard >Appearance >Editor > Style.CSS
Look for this: /* You can add your own styles below this line. */ add the code below this line
Then, go to the page where you want the call out box to appear. Just before the text that you wish to appear in the box, insert this <div id=”beaches”> text here then when you are done with the box close the div tag </div>.

Eileen Lonergan designs WordPress websites for small businesses. She is based in MA but is lucky enough to have clients all over the world. Questions on design or looking for a website, please call 508.317.7355 or email, eileen@eileenlonergan.com.

September 7th, 2010 at 5:48 pm
Eileen,
I always love reading your helpful posts. If only I could get around to implementing them. My blog could use a little spiffing up!
– Beth
September 8th, 2010 at 7:31 pm
Thank you Beth! I didn’t realize that you have been writing your blog for a year! I looked at it today, and I think it is elegant and calming – which makes me feel as if I am sitting near you while I read.
I love the name, I hope that you have bought it (I use http://BlueHost.com for my domain names and hosting).
I am guessing that you are on a free template (there are so many to choose from!) There are some templates that give you more flexibility than others, if you have options for your widgets you may want to show the titles of your recent posts, I find the titles are little juicy tidbits that are sometimes more compelling than the Archives list.
Also, make sure you do a backup! The wp-database backup is an easy one that will allow you to schedule backups to be emailed to you on a regular basis.
Another widget that some of my clients enjoy is LinkWithin.
In the meantime, thanks for your post, please keep writing and keep us posted on your adventures in CA!