Support » Plugin: Bootstrap blocks for WP Editor » How can I center a single bootstrap column?

  • Resolved onqi

    (@onqi)


    I’ve been using your plugin now and like it a lot. IS there a simple way to center a single column in a row? Can’t find it and my column uses different breakpoints.

Viewing 1 replies (of 1 total)
  • Plugin Author Virgial

    (@virgial)

    Hi @onqi, you can easily add a classname ‘mx-auto’ to the column. This way the column will auto center itself and this will work for each individual breakpoint.
    Also you can add specific offsets to a column with classes like: offset-md-1 or offset-lg-2 etc. You can find more info on getbootstrap.com regarding classnames for bootstrap elements. If you select a column in wp-editor, you can find the classname field at the end of the right wp-editor-column (Block).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.