Title: Container (Left) Alignment?
Last modified: February 28, 2021

---

# Container (Left) Alignment?

 *  Resolved [mwaters](https://wordpress.org/support/users/mwaters/)
 * (@mwaters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/)
 * I’m new to GP Containers and have run into an issue.
 * I’m trying to have a block of text be 800 px wide and have it be left aligned.
   I would think that would be the default state (left aligned) so I must be doing
   something wrong.
 * I initially tried to just use WordPress blocks for the text and then then containers/
   grids for the logo columns below, but the containers overlapped the WordPress
   blocks of text which appeared above the containers.
 * Here’s a screenshot of my current situation:
    [https://prntscr.com/109lppq](https://prntscr.com/109lppq)
 * Layout > Container
    [https://prnt.sc/109mt72](https://prnt.sc/109mt72)
 * And the url:
    [https://www.staging2.newinsightaccounting.com](https://www.staging2.newinsightaccounting.com)
 * I know I could fix the alignment using css, but seems to me editing css for each
   container seems very inefficient.
 * I also tried using just a grid by itself, but the only options for setting the
   width are % based.
 * Any feedback is appreciated.
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontainer-left-alignment%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/#post-14114075)
 * Hi there,
 * i am afraid what you’re trying to do is not possible today without some CSS.
   
   All Containers are auto-centered by default and cannot be overwritten with left
   and right margins. It’s something we’re looking into as some more advanced features
   for Grids and Containers.
 * Do you want assistance with the CSS?
    We can either set it as a global rule so
   all Containers align left – and add a CSS rule for removing that. OR create a
   CSS rule that aligns a Container left ( or right ).
 * Let me know.
 *  Thread Starter [mwaters](https://wordpress.org/support/users/mwaters/)
 * (@mwaters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/#post-14114422)
 * Well it’s a toss up lol. I think the bulk of the containers need to be left aligned,
   while the Testimonial containers at the bottom of each page need to be centered,
   as well as the list of logos on the homepage.
 * Thank you!
    -  This reply was modified 5 years, 3 months ago by [mwaters](https://wordpress.org/support/users/mwaters/).
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/#post-14117244)
 * Sounds like it would be best to align them left by default and then use a CSS
   Class when its not required.
 * Try this CSS:
 *     ```
       .entry-content > .gb-container:not(.no-align-left) {
         margin-left: 0;
       }
       ```
   
 * Any container you don’t want it applied to the add the `no-align-left` CSS Class
   in Block > Advanced > Additional CSS Class(es) field.
 *  Thread Starter [mwaters](https://wordpress.org/support/users/mwaters/)
 * (@mwaters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/#post-14118948)
 * That worked. Thank you!
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/#post-14124214)
 * Glad to be of help !

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Container (Left) Alignment?’ is closed to new replies.

 * ![](https://ps.w.org/generateblocks/assets/icon.svg?rev=3239461)
 * [GenerateBlocks](https://wordpress.org/plugins/generateblocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/generateblocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/generateblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/generateblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/generateblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/generateblocks/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/diggeddy/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/container-left-alignment/#post-14124214)
 * Status: resolved