Hi Richmon,
can you please tell me what is in your template and what you applied classes to, so I can rebuild your setup and possibly reproduce your problem?
I applied classes to containers, images, basic text elements. maybe try to create a section template. then call it into another page through shortcode.
Hi Richmon,
just to be sure: the styles are not displayed in the builder, but in the frontend, right?
I created a section template with 2 containers, applied a class to each of them with a different background color. When I insert them with the Shortcode Element, Template Element, or as a shortcode in Rich text Element to a page, the styling is not visible on the canvas, but on the frontend.
But, if I insert them directly to the page, all styles are visible instantly, as you can see here
So the correct behavior should be, that the styles are always visible, regardless of how you´ve inserted your templates.
i really wanna show some videos on my side, but the client owns it so i cant share it easily.
but can you try what i did? i used the template shortcode on a woocommerce product(backend, worpress editor). then show it through Bricks “Product Content” element?
And to be exact, its a 6th descendant element where my classes not shown.
Style settings is inner because when i tried to change to external, site got broken even if i regenerate files multiple times.
And another note, I inspected it. Classes are in the html tags, but css is missing
I just added the template as a shortcode to a product description and you are right, the styles are not visible. The elements have the class but the styling is completely missing. No matter if they are inline or external styles. I’ll add this to our bug tracker, thanks for pointing it out!
I think the error has reappeared in version 1.9.5. I use the shortcode [bricks_template xxx] together with the function “do_shortcode()”. Within the template the whole styling is applied in the backend, but not in the frontend. I have to include the styling via an extra code block.