Invisible DNN Container - which is what is usually needed on most modern web sites.
- It works perfectly with DNN Bootstrap Skins like:
- DNN Bootstrap3 Instant
- DNN Bootstrap3 Single Pager
- And it's awesome together with professional content-templates like
- Standard Bootstrap3 Content Blocks/Templates
If you want to create a good looking website, then the container of each module must be invisible. This is the ideal container for that.
We recommend that you place this in your /Portals/_default area, but you can also put it into your specific portal, like /Portals/0/. The following 2 examples assume you want to put it into _default.
This assumes that you already have git installed on your pc and that you kind of have an idea what git is :)
- In your file explorer, go to
/Portals/_default/
, then shift-right-click on theContainers
folder and choose Open Command Window Here. You should now have a command-line on that folder. - Run this command:
git clone https://github.com/2sic/dnn-container-invisible "Invisible container"
This will automatically get the latest copy of this container and place it in the right folder. You can now use it in any layout you want.
- In your file explorer, go to
/Portals/_default/Containers/
- Create a new folder, call it
Invisible container
. You should now have
/Portals/_default/Containers/Invisible container/
- Paste the ascx-file from this package into that folder. You should now have
/Portals/_default/Containers/Invisible container/default.ascx
You can now use the container in any layout you want.