Contents tagged with "css"

  • Hide Elements from Layout Part Orchard CMS

    Layout Part in Orchard CMS is a very powerful tool, but it is complicated for the end user (content editor), as you can see in this picture:

    Also the Dashboard sometimes can be complicated for a non-developer user. In almost every Orchard CMS Website I use in TheAdmin Theme a noadmin.css file. This file is called only when the user in not the Admin and hides things from the end user.

    Add the noadmin.css file in the Styles folder in the TheAdmin Theme. Add these line of code in the …

    Read More 
  • Custom Code Widget Orchard CMS

    In an Orchard CMS Website the CSS and JavaScript files are inside your Theme.

    But there are cases that you need to load a CSS or a JavaScript code in a specific page only. Or maybe you need to make a quick fix in a production website.

    These cases can be solved with this Custom Code Widget created by Constantinos Gatis.

    Installation:

    Enable Import Export Module

    Enable Razor Templates Module

    Import CustomCodeWidget.xml

    If the installation of the Widget is successful, in your Template …

    Read More