0
Welcome Guest! Login
0 items Join Now

SOLVED custom.scss is not loading

    • Wouter's Avatar
    • Wouter
    • Jr. Rocketeer
    • Posts: 21
    • Thanks: 0

    SOLVED custom.scss is not loading

    Posted 3 years 6 months ago
    • Hey,
      I created a scss folder in the custom folder.
      In the scss folder I then placed the file custom.scss

      To test I put this code in that file:
      #g-mainbar {
          color: #fff;
      }

      If all went well, all text of the articles in the main section should now be white.
      But nothing happens at all.

      Not even after refreshing the browser.

      What should I do to get it working?

      I am using Gantry 5.5.3 (Helium) and Joomla 4.0.4
    • Best regards,
      Wouter
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED custom.scss is not loading

    Posted 3 years 6 months ago
    • What makes you think the scss is not loading? did you look with an inspector tool? That CSS won't necessarily change the article text color if there is other more specific CSS setting that.

      Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you.

      Please post your FTP logon, password and FTP URL in the secure area of your post.


      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.
    • Wouter's Avatar
    • Wouter
    • Jr. Rocketeer
    • Posts: 21
    • Thanks: 0

    Re: SOLVED custom.scss is not loading

    Posted 3 years 6 months ago
    • Thanks for your reply.
      You can find the credentials in the secure tab.

      If I use the inspect tools of firefox or chrome, then I can, for example, adjust the font color.
      But if I copy that code into the file custom.scss, the result is not visible on the website.
    • Best regards,
      Wouter
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED custom.scss is not loading

    Posted 3 years 6 months ago
    • 1. your scss had the # missing from the ID so I added it

      2. I cleared cache in Gantry 5 admin under "extras" button

      Now it works.

      Regards, Mark.
    • Last Edit: 3 years 6 months ago by MrT.
    • 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.
    • Wouter's Avatar
    • Wouter
    • Jr. Rocketeer
    • Posts: 21
    • Thanks: 0

    Re: SOLVED custom.scss is not loading

    Posted 3 years 6 months ago
    • Thanks a lot.
      Thank you very much for the explanation.
      Good to see it's working now.

      I will remember the tip to make use of emptying cache under Tools.

      This topic is solved now.
    • Best regards,
      Wouter

Time to create page: 0.067 seconds