Jump to content
josh1178

Base Theme - Still the best way to make customizations?

Recommended Posts

josh1178    10
josh1178

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
James B    436
James B

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.

  • Like 1

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
evan    0
evan

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.

  • Like 1

Share this post


Link to post
Share on other sites
josh1178    10
josh1178

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
Danny    1,327
Danny

What type of edit are we talking about ?

Simple CSS changes or adding/modifying the code ?


Please search our forums, before posting!

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


  • Similar Content

    • GreyFoxWebDesign
      By GreyFoxWebDesign+
      Hi, could you let me know where the custom less/css is saved to - i.e. how I could access it directly via the server.
      I hid the Admin Bar by mistake and now can't save any changes to the Custom CSS as the Save Button is not available - so I need to find another way to access and edit the custom CSS.
      Thanks in advance
    • hungryitalian
      By hungryitalian
      Hopefully a quick and easy question.  How do I create margins in between the images in Grams?  I'd like it to look like this: http://sortedtravel.com/memoirs
      Thanks,
      J.D.
    • Audun MB
      By Audun MB+
      How do I get the LESS in a child theme to compile?
    • dymond
      By dymond+
      I've been trying to upload a video to use as a video background, but the size was 12m, and the alotted max file size is 8m. I downloaded a couple of pugins that increase the size by creating php.ini files and all of that jazz, but to no avail. It would say (Max file size = 250mb) but after I uploaded I would get an "HTTP ERROR",
      Soooo I logged into my cpanel and saw that the php I was using was 4 version out of date. I upgraded my php to PHP 5.6 and now I get
      Fatal error: Out of memory (allocated 39583744) (tried to allocate 15 bytes) in /homepages/39/d200014696/htdocs/dymondentertainment.com/wp-content/themes/dms/dms/includes/less.plugin.php on line 848
      When I activiate another theme that is not pagleines, the site works fine.... but will no longer work with Pagelines DMS Version 2.2
       
      My site has no gone dark. What can I do?
    • station16
      By station16
      I installed DMS for a new site and got an error message on install and when I install any plugin.
      Warning: Invalid argument supplied for foreach() in /nfs/c09/h04/mnt/208781/domains/prevailcoffee.co/html/wp-content/themes/dms/dms/includes/less.legacy.php on line 818
      I installed the latest DMS 2.1.9.6
       
      Please advise. I'm now having issues getting any plugins to work. Not sure what to do next.
      thanks,
      -b
×