Title: Columns gap
Last modified: June 6, 2017

---

# Columns gap

 *  [kroma](https://wordpress.org/support/users/kroma/)
 * (@kroma)
 * [9 years ago](https://wordpress.org/support/topic/columns-gap/)
 * Hello,
    When I set columns gap to for example 50px – columns have this gaps, 
   but they are not aligned to container. I need to have given gaps but columns 
   should be aligned to container. Should I set something else? Is it possible? 
   Image for reference: [https://ibb.co/fr9pSa](https://ibb.co/fr9pSa)

Viewing 1 replies (of 1 total)

 *  [desertsailors](https://wordpress.org/support/users/desertsailors/)
 * (@desertsailors)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/columns-gap/#post-9294609)
 * Hello [@kroma](https://wordpress.org/support/users/kroma/),
 * You can try this:
 * 1. Open row settings and assign a column gap which is half of desired total gap.
   Example, 25px for total gap of 50px. See [http://prntscr.com/fsccf8](http://prntscr.com/fsccf8)
 * 2. Inside “Styling” tab, click on “Box” sub option and assign negative left/right
   margin of half gap (25px). See [http://prntscr.com/fscdb6](http://prntscr.com/fscdb6)
 * 3. Inside “Custom” CSS tab, add the following CSS:
 *     ```
       width: calc(100% + 50px);
       ```
   
 * Where, 50px is the total gap. See [http://prntscr.com/fscdw7](http://prntscr.com/fscdw7)
 * 4. Save these changes and check the page.

Viewing 1 replies (of 1 total)

The topic ‘Columns gap’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/kingcomposer_747172.svg)
 * [Page Builder: KingComposer - Free Drag and Drop page builder by King-Theme](https://wordpress.org/plugins/kingcomposer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kingcomposer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kingcomposer/)
 * [Active Topics](https://wordpress.org/support/plugin/kingcomposer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kingcomposer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kingcomposer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [desertsailors](https://wordpress.org/support/users/desertsailors/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/columns-gap/#post-9294609)
 * Status: not resolved