studiopress / atomic-blocks

Atomic Blocks has been renamed to Genesis Blocks. This plugin is no longer maintained! Visit Atomic Blocks → Migrate to migrate to the new plugin.
https://wordpress.org/plugins/genesis-blocks/
GNU General Public License v3.0
157 stars 58 forks source link

Support custom CSS classes in columns #384

Closed ochrons closed 6 months ago

ochrons commented 4 years ago

Advanced columns did not include "Additional CSS classes" in the styles. This fixes the missing style classes.

ochrons commented 4 years ago

My use case is that I have two columns (horizontal) and I want to control their order in the responsive view (which one goes first). So I need a class on the container that matches a rule in my custom CSS that reverses the column order like

@media (max-width: 735px) {
  .reverse-cols {
    grid-template-areas:
          "col2"
          "col1" !important;
  }
}