Hey all,
I am looking for some help to use a keyword to target and print our side nav section which is currently hidden in mobile.
I am testing a new mobile friendly side nav which affixs to the top of the content and have this working via a metadata keyword on our sub domain site. But, on our corporate domain site we do not have this metadata field, the section nav is automatic based on parent and child pages being created.
How do I target this via a keyword?
In the main design parse file our side nav section is detailed as below:
<MySource_AREA id_name="side_nav_open" design_area="asset_lineage" cache="1">
<div class="container">
<div class="row">
</MySource_AREA>
<MySource_AREA id_name="side_nav_section" design_area="asset_lineage" cache="1" print="no">
<MySource_SET name="levels_to_print" value="1" />
<MySource_ASSET><h2 class="sub-nav-heading"><MySource_PRINT var="asset_name_linked" /></h2></MySource_ASSET>
<MySource_DIVIDER></MySource_DIVIDER>
</MySource_AREA>
<MySource_AREA id_name="side_nav" design_area="menu_normal">
<MySource_SET name="level" value="1"/>
<MySource_SET name="show_subs" value="on_current" />
<MySource_SET name="settings.class.normal" value="" />
<MySource_SET name="settings.class.current" value="active" />
<MySource_SET name="settings.class.hierarchy" value="active-parent" />
<!-- LHS nav -->
<nav class="hidden-xs hidden-sm col-md-3 col-lg-3 sub-nav" aria-label="Section Navigation">
<ul>
<li class="level-0">
<MySource_PRINT id_name="side_nav_section" />
<MySource_ASSET>
<li class="level-1">
<a href="<MySource_PRINT var="asset_url"/>" class="<MySource_PRINT var="settings.class" />"><MySource_PRINT var="asset_name"/></a>
<MySource_SUB design_area="menu_normal">
<MySource_SET name="show_subs" value="on_current" />
<MySource_SET name="settings.class.normal" value="" />
<MySource_SET name="settings.class.current" value="active" />
<MySource_SET name="settings.class.hierarchy" value="active-parent" />
<ul>
<MySource_ASSET>
<li class="level-2">
<a href="<MySource_PRINT var="asset_url"/>" class="<MySource_PRINT var="settings.class" />"><MySource_PRINT var="asset_name"/></a>
</li>
</MySource_ASSET>
</ul>
</MySource_SUB>
</li>
</MySource_ASSET>
</li>
</ul>
</nav>
</MySource_AREA>
Thanks