Support » Plugin: Atomic Blocks - Gutenberg Blocks Collection » AB CSS Breaks Website CSS

  • Resolved Victor Font

    (@vfontj)


    I was using AB for a very short while on my Genesis Framework/Academy Pro site. The AB CSS overrides custom CSS used on the site and messes up the front page display.

    I use a custom CSS class named .right to indicate content on the right side of a grid layout. AB also has a class called .right to set text to text-align: right;.

    This is the first time I’ve seen a plugin use un-prefixed CSS in its classes. Not using prefixed classes contradicts the WordPress plugin best practices that say:

    Prefix Everything #

    All variables, functions and classes should be prefixed with a unique identifier. Prefixes prevent other plugins from overwriting your variables and accidentally calling your functions and classes. It will also prevent you from doing the same.

    https://developer.wordpress.org/plugins/plugin-basics/best-practices/

    Please fix the plugin so it stops breaking websites.

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

    (@atomicblocks)

    Hi Victor,

    Thanks for the heads up. I’ll take a closer look and see where this is being output. I know that Gutenberg outputs some generic options that need to be styled, and that could be the case here, but I’ll need to look closer. I’ll get a fix out asap if it’s needed!

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