Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<xf:if is="{$xf.visitor.Profile.custom_fields.floatingnav}">
<style>.XenBase .p-navSticky.is-sticky { position: relative !important; }</style>
</xf:if>
Seems to work perfectly, thanks!
Will I have issues upgrading having edited the template directly? It was an empty template so I assume not but would a template modification be better?
<xf:if contentcheck="true">
<style>
<xf:contentcheck>
<xf:if is="{$xf.visitor.Profile.custom_fields.floatingnav}">.XenBase .p-navSticky.is-sticky { position: relative !important; }</xf:if>
<xf:if is="{$xf.visitor.Profile.custom_fields.removeavatar}">.XenBase .message-avatar-wrapper { display: none !important; }</xf:if>
</xf:contentcheck>
</style>
</xf:if>
p.s. You should make these XenBase options or addons or something.
.structItem-cell.structItem-cell--icon {
display: none;
}