‎2020 Mar 13 9:43 AM - edited ‎2024 Feb 03 5:45 PM
Hi,
Issue :
Post logging in to hybris 1905 smart edit in advanced edit mode, i am getting empty content slots ( with dotted borders ) just above & below the storefront logo, navigation bar component. I got a requirement to remove these content slots permanently.
Workaround i have tried :
I have tried the below fix in both less & sass files to remove the content slots but while the smart edit is being accessed the styles ( both less & sass files ) are not getting loaded.
[data-smartedit-component-type="CategoryNavigationComponent"] [data-smartedit-component-id="MegaNavSupportSlot"] { display: none; }
Is there a way using less and sass files to remove these content slots ?
or
Do we need modify smart edit wcms configuration to remove the content slots ?
Request clarification before answering.
You will not be able to 'hide' blank slots in SmartEdit because if you would do that you would not be able to add content to these slots anymore.
To really remove them you need to remove the slots from the template itself in Hybris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.