• Love the Code Snippets plugin! Right now I use it with the Simple CSS plugin to modify the theme instead of using a child theme.

    Can I just use Code Snippets for everything? I see it comes with a snippet to add CSS already.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    You can add CSS using action hooks, like in the example.

    This is not as good for adding large amounts of CSS code, as it will be included in the page directly instead of bundled together into a single stylesheet.

    The premium version of Code Snippets 3.0 will include a CSS feature that is properly optimised and integrated with the rest of the plugin.

    Anyway in one respect adding large CSS using Code Snippet is better than adding that into Custom CSS.

    The problem of custom CSS that WordPress stores every change as own version and the size of the database might huge increase. I crashed my database using custom CSS.

    The very big problem with Code Snippet normal version is that it doesn’t check the syntax of CSS. Why it could not use the build in syntax checker of WordPress?

    I have used the build in syntax checker pasting my code to the custom CSS field or to the editor of the theme’s CSS (I cleared that).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code Snippets for all CSS modifications’ is closed to new replies.