Jump to content

Skinning the sidebar


md82

Recommended Posts

  • Administrators

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;

B)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...