Remove left Navigation when form opens

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Mapleleaf
Posts: 29
Joined: Tue Oct 25, 2016

12 Mar 2019

Hello,

when I want to remove the left Navigation I often use this code on pages:

<style>
#sideNavBox{display: none !important;}
#contentBox{margin-left: 20px !important;}
</style>

I put it in a script-editor webpart. Can I implement the code in the css of a form? Will this work? Is the syntax the same as in script-Editor-webpart?

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

13 Mar 2019

Dear Mapleleaf,

Please add these CSS rules in the CSS Editor without "style" tag, like this:
Screenshot_139.png
Screenshot_139.png (25.83 KiB) Viewed 2299 times

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests