WordPress.org

Support

Support » Themes and Templates » Sugar and Spice » [Resolved] Side Bar

[Resolved] Side Bar

Viewing 13 replies - 1 through 13 (of 13 total)
  • Regarding your queestion how to adjust the size of the sidebar to make it fit:
    Create a child theme of your Sugar & Spice theme http://codex.wordpress.org/Child_Themes

    Then edit the CSS of your child theme like this:

    from

    #sidebar {
        width: 300px;
        float: right;
    }

    to

    #sidebar {
        width: 400px;
        float: right;
    }

    This will make the sidebar width a bit bigger. You can adjust the width as you like. In this example I changed it from 300px to 400px.

    Then change the page width:

    from

    #page {
        width: 1008px;
        margin: 2em auto 0;
    }

    to

    #page {
        width: 1108px;
        margin: 2em auto 0;
    }

    This will increase the page width. You can adjust the width as you like it too.

    And regarding your other question, switching the sidebar from right to left. Again once you have your child theme set up do the following changed to your CSS file in addition to the changes mentioned above:
    from:

    #primary {
        width: 600px;
        float: left;
    }

    to

    #primary {
        width: 600px;
        float: right;
    }

    and

    #sidebar {
        width: 300px;
        float: right;
    }

    to

    #sidebar {
        width: 300px; // or the width you put here
        float: left;
       clear:left;
    
    }

    I’m quite clueless on how to create a child theme. I can do the rest but Im stuck at creating a child theme.

    Im clueless as to how to create a child theme

    WPyogi

    @wpyogi

    Forum Moderator

    See the link posted above. What part are you stuck on? If you are only going to modify CSs, you can just add that CSS to the custom CSS.

    how do you create a child them??? I’m online and all i see are video telling me i need a ftp. What custom CSS???

    do i just go into editor and cut and paste the above info?

    what happens when wp does an update? will i lose all my customizations?

    sorry to be a pain

    WPyogi

    @wpyogi

    Forum Moderator

    JetPack has custom CSS – under Appearance > Edit CSS.

    So yes, try putting the above code in that part.

    Creating a child theme does require you to access your site files on the server directly (not via WP Dashboard) – using FTP is one way to do that. You’d need to get that set up with info from your hosting company – it’s not part of WP. See also:

    http://codex.wordpress.org/FTP_Clients

    i added the info to the style css and nothing happened

    when i went to jetpack it said i didn’t have permission

    There’s no Child Theme set up on your site

    WPyogi

    @wpyogi

    Forum Moderator

    If JetPack CSS isn’t working, just use another custom CSS plugin – this one is good:

    http://wordpress.org/plugins/custom-css-manager-plugin/

    ok I’ve downloaded that plug in…..do i now just input the above css changes on each line

    this is what i added to that plugin

    #sidebar {
    width: 400px;
    float: right;
    }
    #page {
    width: 1108px;
    margin: 2em auto 0;
    }
    #primary {
    width: 600px;
    float: right;
    }
    #sidebar {
    width: 300px; // or the width you put here
    float: left;
    clear:left;

    }

    thanks…. it worked! your a life saver

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] Side Bar’ is closed to new replies.
Skip to toolbar