Site logo

Archived topic

Woocommerce formatting issue

6 replies · Started by Robert on December 1, 2017

Viewing posts 1–7 of 7

Hello,

I'm having a problem with some Woocommerce formatting. On the 'content' tab of the my account page this is how things appear: https://cl.ly/2F2m381P1r1c.

I don't have any custom CSS that I think would be causing this (I removed it temporarily to check).

Can you tell me why this is or what you recommend doing to fix it?

Hi there,

Is that on live page or the back stage?

If it's a live page can you link me to it?

It's not live unfortunately. Not sure if you're able to mimic this but it would be if you had a Woocommerce membership and then click through to the 'content' part of the membership that shows what you have access to under 'my account'. Since this is in the admin I would have to send admin rights privately somehow for you to see this.

I dug a bit deeper and it seems as though something in the generatepress styles.css file is messing it up.

https://cl.ly/18090x0I2Z3l.

.clear:after, .clear:before, [class*=content]:after, [class*=content]:before, [class*=site]:after, [class*=site]:before {
    content: '';
    display: table;

By removing the content: ''; the column seems to fix itself. Maybe something worth noting for a future update of the theme? I don't want to remove this globally, so I can just remove it in the CSS for a Woocommerce table specifically for now.

Any chance you can set me up with a temporary account so I can see the issue live?: https://generatepress.com/contact/

That CSS is required, so we'll have to come up with a workaround for the WooCommerce Membership plugin.

I fixed the issue by making content: none; on woocommerce pages only. By having it, it creates this shift of all of the columns in any tables and Woo uses tables a lot. Since I fixed it there isn't really much to see, the code above is exactly the issue. Once I get the site live I'll try to send you information on it and revert back to before I had the fix in place. It could of course be a plugin conflict or CSS from something else but I haven't tested it that deeply.

Sounds good! Thank you :)

This archived topic is closed to new replies.