Archived

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

  • 0

Base Theme - Still the best way to make customizations?


Question

Posted · Report post

I'm wanting to make customizations to my pagelines theme.

I'm wondering the following:

- Is it still best practice to use the Pagelines Base Theme for all changes?

- Now that pagelines is 'Less', should I not modify style.css in the base theme?

- Should I update the Base them everytime a new Pageline update is pushed out? Does it matter?

- Can I/should I copy the less folder into the base theme folder and make modifications from there?

Thanks in advance.

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Hi there,

Yes we still advise the base theme as the best/professional way to customize your site.

All changes must now be placed in the style.less file within the base theme.

Your base theme will remain the same regardless of the updates to the framework. You won't have to update the base theme each time.

Each section will now have its own less file, there will not be one sole file like 'style.css' has. You can either copy over the pieces you want to edit piece by piece, or take the entire section over and edit directly inside the base theme.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Don't copy the /less folder from the core framework into your child theme. You can still use style.css, but using style.less instead is the recommended way. LESS fully supports all CSS so there's no conflict there, only benefits and helpful stuff once you get to know it.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks guys.

So, for example:

Let's say I wanted to edit Breadcrumbs. Should I copy it over so it is in pagelines-template-theme>less>breadcrumbs.less and work with it that way?

Share this post


Link to post
Share on other sites

Posted · Report post

What type of edit are we talking about ?

Simple CSS changes or adding/modifying the code ?

Share this post


Link to post
Share on other sites