Jump to content

Archived

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

jmad

Using DMS Child Theme in Conjunction with Skeleton

Recommended Posts

jmad+    80
jmad

So if I use a DMS child theme like PinsPro and then still want to customize via the Skeleton child theme will that still work the same as just using the Core DMS theme?

Share this post


Link to post
Share on other sites
batman    389
batman

Hi jmad

No, I can read this in the read.md

 

A simple child theme for PageLines DMS 1.x and 2.x, containing nothing, but the bare bone (no pun intended) files. The idea behind Skeleton is to provide you to have an insanely basic child theme for which you can build upon. 

 

And i made some test and this don´t work, you can take a look to this

http://codex.wordpress.org/Child_Themes


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
jmad+    80
jmad

Okay.  So I can't use PinsPro and then still use the Skeleton to customize but would need to do any customization in the PinsPro child theme?  Wouldn't updates be lost?

Share this post


Link to post
Share on other sites
batman    389
batman

Mmmm jmad

I´m not sure, but always the Child Theme is better on the updates.

 

 

I made a own child and this work fine for me using 

http://codex.wordpre...rg/Child_Themes

 

http://screencast.com/t/FWNA4PBxPN

 

Perhaps you can make a test with your own Child Theme.

;)

 


Life is too short to remove USB safely ...

Share this post


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

The PinsPro theme is a core theme, exactly the same as DMS and iBlogPro 6, so you can use Skeleton with it. All you will need to do is download a fresh copy and in the style.css file, change the following:

 

Template: dms

 

to 

 

Template: pinspro

 

That tag tells WordPress that the theme is a child theme for Template: X

  • Like 2

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jmad+    80
jmad

Thanks.

 

Share this post


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

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jmad+    80
jmad

One more question on this.  Where should Skeleton go if you are using the DMS theme and were should it go if you are using a child them like PinsPro or iBlogPro?  I'm talking in the file structure (sftp).

 

Share this post


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

Skeleton is a child theme so it goes in the themes folder like any other child theme. 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jmad+    80
jmad

So I had the child theme sort of worked out in DMS1 but now I'm trying to make sense of this in DMS2.  I've been looking at the file structure and just want to make sure I under correctly.  First, Danny you should put a donate button on the Skeleton download page.  Second, we are free to rebrand that and use for any purpose, correct?

 

Questions...sorry if these are basic but I'm just making sure I have this correct.

-Why is Masthead included for a section? Just as a sample?

-Less>variables.less can be changed to what I need if I want to change other less items say for modals should I copy the .less file from the CoreDMStheme, paste to Skeleton and make changes?  

-In the CoreDMS, there is a forms.less what does that effect as there aren't forms in DMS...does what it is in there impact plugins like contact7 in anyway?

-If I want to change the less of a Section should I copy the section from DMSCore to Skeleton and then adjust the .less or can I just adjust the .less in the style.less folder in skeleton.  Which is the best method...either way work?

-the Skeleton will override the Core, but Custom CSS in the "Custom CSS" area of DMS will override Skeleton...correct?  

 

And I'm sure this is a stupid question but why do the readme and style.less file show as executable when the file is unloaded on desktop?  I can view them using text edit or in Transmit.  

Share this post


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

Jmad, Skeleton literally took me 2seconds to create, therefore, I feel it doesn't warrant a donate button, as I wouldn't be happy taking peoples money for something that took no time at all. However, I appreciate the suggestion.

In regards to rebranding Skeleton, you're free to do whatever you like, the website gives instructions on how to do this - http://dannyholt.github.io/skeleton/help/

 

1. Masthead is included as a sample to demonstrate that you can copy a sections folder for example Hero and place it into the Skeletons sections directory and this will override the core Hero section, like the included Masthead does. it is nothing more than a sample, you're free to remove it if you like.

 

2. If you want to override the default .less (styling of DMS), then you copy and paste the .less file you wish to override into the less directory in Skeleton.

 

3. The forms.less file is there for default forms, such as ones you may add yourself. I highly doubt it will impact on a plugin such as Contact Form 7, as that will likely include its own styles.

 

4. If you want to change the less styling of a section, then you can do it either you mentioned. However, if you do it via the sections folder via the skeletons section folder you're basically editing that sections default styling. Where as if you add it to the style.less file in skeleton you're overriding the default styling. I would use the former personally.

 

5. Custom CSS in the DMS toolbar will override everything, including a child theme such as Skeleton.

 

No files in skeleton should show as an .exe file, this is likely cause by your file types settings on your OS. You will want to assign those files to open in a code editor such as Sublime Text or Atom.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jmad+    80
jmad

Great.  

Share this post


Link to post
Share on other sites

  • Similar Content

    • flourishdesignstudio
      By flourishdesignstudio
      I am working on a multisite installation and had some questions regarding the themeing options. All the sites will have the same structure but each individual site would need a different h1 font and link color. I had originally thought that I would program/edit the parent theme to have a certain set of templates, font sizes, etc. and then that would feed to all the individual sites where I could activate the child theme and use the child theme to define the individual sites' specific link color, heading fonts, etc. So, what I was shooting for was:
      Parent theme = shared by all sites
      Child theme = specific to the minor customizations on a per site basis.
      Is this possible? Am I misunderstanding how these would actually deploy to the different sites?
    • jagipson
      By jagipson+
      Should be a simple answer but not sure why its not doing this.  I have a child theme installed on pagelines 5 that has a hook so it will write over the theme css. Strange is that when I am on the frontend the code works but in the dashboard your theme takes over my code and its no where to be found. See examples attachments
      @Andrew @Danny


    • TallTree
      By TallTree+
      Hi,
      I am trying to remove the sidebar areas from my child theme (pagelines.com) from the post pages on a site:
      https://staging4.talltreemusicfestival.com/2017/grand-analog/
      The content is all the way to the left and very small, and the two sidebar areas are taking up a lot of space.
      What I'm after is content to the left, taking up most of the space, and then a small sidebar width on the right for widgets.
      I've tried selecting 'read width content' and 'full width content' in the edit screen for the WP content section, but it doesn't change.  If I try to move the sidebars (1 or 2) to the left, it doesn't change.
      If I select the pagelines framework theme (not child), the two sidebars go away when not selecting them in the edit screen..
      Can someone please tell me what I'm doing wrong?
      Thanks in advance.
      -Matt
       
    • dbrowne02
      By dbrowne02+
      Hi, I noticed that framework and pagelines.com child theme has a number of errors when run through themecheck. The others, like material and bootstrap, don't have any errors when run through theme check. Is there a way to get it so that there are no errors on the child theme?

    • Grant Turck
      By Grant Turck+
      What file do I need to add code to in my pl-framework-pagelines child theme to insert script after opening body tag on every page?
      Can you someone provide me with the code also?
×