• 0

DMS Template Names not saving in code


Question

Posted · Report post

One of our websites http://www.perininero.com does not succeed in adding template names in the source (so css adjustments are impossible per custom template). While at another DMS site http://www.larissaszwart.com this works properly. Plugins nearly the same. We don't know what we're doing wrong... Can anyone assist?

 

We attached an image of code, template not added. And an image of code, template added.

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted · Report post

Hi,

 

DMS doesn't add a template class name to the body, it has been suggested in our issue tracker. Therefore, the website that has these body classes, most likely has V2 Compatibility enabled in the options.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Danny

 

Thanks for the prompt reply. The v2 Comp. is not switched on. Strange.

 

Any chance the suggestion in issue tracker will be implemented in a future DMS update/version?

 

If there's no template class name (now), how to set css adjustments for a specific custom template then? (f.e. regarding to header, footer, links at custom template)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You can use the page-id-x class, there is also the archive and category classes I think.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Danny yes I know, but then I have to add all page id nmbrs to css :-(

 

Thanks anyway.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now