This blog is NOFOLLOW Free!
Posted @ 6:15 pm

As you may know, I am helping to administer The Woolly Mom. However, the theme we are using doesn’t have a dynamic sidebar. I must correct this! The steps: Decide the layout, Write the CSS, Make it dynamic, Add the Widgets.

Today’s Topic: Expand The Sidebar Width

I know that I don’t want to use h2 tags for the titles due to search relevancy, so I’m just going to use div’s for everything to keep it simple. The first thing I want to do though is to make her sidebar a bit wider so that she may fit side-by-side 125×125 ads in it. I also think that it would be helpful if her navigation were under the top graphic as well, so I’m going to run with that. To that end, I first need to do some image editing in The Gimp in order to expand her right sidebar’s width. Here’s the Before:

Woollymom Sidebar Before

And the After:

Woollymom Sidebar After

Editing the images themselves was pretty easy as all it really involved was some copying and pasting, so I won’t go into the finer details there. I’ll make a few points about the CSS changes though. To do this with the CSS I first changed the left hand content CSS from:

#content {
    background-image:url(images/bodybg.jpg);
    background-repeat:repeat-y;
    background-color:#D5E09E;
    float: left;
    width: 632px;
    padding: 10px;
}

to:

#content {
    background-image:url(images/bodybg.jpg);
    background-repeat:repeat-y;
    background-color:#D5E09E;
    float: left;
    width: 600px;
    padding: 10px;
}

Then altered the right sidebar from:

#sidebar {
    width: 248px;
    float: right;
    padding: 0px;
    margin: 0px;
}

to:

#sidebar {
    width: 280px;
    float: right;
    padding: 0px;
    margin: 0px;
}

Viola, an expanded Sidebar! Tomorrow I’ll start making changes to the contents of the sidebar and work on new navigation.

Rate this with SezWho :
2.5

Bookmark and Share

Rate this post:
1 Star - So-so...2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars - GREAT! (2 votes, average: 10 out of 10)
Loading ... Loading ...



Related Posts


  ∫  


Categories:   Design / Maintenace   •   Running a Website

Tags:     •     •  






RSS feed

Comments

No comments yet.

Sorry, the comment form is closed at this time.

 
Subscribe to
The Webmaster's Edge RSS

Subscribe by
E-Mail Subscription


Recent Posts Title
Recent Posts NoDisplay
Categories Title
Categories NoDisplay
Comments Title
Tag Cloud Title
Tag Cloud NoDisplay
Archives Title
Archives NoDisplay
Commentators
  • No commentators.
Shop Cloud Title
Shop Cloud