Our content editors are facing the following issue:
The issue is now that the title component is now still 4 columns wide, while the editors want the title component to use the whole width (so 12 columns) automatically. So they basically want to define the width of the title to 'take up all the available width as defined by the parent container'.
I've been wrapping my head around this for quite a while and haven't come up with a solution yet.
Looking forward for any suggestions!
Can you please check your CSS, may be your custom CSS overriding the normal behaviuor.
you can do inspect elements and check the column and title components CSS rules.
It seems the default aem grid css classes are assigned
What I forgot to mention are the values in crx/de: as you can see on the below screenshot, the tiny layout valuefor the width property is set to 4 columns wide, just as in the default node. I'll update the original question as well
When you change layout in Desktop mode and switch to mobile mode, then mobile mode would try to keep things similar to desktop mode. But you can change layout in mobile mode and when you resumes back to desktop mode, changes would persist.
So, to answer to your question on "editors want the title component to use the whole width (so 12 columns) automatically" I would say they have to edit this again on mobile mode then changes would persist.
Reading your response, makes it clear I haven't stated the problem properly.
Indeed, the authors can edit the page again for mobile and that is their current way of working. This is actually the step they want to avoid doing on all te pages. In their mind, the title component should take up all available width, no matter if the parent container is 4 or 12 columns wide.
So the question is: how to achieve this behaviour, while still developing components according to best practices of responsive component development in AEM.
If the parent layout - say a grid column is 4 wide - then the child component will be restricted to that width.
If they want a Title component go be full width - why not drop it above the responsive grid as opposed to a column in the grid?
What the authors want is the title component to take the fullwidth of the parent container, but without actually having to drag and drop the blue handles in the layouting mode
Their page creation flow starts with the desktop layout, creating 3 containers next to each others, each with a title component taking up the whole width of the parent. This happens automatically
The next step they create the mobile layout by stacking the 3 original containers on each other. Authors now expect that, given the title component took up the whole width before, it automatically does as well in the mobile layout. In reality, it is 4 columns wide, the same widt as in the desktop layout.
It is hard to precisely write this down, I'll try to reproduce this with a screencast/snapshots