Jump to content

Archived

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

Designa

Use of Child Theme

Recommended Posts

Designa    0
Designa

Hi Team,

 

I am excited to do all my future design work with DMS2 however I am having some difficulty with the learning curve. The user guide tells me to make sure I "checkout the video tutorials which explain everything in greater depth" but these seem to be extremely well hidden. Probably my biggest concern at this stage is whether it is 'best practise' to use a child theme with DMS2 and if so is there a 'vanilla' style one available.

 

Cheers,

 

Mick Peterson

Share this post


Link to post
Share on other sites
Aires+    258
Aires

Hi,

Its always good practice to use a child theme as anyone in this community will tell you to keep your changes from getting overwritten during an update. 

 

Danny our resident guru put this together  https://github.com/Dannyholt/Skeleton.

 

Hope this helps

  • Like 1

ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


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

Hi Mick,

 

Yeah, you're best using a child theme, as it will give you peace of mind that your custom CSS will not be overwritten by an update to DMS. You're free to use the one I created which Aires linked above.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
quintinm    6
quintinm

Danny, if a site is already done in DMS2, how do you transfer it to a childtheme?

Share this post


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

Nothing as far as I know, your child theme should inherit all the settings, layouts etc...

 

I would perform a backup just as a precaution.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Designa    0
Designa

Thanks guys.

 

Much appreciated.

 

Cheers

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
quintinm    6
quintinm

Hi guys, Danny, i just tried to upload your child theme to the HCP pumps site and it just wont let me do it - i get this message:

By the way - when prompted i selected "NO" for the dropdown "Upgrade existing theme?" Should i have said yes instead?

 

 

Installing Theme from uploaded file: skeleton-basic.zip

The Easy Theme and Plugin Upgrades plugin was unable to handle requests for this upgrade. Unfortunately, this setup may be incompatible with the plugin.

Unpacking the package…

Installing the theme…

This theme requires a parent theme. Checking if it is installed…

Preparing to install DMS 1.1.1

Downloading install package from https://wordpress.org/themes/download/dms.1.1.1.zip

Unpacking the package…

Installing the theme…

Destination folder already exists. /usr/www/users/hcppum/temp/wp-content/themes/dms/

Theme install failed.

Theme installed successfully.

Share this post


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

Not sure whats going on there, you should just be able to install Skeleton without any issues, as its a super basic child theme. If you're having issues, then you most likely have some kind of plugin active causing the error. I am not even sure what that message is about what is easy theme and plugin ?

 

Also, what version of DMS are you using ?


Please search our forums, before posting!

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?
×