WordPress.org

Ready to get started?Download WordPress

Forums

Hide Sidebar(s) (3 posts)

  1. Lizbit
    Member
    Posted 5 years ago #

    http://www.duerksenturkeyfarm.com/

    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!

  2. stvwlf
    Member
    Posted 5 years ago #

    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

  3. Lizbit
    Member
    Posted 5 years ago #

    Where do we send the cookies????

    xoxoxoxoxoxo Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.