Archived

This topic is now archived and is closed to further replies.

  • 0

Adding shadow and border to content area


Question

Posted · Report post

Hi

 

I am trying to add shadow and border to the white content area on http://version2manometer.wpforalle.dk/. I tried using:

 

.page-canvas {
-moz-box-shadow: 0 0 5px #B7A2A3;
-webkit-box-shadow: 0 0 5px #B7A2A3;
box-shadow: 0 0 5px #B7A2A3;
}

 

but I can't find the right selector?

 

:-D

Bolette

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Ok, I changed the layout so I could add the "build-in" shadow :-)

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

For purposes of an testing, I came up with

.content .content-pad {
    border-left: 2px solid red;
    border-right: 2px solid red;
    padding: 15px;
}

Unfortunately, I can't find the right bit to put a border at the bottom.  If you add border-bottom: 2px solid red; the border goes in all the wrong places.

 

With the layout you're using, page-canvas doesn't seem to work properly.

Share this post


Link to post
Share on other sites

Posted · Report post

Great.

Share this post


Link to post
Share on other sites