Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centering or Clearing Container #3286

Open
paulinohio opened this issue Nov 26, 2024 · 2 comments
Open

Centering or Clearing Container #3286

paulinohio opened this issue Nov 26, 2024 · 2 comments

Comments

@paulinohio
Copy link

I'm trying to center just the MAIN part of the container section.

I have the container set to "remove container" so that the left menu (sidbar-a) will be all the way on the left. But then I loose the center formatting for the particles under "main".

I would like to keep the sidebar-a on the far left while retaining the inherited properties for everything under the MAIN section of "container". I hope that makes sense.

https://neilrisko.com/DELETE/products/pleated-air-filters.html

Screen Shot 2024-11-26 at 2 33 28 PM
@paulinohio paulinohio changed the title Clearing Container Centering or Clearing Container Nov 26, 2024
@paulinohio
Copy link
Author

Can anyone help with this? Thanks.

@blizam
Copy link

blizam commented Jan 26, 2025

Gantry uses Flexbox. You should be able to achieve whatever center positioning you're with the justify-conent or align-item properties.

If you don't like how your Main content stretches all the way to the right maybe set a min-width on it or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants