[Resolved] Shop Page Layout

Home Forums Support [Resolved] Shop Page Layout

Home Forums Support Shop Page Layout

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #626247
    Hugo

    Hi Tom.

    I want display the shop page like this link https://globalcscorp.com/astra/catalogo/

    The sidebar has a line from the top to the bottom of the page
    The search widget buttom is beside de text box, not below.
    And the page is fullwidth

    I try to do that in GP, but i didnt find a way to add the line. The buttom of the widget is below and the page its not ful width

    You can see the diference in this link https://globalcscorp.com/sian/catalogo/

    Thanks for your help a lot

    #626457
    David
    Staff
    Customer Support

    Hi there,

    we can add a border to the content area instead, and use a little bit of flex to align the search:

    .left-sidebar .content-area {
        border-left: 1px solid;
    }
    
    .woocommerce-product-search {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    #627871
    Hugo

    Thanks David
    It works.

    But now, i need some padding between the border of the side bar and the content of the shop

    I use this css code
    .site-main .inside-article .entry-content{
    padding-left: 60px;
    }

    But the padding is aplied to the all site, and i need only in the woocommerce pages

    The link of the site: https://globalcscorp.com/sian/catalogo/

    Thanks a lot.

    #627898
    Leo
    Staff
    Customer Support

    Try target the WooCommerce page only with your CSS:

    .woocommerce-page .site-main .inside-article .entry-content{
        padding-left: 60px;
    }
    #630186
    Hugo

    Thanks Leo. It Works.

    #630211
    Leo
    Staff
    Customer Support

    No problem 🙂

    #630247
    Hugo

    Leo, its me again jejejje. But i need the padding for the cart page too. Can you help?

    Thanks

    #630269
    Leo
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.