Layout Container CSS - bad sample code? | Community
Skip to main content
Level 2
December 3, 2018
Solved

Layout Container CSS - bad sample code?

  • December 3, 2018
  • 3 replies
  • 1461 views

I was looking at the documentation here: Configuring Layout Container and Layout Mode

There is sample code under "Include the Responsive CSS", which includes the line:

@import (once) "/etc/clientlibs/wcm/foundation/grid/grid_base.less";

The file mentioned doesn't exist on my server. (I have 6.4.2.0 installed). I do have a file named grid_base.less at the path "/libs/wcm/foundation/clientlibs/grid/grid_base.less" and that seems to work. Is this just an old sample that needs to be updated?

It caused me a fair bit of grief - you have to notice that the .less compiler is issuing a warning.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See the Weekend tutorial for this information - it's the best docs we have for this part of the AEM product:

Getting Started with AEM Sites - WKND Tutorial

See section 3.

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
December 4, 2018

See the Weekend tutorial for this information - it's the best docs we have for this part of the AEM product:

Getting Started with AEM Sites - WKND Tutorial

See section 3.

Level 2
December 4, 2018

That does look like a good tutorial. It verifies that the 6.4 documentation I referenced is inaccurate. Unfortunately, the quality of the tutorial doesn't make the documentation accurate.

My question wasn't, "Is there a tutorial that is more accurate than the documentation?". What I wanted to know was had I missed something - did I just not understand. I get that there is a whole heap of documentation and that things change fast and some things are going to slip through the gaps. Mistakes happen. No worries.

But is it going to be fixed?

smacdonald2008
Level 10
December 4, 2018

We pointed you to the best docs we have on how to work with the Layout container - which is in the Weekend Tutorial.

Yes, we logged a bug against the product docs based on your feedback.