[Resolved] Margin in my-account page woocommerce

Home Forums Support Margin in my-account page woocommerce

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1388674
    Laura

    Hi!
    I don’t know how to do it. I try to paste the shortcode [woocommerce_my_account] in other page done with Elementor, but all the links are broken…so, I think I only need some CSS instruction. I need that my account page has margin on both sides

    Thanks for your help!!

    Laura

    #1388687
    Leo
    Staff
    Customer Support

    Hi there,

    Does it work normally on a normal page without Elementor?

    #1388708
    Laura

    I am trying with this CSS:

    .woocommerce-cart .site-content .entry-content,
    .woocommerce-my.account .site-content .entry-content {
    max-width: 80%;
    margin: 70px auto;
    }

    But nothing happens

    #1389298
    David
    Staff
    Customer Support

    Hi there,

    are you going to be building the Account Page with Elementor ? If so you should be able to control the width of the elementor section. Let me know

    #1389365
    Laura

    Hi David,

    No, I am not building the Woocommerce pages with Elementor, so I need to do it with CSS. I am not sure about if I am doing it ok, but in the checkout page, I can do it, but not in my-account page.
    Thanks!
    Laura

    #1389444
    David
    Staff
    Customer Support

    OK try this CSS:

    .woocommerce-account #page.grid-container {
        max-width: 1100px;
    }
    #1389457
    Laura

    Thanks a lot for your help David!!

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