WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar (11 posts)

  1. Dbo
    Member
    Posted 4 years ago #

    Could anyone tell me which part of the css file im supposed to modify to enlarge my sidebar ?

  2. Samuel B
    moderator
    Posted 4 years ago #

    a link will definitely help

  3. Dbo
    Member
    Posted 4 years ago #

  4. Samuel B
    moderator
    Posted 4 years ago #

    in your theme's style.css, look for this

    #sidebar {
    
    		float: left;
    
    		width: 295px;
    
    		font: bold 14px/18px "Arial", Arial;
    
    		color: #FFFFFF;

    you will likely need to widen your header to match

    back up 1st

  5. Shane G
    Member
    Posted 4 years ago #

    Hi,

    You need to edit the sidebar tag settings in style.css for the widen the width of the sidebar. But make sure that you have to also widen the width of header.

    NOTE: make sure that your theme is not a fixed-width.

    Thanks,

    Shane G.

  6. Dbo
    Member
    Posted 4 years ago #

    How can I make sure my theme is not a fixed-width ? And what do I do if it is ?

    Lastly, how do I widen my header ?

    Thanks again for the help.

  7. Samuel B
    moderator
    Posted 4 years ago #

    Shane is just being his usual parrot self - not to worry

    here is the header info in the stylesheet

    #header {
    
    	width: 890px;
    
    	height: 320px;
    
    	position: relative;

    as you can see by position: relative it's not fixed width

    do the sidebar adjustment 1st and see how it looks in FF and IE - adjust the header width if needed

  8. Dbo
    Member
    Posted 4 years ago #

    thank you very much for the help, I really appreciate it.

  9. Dbo
    Member
    Posted 4 years ago #

    Samboll, I don't want to create an entire other thread for this but do you also know how to change the background color of the sidebar ? I know its currently #333333 and I tried searching for it in the style.css but was unsuccessful and don't know where else to look which is why I'm asking here.

  10. Samuel B
    moderator
    Posted 4 years ago #

    did you get it?
    I see the background is #FFFFFF now

  11. Dbo
    Member
    Posted 4 years ago #

    Well I resolved my latest problem related to the color which btw I thank you for but I wasn't able to try out the advice you gave me regarding the sizes of the header and sidebar until now and I am having a bit of difficulty. I am unable to reduce the horizontal length of where the main content is being posted.

    On the other hand, I am able to make the sidebar widen up a bit but then it moves out of its place and just goes under the main content and leaves the gray background where it was. Here is a picture since this is somewhat hard to type out ;

    http://i26.tinypic.com/e9hf88.jpg

    What I understand from this is that the sidebar is actually widening from the number of pixels requested but that gray area isn't. Does that mean it's not part of the sidebar ? I sure hope not.. Anyways, please let me know what you think.

Topic Closed

This topic has been closed to new replies.

About this Topic