Skip to main content

Rika Y's Library tagged shadow   View Popular

26 Nov 06

How to create a custom K2 Scheme: Part 1 - JohnTP.com

  • Shadow Effect


    If you want to add a shadow effect to your blog’s sidebar, like I have on this scheme, create an image of about 1 pixel height and 11 pixel width (these are the values of my sidebar shadow). You can change the images size to fit your blog. Then add this code to the page selector.


    background: #fff url('sidebar.jpg') !important; /*#fff sets the background color of the page and url('sidebar.jpg') sets the sidebar image*/

    background-repeat: repeat-y !important; /*this makes the sidebar shadow repeat vertically*/

    background-position: right !important; /*this set the position of the background image to the right side*/

    _background: #fff url('sidebar.jpg') !important; /*these are for IE*/

    _background-repeat: repeat-y;

    _background-position: right;


    I have explained what the above codes do in comments.

1 - 6 of 6
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo