Jump to content


Photo
- - - - -

Base Theme - Still the best way to make customizations?

base theme customizations less

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 josh1178

josh1178

    Super Member

  • Members

  • 181 posts

Posted 02 October 2012 - 01:57 AM

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.

#2 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 02 October 2012 - 03:14 AM

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.

#3 Evan Mattson

Evan Mattson

    Super Member

  • Members

  • 227 posts

Posted 02 October 2012 - 03:45 AM

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.

#4 josh1178

josh1178

    Super Member

  • Members

  • 181 posts

Posted 02 October 2012 - 05:39 AM

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?

#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 16555 posts

Posted 02 October 2012 - 10:35 AM

What type of edit are we talking about ?

Simple CSS changes or adding/modifying the code ?