Multiple loads of logo image

5 replies · opened Mar 6, 2021

PpguyardMar 6, 2021

On my pages (link attached), when I scroll down I get constant requests for the logo image files (see attached screenshot). How can I prevent this please?

Thanks

SSemicolon WebSTAFFMar 7, 2021

Hello,

Since you are using an Older Version of Canvas, this is currently the only way it works on this Version. However, this has been fixed and improved in the Latest Versions of Canvas, so you will need to update your Website to the Latest Version in order to fix this functionality.

Migration Guide: http://docs.semicolonweb.com/docs/upgrading-v5-to-v6/migration/ .

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

PpguyardMar 8, 2021

OK I am trying to upgrade my version but getting errors in the SASS compilation.
The error is

@import "sass/variables";
   ^
    messageOriginal: It's not clear which file to import for '@import "sass/variables"'.
Candidates:
  sass/_variables.scss
  sass/variables.scss
Please delete or rename all but one of these files.

    relativePath: app\style.scss
    domainEmitter: [object Object]
    domainThrown: false

I have tried with gulp-sass and also the Koala app.

I have compared variables.scss & _variables.scss and they are differences between the files. There are also many other files like this that come in 2 versions.

Thanks

PpguyardMar 8, 2021

I got it to work by replacing '@import' with '@use'

PpguyardMar 8, 2021

No sorry that didn't work, it just copies the import statements to the compiled css file, nothing else!

SSemicolon WebSTAFFMar 9, 2021

Hello,

Make sure that you are replacing the entire Folder and not keeping any old files. The new file's name is _variables.scss. Consider using the Default Package Folder to compile the SCSS.

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard