Replies: 6 comments 6 replies
|
I've also just discovered the styling of Components, built with atomic elements are completely broken on the front-end when you use them in a Loop Grid, or Loop Carousel. This makes this entire design system unusable on real projects at the moment, and have to revert back to V3, which is disappointing. |
|
Atomic elements are not working on loops at the moment, solved it by doing everything in v3 |
I was able to get a loop grid working with v4 widgetsAfter reviewing the source code, when Elementor renders a page, it may find a Loop Grid or Loop Carousel that uses a saved loop template. If that loop template contains newer Atomic elements, Elementor does not always load the CSS for those inner elements automatically. To work around that, when a document is being rendered, it scans for any Loop Grid or Loop Carousel widgets, finds the template IDs they use, and then tells Elementor to render those loop templates too. By forcing Elementor to process those nested loop templates, Elementor also discovers the Atomic elements inside them and loads the CSS they need. A few safeguards are built in too:
Here's my code snippet: |
|
Just saw that "Atomic Loops" and "Atomic Grids" are coming soon in the V4 roadmap. Hopefully these fix the issues we are having... |
|
I had the same problem, but inside the Listing Grid with Listings from Crocoblock JetEngine. Here's the code that fixes the styles output: |
|
Good morning. I had a similar issue. The CSS for Atomic widgets was not loading on the front end for a single post template using dynamic tags pulled from PODS CPTs. This fixed it <?php /**
if ( ! defined( 'ABSPATH' ) ) { function serena_register_single_obra_atomic_css_39fae91a( $post_id ) { } add_action( |



Uh oh!
There was an error while loading. Please reload this page.
Description
BUG
When creating a loop item all styles dont seem to be added.
i created a loop item for products, styled the div block , image, title etc but none of these styles are showing in the frontend. see screenshots
also when creating a component with an image and it's set to 100% width, it seems like its getting the 100% width from the page instead of the container itself, so for example if i create a card component and add 3 of them in a flex row, they are each full width instead of inline.
Also would be best to have a control of the flex-grow , shrink and basis for each compontent/div?
Even if i create a simple div flex row, add 3 divs in it, i have no control over their flex parameters
Agreement
All reactions