We would like to add one div at the top of #wrapper in Sitecore SXA 1.8.
Would like to add extra div through
Content Editor. I don't want to add in layout view.
I tried to add
metadata partial design to add div at the top of #wrapper under
body-top placeholder and added under
Page Designs. It is showing on the page and working fine. Same scenario I need it into the
Partial Design. There , we don't have any provision to add
metadata partial design in
Partial design. So I have added rendering at
Partial design in
Details button and provided
body-top placeholder to it.
Only concern here, we will use
body-top placeholder for
metadata partial design as it shows there. Can we use this placeholder in
partial design as it does not show there but when we add rendering through Presentation tab then it shows in html.
Partial Design :-
Metadata Partial Design :-