Support » Themes and Templates » How to adjust the sidebar width?

  • Resolved lillier


    Hello, i would like to adjust the width of the sidebar, but i’m search for style sheet there’s nothing i can’t change but only the content’s width.

    i would like to make my post area wider, so tat i not need to resize my photo in the post and the side bar content will not fall on my post content,


Viewing 15 replies - 1 through 15 (of 49 total)
  • Moderator keesiemeijer



    url to website please?

    and please help me, i found one big problem.
    you may click any one under the categories in the sidebar,
    why it only showing 1 or maybe half post but not all posts under the same categories.

    thank you.

    Moderator keesiemeijer



    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme 2010 to rule out any theme-specific problems?

    Hello, thank for your reply ^^

    i’ve tried deactivating all the plugin but the problem of post disply is still exits.

    and i try switch to default them and dun have any problem with the disply.
    Only this theme have the problem.

    This really make me go insane….

    and i have another wordpress site , i switch to this theme but it working normal don’t have the problem i mention above.

    What wrong with my current site?

    Moderator keesiemeijer



    try this as well

    re-upload the wp-admin and wp-includes folders from a fresh download of WordPress? Make sure the version of the WordPress download is the same as the one you use

    will it delete or make changes to my current site?
    afraid of data loss …


    Moderator keesiemeijer



    No this will not delete or make any changes to your site. All your data is in the Database and all your theme and personal files are in the “wp-content” folder. Just re-upload these two folders “wp-admin” and “wp-includes”

    ok, i’m trying now~
    thank for your help. Hopes it works!

    Ooops… the problem still exits ….
    what can i do now ?

    Moderator keesiemeijer



    can you post the code in your category.php (if you have one) or archive.php in the pastebin and give the link back here.

    edit your css file with

    img.alignnone {
    margin:3px 10px 2px 0;
    padding:4px 4px 4px 0;

    to keesiemeijer:

    here is the archieve.php


    Thank you~

    to chinmoy:

    not really know ho to edit, my css below img are in this way:

    /* Floats & Images */
    .right { float: right; }
    .left { float: left; }
    .middle {margin: 0 auto;float:left;}
    .clear { clear: both; }
    img.centered{display: block;margin-left: auto;margin-right: auto;max-width:950px}
    img.alignright{padding: 4px 0 4px 4px;margin: 3px 0 2px 10px;display: inline;max-width:950px}
    img.alignleft,img.attachment-post-thumbnail{padding: 4px 4px 4px 0;margin: 3px 10px 2px 0;display: inline;max-width:950px}
    img.alignnone{padding:4px 4px 4px 0; margin:3px 10px 2px 0;display: block;max-width:950px}
    .alignleft,.attachment-post-thumbnail{float: left;}
    .alignright{float: right;}
    .aligncenter,div.aligncenter {display: block;margin-left: auto;margin-right: auto;}
    .thumbnail, .attachment-thumbnail, #featured-section .timthumbnail, .archive .timthumbnail, .search .timthumbnail, #category-stack .timthumbnail {max-width:150px;margin:0 1.5em 1.5em 0;float:left}
    .alignright .attachment-thumbnail {margin-right:0}
    .attachment-medium {max-width:950px;overflow:hidden;display: inline}
    .attachment-large {max-width:950px;overflow:hidden;display: inline}
    .content .size-medium, content size-large {margin: 0 1.5em 1.5em 0}
    .home .size-medium, .home .size-large {max-width:590px; height:auto; overflow:hidden;margin:0 .5em .5em 0;}
    .gallery {display: block;clear: both;overflow: hidden;margin: 0 auto;}
    .gallery .gallery-row {display: block;clear: both;overflow: hidden;margin: 0;}
    .gallery .gallery-item {overflow: hidden;text-align: center;list-style: none;padding: 0; margin: 0 auto;}
    .gallery .gallery-item img, .gallery .gallery-item img.thumbnail {max-width: 100%;height: auto;padding: 0;border:none !important;}
    .gallery-caption {margin-left: 0;}
    .gallery-item .attachment-thumbnail {float:none !important;margin:0 auto;}
    .gallery-item dd{clear:both}

    /* Image sizes depending on the number of columns */
    .col-0 { width: 100%; }
    .col-1 { width: 100%; }
    .col-2 { width: 50%; }
    .col-3 { width: 33%; }
    .col-4 { width: 25%; }
    .col-5 { width: 20%; }
    .col-6 { width: 16.5%; }
    .col-7 { width: 14%; }
    .col-8 { width: 12.4%; }
    .col-9 { width: 11%; }
    .col-10 { width: 10%; }
    .col-11 { width: 9%; }
    .col-12 { width: 8.33%; }
    .col-13 { width: 7.6%; }
    .col-14 { width: 7.1%; }
    .col-15 { width: 6.66%; }
    .col-16 { width: 6.25%; }
    .col-17 { width: 5.83%; }
    .col-18 { width: 5.55%; }
    .col-19 { width: 5.25%; }
    .col-20 { width: 4.95%; }

    try this the_post_thumbnail( ‘thumbnail’ ); in your archieve.php page

Viewing 15 replies - 1 through 15 (of 49 total)
  • The topic ‘How to adjust the sidebar width?’ is closed to new replies.