WordPress.org

Support

Support » How-To and Troubleshooting » Hide Sidebar(s)

Hide Sidebar(s)

  • Welcome!

    Would like to hide the sidebar (recent posts and popular posts) on left, in the theme. I don’t want to delete them, just hide.

    Also, at the bottom of the page, there is a left, middle and right side bar. Black background, with the text. I don’t mind the black boxes but would like to actually delete the text that is in them.

    Not sure which PHP files I need to edit, in either of these two questions.

    Thanks much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    Would like to hide the sidebar (recent posts and popular posts) on left, in the theme. I don’t want to delete them, just hide.

    in /wp-content/themes/{themename}/style.css, find on line 826

    #sidebar-left {
    display:inline;
    float:left;
    margin-left:2px;
    overflow:auto;
    width:135px;
    }

    change display: inline to display: none;
    left sidebar will no longer display

    Also, at the bottom of the page, there is a left, middle and right side bar. Black background, with the text. I don’t mind the black boxes but would like to actually delete the text that is in them.

    on line 1078 same file find

    #footerleft, #footermiddle {
    float:left;
    padding:10px;
    width:280px;
    }

    between the brackets, add a line display: none
    left & middle columns will no longer appear

    on line 1088 find

    #footerright {
    float:right;
    padding:10px;
    width:280px;
    }

    between the brackets, add a line display: none
    right column will no longer appear

    Where do we send the cookies????

    xoxoxoxoxoxo Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Sidebar(s)’ is closed to new replies.