# Skinning the sidebar

**URL:** <https://forum.phpvms.net/t/skinning-the-sidebar/2871>\
**Category:** Skinning - Legacy phpVMS (v2/v5)\
**Created:** [June 16, 2010, 9:13pm UTC](https://forum.phpvms.net/t/skinning-the-sidebar/2871 "2010-06-16T21:13:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![md82](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/3da27b/32.png) [@md82](https://forum.phpvms.net/u/md82)\
**Post date:** [June 16, 2010, 9:13pm UTC](https://forum.phpvms.net/t/skinning-the-sidebar/2871/1 "2010-06-16T21:13:13Z")

</div>

how do I skin the sidebar of my website ? I’m goin for a grey backround, with each module in its own little box with a blue header image..

---

<div class="post-metadata">

**Author:** ![md82](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/3da27b/32.png) [@md82](https://forum.phpvms.net/u/md82)\
**Post date:** [June 16, 2010, 10:30pm UTC](https://forum.phpvms.net/t/skinning-the-sidebar/2871/2 "2010-06-16T22:30:57Z")

</div>

idea for the header image for the log in box of my sidebar..

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [June 17, 2010, 12:39am UTC](https://forum.phpvms.net/t/skinning-the-sidebar/2871/3 "2010-06-17T00:39:28Z")

</div>

Without a link to the site I am not sure what you have the sidebar \<div\> named but you would need to create some div classes within that sidebar division with some background colors or pics for backgrounds, or you can directly call an image within the division -\>

```
<div class="sidebar">
  <img src="path/to/your/image" alt="your image" />
   Text
   Text
</div>

```

or create a new div in your css file

```
CSS

.newdiv {
 width: (sidebar width);
 height: (height of image);
 background: url(path/to/your/image);
 }

```

then in your template call

```
<div class="sidebar">
  <div class="newdiv"></div>
   Text
   Text
</div>

```

Or just add a background color to your sidebar css with

```
background: #colorcode;

```

---

<div class="post-metadata">

**Author:** ![md82](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/3da27b/32.png) [@md82](https://forum.phpvms.net/u/md82)\
**Post date:** [June 17, 2010, 12:52am UTC](https://forum.phpvms.net/t/skinning-the-sidebar/2871/4 "2010-06-17T00:52:02Z")

</div>

thanks for the quick reply ! I will see what I can do !

linky

[http://allegiantvirtual.com](http://allegiantvirtual.com)
