WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sidebar problem (3 posts)

  1. shinobob
    Member
    Posted 5 years ago #

    Hello all!

    I am new to WordPress, so I have a minor problem.

    So I recently installed it and used a free theme I found online.

    I switched the the main/home page to static page, and the "posts" page to another page because I wanted the main page to look like a normal page.

    The problem begins with the sidebar: It only shows up on the posts page, but not on all the other pages.

    Going through the forums, I got the bright idea of using this command on page.php :

    <?php get_sidebar(); ?>.

    The sidebar shows up, however, it remains to at the bottom of the page as opposed to being on the right SIDE of the page.

    If you click on the "Progress" page (posts page), the side bar shows up exactly to the right of the posts. However, the sidebar shows up on the bottom of all the other pages.

    here is the link to the site: http://www.fayteproject.com

    I was wondering if anyone can help me fix this problem? Thanks in advance!

  2. stvwlf
    Member
    Posted 5 years ago #

    Hi

    Find this in your theme's style.css stylesheet (it starts on line 234)

    .left_page {
    float:left;
    margin:0 0 10px;
    width:100%;
    }

    Change width:100%; to width:665px; and it will work just fine.
    Your theme was designed with no sidebar on its pages. You had the right idea. You just need to make the left contents area narrower so there is room to display the sidebar on the right. (665px is the width of the contents on the blog page)

  3. shinobob
    Member
    Posted 5 years ago #

    oh man, thanks stvwlf! greatly appreciated, it works fine now.
    let me buy you lunch

    we have good chili cheese fries and asian food here in L.A.

Topic Closed

This topic has been closed to new replies.

About this Topic