Jump to content

Archived

This topic is now archived and is closed to further replies.

gstrahle

Remove Header and Footer in Custom Templates

Recommended Posts

gstrahle+    0
gstrahle

I am having trouble when removing my header and footer from a template I would like to make without them.. I have tried every which way of creating new templates saving, editing locally, adding classes... and every time I remove the header from the specific page I do not want it on it removes the header from my whole site... this is driving me nuts, please help!!!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

HI,

 

Unfortunately, the Header and Footer areas are global template areas, this means that if you wish to have a template without them, you will need to remove them from all templates. 

 

You can't have individual templates with no header or footer, this has been reported to our tracker and our developers are aware of the issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kellyc214    1
kellyc214

Hi Danny,

 

How do I remove the header from all of the pages? I delete the header, publish and then when I come back to the page it reappears.

 

Thanks for your help!

 

Kelly

Share this post


Link to post
Share on other sites
kellyc214    1
kellyc214

Found it!

 

Place this code in the CCS section. The page number can be found by going to the page you would like to edit, then clicking on page setup, then page handling - it will give you the page id. You may have to refresh several times for the code to stick and the adjustment to be made. 

 

.page-id-175 #header {display:none !important; }

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

In DMS 2.x, If you go to DMS Toolbar > Site Settings > Advanced, there should be options to disable either the Fixed, Header and Footer regions.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Jared Smith
      By Jared Smith+
      I haven't figured out how to get the "Sync Loaded Item" option in templates menu of Platform 5 to stay checked. It doesn't give me an option to save settings when I select it, and when I select it then click off the editor, it unselects. Also if I select it before loading a template, it doesn't stay checked there either.  Whats going on?
    • flourishdesignstudio
      By flourishdesignstudio
      Hello,
      I have an older site that was built using PageLines several years ago (prior to the release of DMS). I wanted to leverage some of the power of your new PL5 plugin but the theme prevents be from adding any generated custom sidebars to the theme (through the drag and drop interface) and does not allow me to add any PL5 sections/containers/etc to the header or footer. Is there any way to easily override that or am I stuck only using PL5 in the content areas of the site?
      Thanks so much for the help!
    • Queue-it
      By Queue-it+
      Hi,
      I created a Pagelines template for a "Post type" post. Whenever creating a new post page it firstly display that template post and I have to manually change it in the scope from "All of type posts " to "Current page". 
      Is there a way to fix that? 
       
       

    • richardjacruz
      By richardjacruz+
      I'm building a website in a dev environment at http://162.144.182.17/~uescocra.
      I want to import a bunch of products, and then have the products have a different template than the default template. 
      I also want to change the default template for blog posts.
      Before I go making changes, can I do this where the post type of "products" has its own global template, and the same with blog posts?
      For instance, in a product I might want to have a widget for categories, similar products, etc., and in the blog I may want list of the latest posts, blog categories, link to an email sign-up landing page, etc.
      Thanks.
      Rich
    • JP
      By JP+
      Hello,
      How can you set the translations with platform5, the parts that are not in pages or posts? Texts and images…
×