Hi All - I am running into issues with AEM Grid. I have configured the required config for AEM grid but when I refresh the page after the resizing, the resized layout is not persisting.
This is happening in Editable template and AEM version is 6.5. I have configured the below. Can someone tell me what could be the issue.
com.day.cq.wcm.mobile.core.impl.MobileEmulatorProvider - Added the page component.
Included the grid.less(Clientlib) in the template page policy (head) and also in the page component as well.
Added the device group property(cq:deviceGroups) in the jcr:content as well
The resized layouting breakpoints offset/width values are captured in the jcr as expected but when I refresh the page, the offset values are not changed that is expected but the layouting is not reflected in the page.
Also verified the nodes in the editable template and it has the cq:responsive node as well.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @v1101,
Can you confirm if you have amended anything in grid.less file (on top of one that comes OOTB with AEM maven archetype project)
As a final try to narrow down,
Hi @v1101,
Can you confirm if you have amended anything in grid.less file (on top of one that comes OOTB with AEM maven archetype project)
As a final try to narrow down,
Views
Replies
Total Likes
Shared grid.less file looks fine (same as the one that comes OOTB with AEM maven archetype project). I would like to iterate that as a final try to narrow down the cause of the issue, check we-retail site pages or create new maven archetype project. (This will help decide if its project specific or at instance level issue. If its former case, we can then dig down if there any other project specific CSS which is overriding/impacting)
Views
Replies
Total Likes
Views
Replies
Total Likes
Noted. In that case see if the below debug route helps.
Views
Replies
Total Likes
Views
Replies
Total Likes
This is due to grid.less file not registered in your clientlib folder.
Please add grid.less in ur css.txt of the base clientlib folder and check in your page view source if grid.less is getting injected or not.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi @v1101 ,
I am experiencing the same issue on the desktop size emulator. All the values are stored correctly in the jcr but they are not being reflected/rendered correctly. Also, I tried to manually update the aem grid css classes in the html (viewing the page as published) but nothing gets updated.
Have you been able to solve it?
@Vijayalakshmi_S, @Ankur_Khare any help from your side?
Thank you
Views
Replies
Total Likes