Support » Plugin: Reusable Content & Text Blocks by Loomisoft » CSS issues and how to best insert block in WPBakery

  • Hello!

    i have two questions regarding this plugin.

    1) i want to make a block with a wpbakery row. the row has paddings and margins and is fullwidth. if i do this directly in the page, WPBakery outputs a specific CSS for this row, and other elements. but when i add it as block, the CSS is missing. do i do something wrong?

    2) according to documentation, the plugin is compatible with wpbakery. yes, i can activate wpbakery in the blocks. but how do i insert a block in a page with wpbakery? shouldn’t there be a wpbakery element for the blocks? because adding text-blocks and then shortcode inside would render a wpbakery text-block html arround the “reusable text block”, making a different output then desired. again, what i understand wrong?

    🙂

    Thanks for a feedback!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • i made a little video to explain the two issues better:
    https://screencast-o-matic.com/watch/cFn3YloS2d

    it would be great if there was a solution or trick for the missing css. this has been a stumbling “block” in other projects.

    Hello you have make sure you use the shortcodes that are Full Content Filtering

    [ls_content_block slug=”featured-programs” para=”full”]

    Hi krazyk

    i actually haven’t seen that parameter… but it doesnt work with it either, i just tried it out again:

    https://screencast-o-matic.com/watch/cFeYhHDUOS

    that would be absolutely fantastic if we get this to work…

    thanks!

    So you are doing a content block inside a content block? The way i got mine to work was to insert [ls_content_block slug=”featured-programs” para=”full”] in a raw html block but not sure your theme has a raw html block.

    i dont think it has to do with contentblock in contentblock. here is an absolut minimal example and it’s not working.

    https://screencast-o-matic.com/watch/cFeri1DvRW

    i was already looking quite a bit in your and wpbakerys code to figure out how to get this running. one thing i noticed, i dont think it ever goes thru this part when using the loomisoft contentblock
    if ( class_exists( ‘Vc_Base’ ) ) {
    $vc = new Vc_Base;
    $vc->addFrontCss();
    }

    also, where is the part where it adds the necessary JS? by looking at the vc_base class, there are at least functions that indicate that this might be possible…

    wpbakery support actually told me it’s not possible to achieve, but i have a feeling they didn’t really think about it… not being able to create reusable code with wpbakery is an enourmous problem and limits its use. i hope it’s only me or the setup im fighting with 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS issues and how to best insert block in WPBakery’ is closed to new replies.