• Resolved voldby

    (@voldby)


    How can I remove sidebar on only cart_page/checkout page?

    There is no work around with CSS (that I have been figured out).

    I do not know php that well, but the only solution that I can think of is:
    If wpsc-shopping_cart_page.php (or specifik CSS class is called) do not get sidebar.php.
    How do you make that in php?

    Any other suggestions – a more elegant and better?

Viewing 1 replies (of 1 total)
  • Thread Starter voldby

    (@voldby)

    I found the solution!
    WP e-Commerce adds a style class to the body in each template.
    Just add this line to your style sheet:

    body.wpsc-shopping-cart #primary {display: none;}

Viewing 1 replies (of 1 total)
  • The topic ‘Remove sidebar on only cart page’ is closed to new replies.