Jump to content
Sign in to follow this  
krafit

Remove Less-CSS

Recommended Posts

krafit

Hej Pagelines-People, I need to remove ALL "Less-CSS" Code from my sites source code. I wonder if removing the draw_less function from /pagelines/include/less.function.php/:66 might help. In order not to change pagelines itself I need some code for my child themes functions.php Hope you can help...

Share this post


Link to post
Share on other sites
catrina
What is your intention for removing all "less-css" code? Are you planning on changing the CSS in it by adding other custom CSS to overwrite it?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
krafit
Good question. There are several reasons for me to remove it. The main ones are: I use only about 20% of it, most of the rest is overwritten by custom code. AND: In some situations overwriting parts of the "less-code" dose not work properly (even with !important as addition in my custom code)

Share this post


Link to post
Share on other sites
Rob
First, it's ill-advised to edit core files. If you do, things WILL break. Not might; not possibly - they simply will. If you do decide to edit or remove code, you do so without support. We won't be able to help you fix it if the site becomes messed up. (I'm being polite saying "if"... as I really mean "when".) If the !Important attribute's not working, the CSS is simply being inaccurately applied. We have some changes coming in an expected revision that will fix most CSS issues you may have.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
krafit
I don't want to edit any core files! Im just asking for a code snippet to add to my child themes function.php.

Share this post


Link to post
Share on other sites
Danny
Hi Krafit, What CSS are you trying to override ?

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

Sign in to follow this  

×