0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

SOLVED Turning Off Particles Defaults do not change the page size

    • Patrick Toulze's Avatar
    • Patrick Toulze
    • Elite Rocketeer
    • Posts: 1810
    • Thanks: 18
    • Marketing - Web Designer

    SOLVED Turning Off Particles Defaults do not change the page size

    Posted 7 years 11 months ago
    • I turn off all unused Particles in the templates I used (Isotope) I was thinking that it will lower the size and number of css/js files loaded on the Site.

      Seem to do absolutly nothing?

      1— Do I have to clear the gantry templates caches?

      2— Are all css/js for these particle are loaded anyway?

      3- Are all css/js for these particle are loaded only if used?

      4- How I prevent all thoses css/js files to load if unused?
    • Last Edit: 7 years 11 months ago by Patrick Toulze.
    • Graphic Designer - Marketing -Web Sites — Trying to become a decent human being.
      www.grafcomm.ca
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Turning Off Particles Defaults do not change the page size

    Posted 7 years 11 months ago
    • 1. yes
      2. no
      3. yes
      4. Depends which ones you mean specifically - there will be several require by Gantry anyway.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Patrick Toulze's Avatar
    • Patrick Toulze
    • Elite Rocketeer
    • Posts: 1810
    • Thanks: 18
    • Marketing - Web Designer

    Re: SOLVED Turning Off Particles Defaults do not change the page size

    Posted 7 years 11 months ago
    • Ok, If I understand well, Gantry Template take care of it
      If particle “ON” in template but not Used, their CSS/JS will not be loaded.

      Is this right?
    • Graphic Designer - Marketing -Web Sites — Trying to become a decent human being.
      www.grafcomm.ca
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Turning Off Particles Defaults do not change the page size

    Posted 7 years 11 months ago
    • Particles will not load their JS or CSS if they are not used since it is the particle itself that load the dependencies in the TWIG file.

      Regards, Mark.
    • The following users have thanked you: Patrick Toulze

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Patrick Toulze's Avatar
    • Patrick Toulze
    • Elite Rocketeer
    • Posts: 1810
    • Thanks: 18
    • Marketing - Web Designer

    Re: SOLVED Turning Off Particles Defaults do not change the page size

    Posted 7 years 11 months ago
    • Cool, I will not have to turn them off in the template
    • Graphic Designer - Marketing -Web Sites — Trying to become a decent human being.
      www.grafcomm.ca

Time to create page: 0.081 seconds