SOLVED IN 1.4: CSS Loading Method - 'External files' prevents styles from CSS classes from being applied if using templates inside templates

Bricks Version: 1.4 rc2

If using the [bricks_template id=“X”] shortcodes to add templates inside another template or page. For eg, using this shortcode amongst other code inside of a code element, or just using the shortcode element directly, if there are any styles that have been added via class inside the template being added, they don’t show up. Only the styles on the IDs are added.

Changing the CSS loading method is changed back to ‘inline styles’ makes all the CSS appear as it should. This affects the front end of the site, everything looks ok in the builder.

{inside the builder, using a shortcode to pull in a template. The heading has a transform and background with a class}

{frontend we see the classes in the HTML, but the styles aren’t there}

{frontend after changing back to inline CSS, we see the styles being added to the classes}

3 Likes

Hi David,
Thank you so much for your report!

I can reproduce the issue and added it to our bug tracker.

Best regards,
timmse

1 Like

Hi David,
The issue has been fixed with Bricks 1.4.
Please let us know if you encounter any problems.

Best regards,
timmse

1 Like