Support » Plugin: Content Blocks (Custom Post Widget) » Custom class names

  • Resolved fallenartist


    Excellent plugin for custom widgets I use in my theme!

    However, one important functionality currently missing is the ability to add custom class names to Content Blocks for styling purposes or script calls.

    I use another plugin to do just that but it only allows to add class names after content blocks are added to a widget list, meaning you have to re-type classes each time.

    So, a Custom Class Name field under Content Block editing window would be awesome!


Viewing 2 replies - 1 through 2 (of 2 total)
  • dinoq


    If you are inserting them into a post or page you can add a class or multiple classes like this:

    [content_block id=48 class=”class1 class-2″]

    That will allow you to target that block specifically or as a group.

    This works with the Thematic theme and should work with others. Hope it helps.

    Plugin Author Johan van der Wijk


    I did not know that it was possible to add a class in the shortcode 🙂 Thanks designbyddc for the excellent tip!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom class names’ is closed to new replies.