• Resolved reylocal

    (@reylocal)


    How can I add a solid border to my background on twentyten theme without including the sidebar? I tried this, #wrapper, #primary { border: 3px solid #000000; } but I don’t it around my siderbar. Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Don’t edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

    without including the sidebar?

    Try this, but I agree with esmi; you really should use a child theme or properly rename the default theme.

    #wrapper {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 3px solid #000000;
    margin-top: 20px;
    padding: 0 20px;
    }

    Ya, make a copy of twentyten theme. Rename it and use it.
    The add the CSS FROM “ClaytonJames” above.

    Thread Starter reylocal

    (@reylocal)

    Thank you to all of you who responded. I am going to look into the suggestions you gave me.

    Thread Starter reylocal

    (@reylocal)

    the border code worked thanks.
    Regarding “child themes” if i plug this into the style.css it’s done?
    /*
    Theme Name: Twenty Ten Child
    Theme URI: http: //example.com/
    Description: Child theme for the Twenty Ten theme
    Author: Your name here
    Author URI: http: //example.com/about/
    Template: twentyten
    Version: 0.1.0
    */
    second question above, below the original or replace it? Thank you I am a new to WordPress!

    hey guys,

    I also need a help in almost the same direction. I would like to put my post IN a border. I also want to bring them a bit downer than where they are.

    Somebody can help? this is my blog, right now the posts are upper than my main text at the left.

    snel afvallen

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Create a child theme for your customisations. Once your child theme is active, post a new topic if you still need assistance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding a border to twentyten’ is closed to new replies.