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 Custom.scss

    • Joombler's Avatar
    • Joombler
    • Elite Rocketeer
    • Posts: 715
    • Thanks: 5

    SOLVED Custom.scss

    Posted 3 years 1 week ago
    • [J! 4.1.4 | Gantry 5.5.13]
      When I change custom.css @ ../templates/g5_hydrogen/custom/scss/custom.scss I notice that the css content is not always causing overrule of the original css rule. Only when I change the compiled version of the css that is overruled by custom.css, the adjustment is seen.
      Does that implicate that after a change of custom.css I always have to recompile (Gantry)?

      Best, Jmblr
    • Last Edit: 3 years 1 week ago by Joombler.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Custom.scss

    Posted 3 years 1 week ago
    • If your in production mode then you will have to clear server cache and press the recompile CSS on the base outline. In development mode Gantry 5 should automatically detect changes and recompile the CSS anyway. But also make sure that your CSS statement have sufficient CSS specifity too to effect an override.

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

    • 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.
    • Joombler's Avatar
    • Joombler
    • Elite Rocketeer
    • Posts: 715
    • Thanks: 5

    Re: SOLVED Custom.scss

    Posted 3 years 1 week ago
    • Got it, thanks. I indeed set to production mode recently.
    • Last Edit: 3 years 1 week ago by Joombler.

Time to create page: 0.057 seconds