Site logo

Archived topic

Margin in my-account page woocommerce

7 replies · Started by Laura on August 5, 2020

Viewing posts 1–8 of 8

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

Hi there,

Does it work normally on a normal page without Elementor?

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

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

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

OK try this CSS:

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

Thanks a lot for your help David!!

You're welcome

This archived topic is closed to new replies.