Expand my Community achievements bar.

SOLVED

Unable to resize components in AEM site

Avatar

Level 1

I am using AEM 6.4 version and  I am totally new to AEM.

I am trying to develop a website following the steps given in the below link.

Getting Started Developing AEM Sites - WKND Tutorial

I am in part 4 of the tutorial (Getting Started with AEM Sites Part 4 - Developing with the Style System)

My problem is that the layout and other components snaps back into place no matter where I drag it at all times.i have tried in different browsers as well. I am not able to resize any of the components. But suprisingly , i was able to resize the components before two days.

Can anyone help me with this please

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Ah ok looks like the forward slash was accidentally deleted? make sure the contents of /apps/wknd/clientlibs/clientlib-site/components/text/text.less looks like below:

/* WKND Text Styles */

@import (once) "styles/default.less";

@import (once) "styles/quote.less";

View solution in original post

10 Replies

Avatar

Level 10

Another thing you can try. In part 5 - you can access the package for section 4. Try installing that part 4 package and see if that makes a difference.

Avatar

Level 1

I have cleared cache and recompiled Client libs as well. Unfortunately its not working.

Avatar

Level 10

Also - try installing the package - that will tell us if you missed something or an issue with you AEM server.

Avatar

Level 1

Yes , i am getting the below error

LESS compilation failed due a JavaScript error!

Input: /apps/wknd/clientlibs/clientlib-site/main.less

Error: ParseError: unmatched `/*` in /apps/wknd/clientlibs/clientlib-site/components/text/text.less on line 2, column 20:

1

2 * WKND Text Styles */

3

Avatar

Level 1

I have installed part 4 package. That doesn't make any difference.

Avatar

Correct answer by
Employee Advisor

Ah ok looks like the forward slash was accidentally deleted? make sure the contents of /apps/wknd/clientlibs/clientlib-site/components/text/text.less looks like below:

/* WKND Text Styles */

@import (once) "styles/default.less";

@import (once) "styles/quote.less";

Avatar

Level 10

This does look like the cause of the issue. I installed the package too and everyone works well - see my screen shot in this thread.