Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom scss won't change anymore #85

Closed
lennertfabriek opened this issue Feb 3, 2022 · 10 comments
Closed

Custom scss won't change anymore #85

lennertfabriek opened this issue Feb 3, 2022 · 10 comments
Labels
help wanted Extra attention is needed

Comments

@lennertfabriek
Copy link

Hi Basti! On this website: caddsign.nl the custom scss isn't working correctly anymore (for a week now). New changes are not loading (cache is deleted). Changes in other css files works right. Also the old css inside the custom scss is still working correctly. Only new changes won't work.

I can't find the fix..

also when home page is loading you see the slider images big. Do you know a quick fix for this? Some loading fix.

@lennertfabriek
Copy link
Author

When I am downloading the file from the directory the changes are in there!

@crftwrk
Copy link
Member

crftwrk commented Feb 3, 2022

Hi Lennert,

if compiler stops working, add define('WP_ENVIRONMENT_TYPE', 'development'); to wp-config.php. Check here #40 about this new feature. Now it recompiles on every page load. Delete it when finished. I had the same problem on a site. It seems that this sometimes happen.

also when home page is loading you see the slider images big. Do you know a quick fix for this? Some loading fix.

To hide ugly page loading issues, use the great preloader https://github.com/bootscore/bs-preloader.

Does this help?

@lennertfabriek
Copy link
Author

Thanks! first thing is solved.

The preloader looks really cool but it is taking too long.. Maybe if I do some more work about the page speed but I was happy with the speed load.

@crftwrk
Copy link
Member

crftwrk commented Feb 3, 2022

The preloader looks really cool but it is taking too long

This is because you enabled dev_mode define('WP_ENVIRONMENT_TYPE', 'development'); to recompile on every page load. Of course, this slow down your page. Remove it and preloader is fast as your page load.

@lennertfabriek
Copy link
Author

Oh duhh.. Is it possible to do the preloader only at the homepage?

@crftwrk
Copy link
Member

crftwrk commented Feb 3, 2022

No, preloader is on every page to create smooth page transitions.

@lennertfabriek
Copy link
Author

Aah okay. Thanks for your quick replies.

@crftwrk
Copy link
Member

crftwrk commented Feb 3, 2022

You're welcome. Solved?

@lennertfabriek
Copy link
Author

Yes you can make this solved

@crftwrk
Copy link
Member

crftwrk commented Feb 3, 2022

👍

@crftwrk crftwrk closed this as completed Feb 3, 2022
@crftwrk crftwrk added the help wanted Extra attention is needed label Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants