• Resolved alfredo49

    (@alfredo49)


    Hi!

    Im using a [cmplz-cookies] shortcode in Bricks Builder in a shortcode widget or a text widget and styles of the list messes up.

    Viewing styles inspector the complianz css classes arent loaded when the shortcode in inserted using Bricks Builder, for this reason, classes do not exist and styles are broken.

    In the other hand if i use Guttenberg, styles load without issues.

    How can i solve this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @alfredo49,

    It looks like the Complianz Document CSS is not included when using the Bricks Builder to place the shortcode, so the Cookie Table appears without any styles.

    You could manually enqueue this CSS file to resolve that. Place the following snippet in a new .php file and upload this to the folder /wp-content/mu-plugins/.

    <?php
    function cmplz_enqueue_custom_styles() {
        $css_file_path = cmplz_url . '/assets/css/document.min.css';
        wp_enqueue_style('cmplz-custom-styles', $css_file_path);
    }
    
    add_action('wp_enqueue_scripts', 'cmplz_enqueue_custom_styles');

    Kind regards, Jarno

    Thread Starter alfredo49

    (@alfredo49)

    Thxs!

    This incompatibility with bricks builder can be fixed in next releases?

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @alfredo49,

    As other page builders don’t seem to experience this behavior, I’m not sure if that can be adjusted purely from our end; I’d have to investigate why this occurs for Bricks Builder specifically.

    Kind regards, Jarno

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode [cmplz-cookies] styles mess up in Bricks Builder’ is closed to new replies.