Jump to content
Sign in to follow this  
joseneas

Compiled CSS - Sections of "Pagelines" if inactive, could not be compiled.

Recommended Posts

joseneas

I have disable some sections of Pagelines, but they continue with yours ".LESS" being compiled.

For example, I have disabled Comments, Callout, Nav Classic, TwitterBar and Features Section. So why do they continue being compiled?

The file "compiled" possesses around 8,000 lines of code.

Well, I use shared hosting, then this could bring improvements in loading the site?

Well, if these sections were not compiled, increase the performance of site?

Thank you!

Share this post


Link to post
Share on other sites
Rob

The code for the things you've disabled via admin panels remains in the system, even though it's not being actively used. It remains there in case you should decide to implement them at some future date. .LESS is simply compiling the CSS for these sections/elements and maintaining them for possible future use.

The compiled file, if not minified is about 150k. Our upcoming next update will include a new minify capability to reduce the file size even further.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Simon

joseneas This has been fixed in the next release, disabled sections will no longer be included.

  • Like 1

Share this post


Link to post
Share on other sites
joseneas

Ok! We can close this question.

Thanks!

Share this post


Link to post
Share on other sites
Simon

The topic was marked as resolved.

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  

  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      }
       
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
      Thanks
      Michael
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      Looking at the slow_errors log of WordPress, I have noticed that Pagelines is #1. The site in question is michaelkummer.com  - see
      Michael Kummer Information -- 96752
      --------------------------------------------------
      slow_errors: 4518
      slow_errors_common: [pool site-96752] script_filename = /www//wp-admin/admin-ajax.php +++ dump failed
      slow_errors_common_total: 372
      slow_errors_common_themes_and_plugins: /wp-content/plugins/pl-platform: 1246
      /wp-content/themes/pl-framework: 746
      My hoster is Flywheel is they are usually pretty good when it comes to performance. So I was wondering if anyone else has experienced those issues and if there are any solutions.
      Thanks
      Michael
    • yemoonyah
      By yemoonyah+
      Hi, even though I just got a SSL certificate, I can't get the green padlock to appear due to the following error:
      :A file with an insecure url of "http://yemoonyah.com/wp-content/plugins/pl-section-boxes/check.svg" was loaded via the javascript file: https://yemoonyah.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere."
      I figured if I delete and re-install the plugin it might fix the problem but will my boxes on the website still be there? Or do I have to redesign everything all over again if I delete the plugin and then re-install it?
×