Site logo

Archived topic

Float vs flex

3 replies · Started by Margaret on December 11, 2022

Viewing posts 1–4 of 4

Hello,

We recently hired a developer to help us with WooCommerce. I noticed they are using "float" in snippets. I recall something about GeneratePress switching from float to flex? Should I ask the developer to use flex instead of float, or are both fine?

Thank you.

Hi there,

GP has changed the theme structure to float to flex a long time ago.

CSS float still works but I think Flexbox is simply a better way to go.

It is up to you and your developer to decide which way you want to go with.

Thank you!

No problem :)

This archived topic is closed to new replies.