Environment: Sitecore 9.0.2 + SXA 1.7.1

What i have done: I cloned the default 'Navigation rendering' as 'Global Header'. I have added it to under 'Navigation' under available renderings.

Under 'rendering Variants', i created another 'variants' named 'Global header' and copied the variant from 'Navigation'.

What is happening: For the new variant, i am not getting a particular (Navigation) subsection under style.

enter image description here

I am not being able to understand what is happening. Any input will be helpful.

  • did you assign that class to specific rendering i.e. navigation ? Mar 4 '19 at 13:04

You need to allow your cloned component in your custom style.

Go to your custom style (as example "Links Shown in Overlay" style on the screen below Styles > Common) and in "Allowed Renderings" field select your new component:

enter image description here

It is also mentioned in official SXA documentation: https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/add-a-style-for-a-rendering.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.