Need help? Check out our Support site, then


Sidebar width issues for dummies

  1. Hi everyone, I'd really love some help with my sidebar issue, if that's OK. I'm a real dummy where HTML/CSS is concerned - I managed to play with the code of the Contempt theme, and had my blog displaying beautifully, but then all of a sudden the width of the sidebar shrunk - I'd cleverly retained a backup copy of my blog code and re-pasted it all, and that fixed my blog for a short while - but this time it doesn't matter what I do I can't get the blog settings back again. If anyone could offer advice, I'd be really really grateful. I've copied the entire code below - thanks in advance to anyone who can offer assistance!
    Cheers,
    Anne

    body {
    font-size:62.5%;
    font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
    background-color:#c3cae3;
    color:#333;
    text-align:center;
    margin:0;
    padding:0;
    }

    #topbar {
    max-width:940px;
    height:25px;
    line-height:23px;
    background:#6E7B8B;
    overflow:hidden;
    border-bottom:1px black solid;
    margin:0;
    }

    #topbar a,#topbar {
    font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
    text-align:right;
    padding-right:5px;
    }

    #pagebar {
    width:940px;
    height:35px;
    border-bottom:1px black solid;
    margin:0;
    padding:0;
    }

    #pagebar a {
    font-family:"Trebuchet MS", Verdana, Arial, Sans-Serif;
    color:#2e3342;
    font-size:1.5em;
    display:block;
    float:left;
    border-right:1px #CECECE solid;
    text-align:center;
    height:27px;
    padding:8px 15px 0;
    }

    #pagebar a:hover {
    background-color:#CECECE;
    text-decoration:none;
    }

    #pagebar li {
    list-style:none;
    }

    .entry {
    font-size:1.2em;
    font-family:Verdana;
    overflow:hidden;
    }

    #page {
    text-align:left;
    background-color:white;
    width:940px;
    border:0;
    margin:0 auto;
    padding:0;
    }

    #header {
    border-bottom:1px black solid;
    height:240px;
    width:100%;
    background-color:#73a0c5;
    margin:0 auto;
    padding:0;
    }

    #content {
    float:left;
    width:610px;
    margin:-60px 40px 0 0;
    padding:0 0 20px 40px;
    }

    #content .entry {
    line-height:1.5em;
    }

    .alt {
    background-color:#f8f8f8;
    border-top:1.5px solid #2e3342;
    border-bottom:1px solid #2e3342;
    margin:0;
    padding:10px;
    }

    #footer {
    background-color:#eee;
    width:940px;
    clear:both;
    border-top:1px black solid;
    margin:0 auto;
    padding:0;
    }

    small {
    font-family:Verdana, Helvetica, Sans-Serif;
    font-size:1.2em;
    line-height:1.8em;
    }

    small.cats {
    text-transform:uppercase;
    font-family:Helvetica, Verdana;
    font-size:1.2em;
    }

    h1,h2,h3 {
    font-family:'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-weight:bold;
    }

    h1 {
    font-size:4em;
    color:#2e3342;
    text-align:center;
    padding-top:40px;
    margin:0;
    }

    .description {
    font-size:1.2em;
    text-align:center;
    margin-top:-5px;
    }

    h2 {
    font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-size:2.1em;
    color:#2e3342;
    margin:30px 0 0;
    }

    h2.pagetitle {
    font-size:1.6em;
    margin-top:30px;
    text-align:center;
    }

    #sidebar h2 {
    font-family:Verdana, Sans-Serif;
    font-weight:bold;
    text-indent:10px;
    background-color:#B6bdd5;
    color:#2e3342;
    text-transform:uppercase;
    font-size:1.4em;
    margin:0;
    padding:3px 0;
    }

    h3 {
    font-size:1.3em;
    margin:30px 0 0;
    padding:0;
    }

    h1,h1 a,h1 a:hover,h1 a:visited,.description {
    text-decoration:none;
    color:#B0C7FF;
    }

    h2,h2 a,h2 a:visited,h3,h3 a,h3 a:visited {
    color:#333;
    }

    h2,h2 a,h2 a:hover,h2 a:visited,h3,h3 a,h3 a:hover,h3 a:visited,#sidebar h2,#wp-calendar caption,cite {
    text-decoration:none;
    }

    .entry p a:visited {
    color:#b85b5a;
    }

    .commentlist li,#commentform input,#commentform textarea {
    font:'Lucida Grande', Verdana, Arial, Sans-Serif;
    }

    .commentlist li.depth-1 {
    font-size:1.1em;
    }

    .commentlist li {
    font-weight:bold;
    list-style:none;
    margin:15px 0 3px;
    padding:5px 10px 3px;
    }

    .commentlist cite,.commentlist cite a {
    font-weight:bold;
    font-style:normal;
    font-size:1.1em;
    }

    .commentlist p {
    font-weight:normal;
    line-height:1.5em;
    text-transform:none;
    margin:10px 5px 10px 0;
    }

    .commentlist .avatar {
    float:right;
    border:1px solid #ddd;
    padding:2px;
    }

    p.about {
    text-align:center;
    background-color:#F8F8F8;
    font-size:1.2em;
    font-family:Arial, Verdana, Sans-Serif;
    }

    #commentform p {
    font-family:'Lucida Grande', Verdana, Arial, Sans-Serif;
    margin:5px 0;
    }

    .commentmetadata {
    font-weight:normal;
    font-size:1em;
    display:block;
    margin:0;
    }

    #sidebar {
    font:1.1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
    width:215px;
    margin:0 0 0 610px;
    padding:10px 0;
    }

    small,#sidebar ul ul li,#sidebar ul ol li,.nocomments,.postmetadata,blockquote,strike {
    color:#777;
    }

    code {
    font:1.1em 'Courier New', Courier, Fixed;
    }

    #pagebar li.page_item {
    display:inline;
    }

    acronym,abbr,span.caps {
    font-size:.9em;
    letter-spacing:.07em;
    cursor:help;
    }

    a,h2 a:hover,h3 a:hover {
    color:#7D9EC0;
    text-decoration:none;
    }

    a:hover {
    color:#C67171;
    text-decoration:underline;
    }

    #wp-calendar #prev a {
    font-size:9pt;
    padding-left:10px;
    text-align:left;
    }

    #wp-calendar a {
    text-decoration:none;
    display:block;
    }

    #wp-calendar caption {
    font:bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
    text-align:center;
    width:100%;
    }

    #wp-calendar th {
    font-style:normal;
    text-transform:capitalize;
    }

    #headerimg {
    height:240px;
    width:100%;
    background-image:url('http://i19.photobucket.com/albums/b193/shakatak66/FeatherStitchingNormal21Oct09.jpg');
    margin:0;
    }

    .post {
    margin:0 0 30px;
    }

    .widecolumn .post {
    margin:0;
    }

    .sticky h2 {
    background:#5581C0;
    color:white;
    padding:10px;
    }

    .postmetadata {
    clear:both;
    }

    .narrowcolumn .postmetadata {
    padding-top:5px;
    }

    .widecolumn .postmetadata {
    margin:30px 0;
    }

    #footer p {
    text-align:center;
    margin:0;
    padding:10px 0;
    }

    h3.comments {
    margin:40px auto 20px;
    padding:0;
    }

    p img {
    margin:0 5px;
    padding:0;
    }

    img.centered,img.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
    }

    img.alignright {
    display:inline;
    margin:0 0 2px 7px;
    padding:4px;
    }

    img.alignleft {
    display:inline;
    margin:0 7px 2px 0;
    padding:4px;
    }

    .alignright {
    float:right;
    }

    .alignleft {
    float:left;
    }

    html>body .entry ul {
    margin-left:0;
    list-style:none;
    text-indent:-10px;
    padding:0 0 0 10px;
    }

    html>body .entry li {
    margin:7px 0 8px 10px;
    }

    .entry ul li:before,#sidebar ul ul li:before {
    content:"o ";
    }

    :first-child+html>body .entry ul {
    margin-left:0;
    list-style:disc;
    text-indent:10px;
    padding:0 0 0 10px;
    }

    :first-child+html>body .entry ul li {
    margin:7px 0 8px 10px;
    }

    .entry ol {
    margin:0;
    padding:0 0 0 35px;
    }

    .entry ol li {
    margin:0;
    padding:0;
    }

    .postmetadata ul,.postmetadata li {
    display:inline;
    list-style-type:none;
    list-style-image:none;
    }

    #sidebar ul,#sidebar ul ol {
    margin:0;
    padding:0;
    }

    #sidebar ul li {
    list-style-type:none;
    list-style-image:none;
    margin-bottom:20px;
    }

    #sidebar ul p,#sidebar ul select {
    margin:4px 0 8px;
    }

    #sidebar ul ul,#sidebar ul ol,#sidebar ul div {
    background-color:#F8F8F8;
    border:1px #2E5D99 solid;
    padding:8px;
    }

    #sidebar ul div.textwidget ul {
    border:0;
    }

    #sidebar .widget {
    overflow:hidden;
    }

    #sidebar ul ul ul,#sidebar ul ol {
    background:transparent;
    border:none;
    margin:0 0 0 10px;
    padding:0;
    }

    #sidebar ul div div {
    background:transparent;
    border:none;
    margin:0;
    }

    ol li,#sidebar ul ol li {
    list-style:decimal outside;
    }

    #sidebar ul ul li,#sidebar ul ol li {
    margin:3px 0 0;
    padding:0;
    }

    #searchform {
    text-align:center;
    margin:10px auto;
    }

    #sidebar #searchform #s {
    margin-top:8px;
    width:115px;
    padding:2px;
    }

    #sidebar #searchsubmit {
    padding:1px;
    }

    .entry form {
    text-align:center;
    }

    select {
    width:130px;
    }

    #commentform input {
    width:170px;
    margin:5px 5px 1px 0;
    padding:2px;
    }

    #commentform textarea {
    width:100%;
    padding:2px;
    }

    #commentform #submit {
    float:right;
    margin:0;
    }

    .commentlist {
    text-align:justify;
    padding:0;
    }

    .nocomments {
    text-align:center;
    margin:0;
    padding:0;
    }

    #sidebar form {
    margin:0;
    }

    #wp-calendar {
    empty-cells:show;
    width:155px;
    margin:10px auto 0;
    }

    #wp-calendar #next a {
    padding-right:10px;
    text-align:right;
    }

    #wp-calendar td {
    text-align:center;
    padding:3px 0;
    }

    #wp-calendar td.pad:hover {
    background-color:#fff;
    }

    acronym,abbr {
    border-bottom:1px dashed #999;
    }

    blockquote {
    padding-left:20px;
    border-left:5px solid #ddd;
    margin:15px 30px 0 10px;
    }

    blockquote cite {
    display:block;
    margin:5px 0 0;
    }

    .center {
    text-align:center;
    }

    hr {
    height:1px;
    color:#AAAAAA;
    background-color:#AAAAAA;
    border:0;
    }

    a img {
    border:none;
    }

    .navigation {
    display:block;
    text-align:center;
    margin-top:10px;
    margin-bottom:30px;
    }

    #akismetwrap #akismetstats {
    margin:0 auto;
    }

    .aligncenter,div.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
    }

    .wp-caption {
    border:1px solid #ddd;
    text-align:center;
    background-color:#f3f3f3;
    padding-top:4px;
    -moz-border-radius:3px;
    -khtml-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    margin:10px;
    }

    .wp-caption img {
    border:0 none;
    margin:0;
    padding:0;
    }

    .wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
    }

    The blog I need help with is shakatak66.wordpress.com.

  2. Are you adding that CSS to the existing code or are you starting completely from the underlying theme?

    You seem to have a problem with the margins and padding. They don't line up and you're using negative amounts where you really don't need to be using them.

  3. I added to the existing code originally, and just kept changing items and previewing to work out what each item did. See, I told you I was a real dummy at this!!! I did notice that when the page loads, the original theme loads in the background, then my new changes overlay on top, which is obviously not ideal!

    I keep thinking perhaps I should try a new theme and tweak it, but I really do like the overall look that I have now and the clean lines and colours ... it's just that right sidebar that no longer works :/

Topic Closed

This topic has been closed to new replies.

About this Topic