Support Forum

CSS Compiled with Warnings

This is not relates to IT
but if anyone can help out will be appreciated.
Compiling in one template we get this error
can anyone figure out what is the issue?
in the below folder we have uploaded the scss file and the error screenshot
https://drive.google.com/drive/folders/1ddpven78i0z13henw7ivb1_hchyfsj6i?usp=sharing

Accepted Answer

Thursday, March 31 2022, 02:28 PM - #Permalink
Hi Kostas,

The problem comes from the "Background Size" option that we have in our templates (see the attached screenshot).
If you set it to 100% Gantry 5 will show the warning when you recompile the CSS.
This is because of the new (more strict) SCSS compiler in Gantry 5.5

For now you have two options:

1. Just disregard the warning. Everything will work just fine for the foreseeable future.
2. Set the "Background Size" option to Cover.

We will fix this some day, but it is really not high in our priority list :)
Attachments:
The reply is currently minimized Show
Responses (5)
  • Accepted Answer

    Wednesday, March 30 2022, 02:59 PM - #Permalink
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 30 2022, 05:19 PM - #Permalink
    Hi Kostas,

    I think I know what the issue is.
    I remember that I answered a very similar questions few months ago but I could not find the discussion.

    Anyway, please send me the site details by using the Site Details tab in your next comment and I will have a look.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 30 2022, 07:40 PM - #Permalink
    it happens in 2 outlines
    home-gr
    english-home
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2022, 07:42 AM - #Permalink
    Dear Ivo just checked your answer
    You are right as always
    The 100% was causing the issue
    Thank you so much for taking the time to see
    Wish you a great day!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2022, 09:24 AM - #Permalink
    Thank you, Kostas!
    The reply is currently minimized Show
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!