cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to remove empty Slots in the Advanced Edit view of SmartEdit in 1905

Former Member
0 Likes
741

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 ?

smartedit-bug.jpg

Accepted Solutions (0)

Answers (1)

Answers (1)

StefanKruk
Active Participant
0 Likes

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.