Home › Forums › Support › Flexbox – help with aligning items centre This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 7, 2020 at 3:21 am #1570165 Baz Hi, I’m new to all this Flexbox malarkey 🙂 When I want an item centred without padding or margins, I normally add: margin-left: auto; margin-right: auto; max-width: 400px; This allows the object to float centrally within say a 800px container. Is there a better way to achieve this with Flexbox CSS? I don’t have a live website yet to show you an example, just inquisitive. Thanks December 7, 2020 at 4:22 am #1570208 DavidStaff Customer Support Hi there, that is still the most valid way of cantering a smaller container within a larger parent container. December 7, 2020 at 4:38 am #1570223 Baz Thanks David, I was worried that my CSS was out-of-date for the new Flexbox version of GP Theme 🙂 December 7, 2020 at 5:13 am #1570249 DavidStaff Customer Support You’re welcome Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In