WordPress.org

Ready to get started?Download WordPress

Forums

E-Commerce Products Page Formatting (4 posts)

  1. brettjo5
    Member
    Posted 1 year ago #

    I inherited a wordpress e-commerce website from a developer that only half finished the project. I do not know alot about css or php, but I have been able to play around with the coding enough to almost finish the products page. I am having trouble formatting the products page however, the products listing is too wide and is showing below my sidebar instead of next to it.

    Here is a link to my site and the page that shows the error I am talking about

    http://www.pru-dent.com.previewdns.com/?wpsc_product_category=mirrors

    I have played around with the wpsc-default.css file to resolve this simple issue, but the changes I make do not seem to be having any effect with the product list row taking up the whole content area. I tried to change the product display container, from 100% width, but when i updated the file the website still looked the exact same.

    Any ideas on where I might want to look in code to resolve this issue?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    We may not be able to recommend PHP solutions because I don't think your PHP is released under the GPL license. This is hinted in your theme's stylesheet.

    I can't see what you mean about the products listing showing below your sidebar http://awesomescreenshot.com/0fcqyn073 .

    How wide should the products listing section be?

  3. brettjo5
    Member
    Posted 1 year ago #

    Hi Andrew, the category listing is currently working the way it should be, as seen in your screen shot. But if you navigate down when the page actually shows products(products page--> diagnostics --> mirrors) you will see that the products get pushed down below the sidebar.

    And I am assuming that this is happening on this page because the content area that displays the products is too wide, because you can see the add cart button on the far right of the screen.

    As for how wide I would like it to be, I just need it to be about 30%-40% less then its current so the sidebar and products can be contained on the same line.

  4. brettjo5
    Member
    Posted 1 year ago #

    This problem has been resolved. I put this code into my style.css file.

    .wpsc_default_product_list {
        float: left;
        width: 600px;
    }
    
    .wpsc_category_grid {
        float: right;
        width: 650px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic