Forums

[resolved] [closed] Adding a border to twentyten (8 posts)

  1. reylocal
    Member
    Posted 1 year ago #

    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!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    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.

  3. ClaytonJames
    Member
    Posted 1 year ago #

    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;
    }

  4. webmagix
    Member
    Posted 1 year ago #

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

  5. reylocal
    Member
    Posted 1 year ago #

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

  6. reylocal
    Member
    Posted 1 year ago #

    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!

  7. snel afvallen
    Member
    Posted 8 months ago #

    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

  8. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags