8000 Carousel css not loaded · Issue #58 · Alecaddd/awps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Carousel css not loaded #58

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 &ldqu 8000 o;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

Closed
BaronVonPerko opened this issue Oct 20, 2019 · 1 comment
Closed

Carousel css not loaded #58

BaronVonPerko opened this issue Oct 20, 2019 · 1 comment

Comments

@BaronVonPerko
Copy link
Contributor

Not sure if this is intentional or not, but the css that ships with the slick carousel package isn't loaded into the theme, even though there is a carousel.js file.

In my project, I updated the mix file to include adding the css to the assets directory:

mix.sass( 'node_modules/slick-carousel/slick/slick.scss', 'assets/dist/css' )

Then updated the Enqueue.php file:

wp_enqueue_style( 'slick', mix('css/slick.css'), array(), '1.0.0', 'all' );

I can make a PR if you want this included by default 😉

@Alecaddd
Copy link
Owner

Yes please 😄
I should find some time to test AWPS with the new version of WP.

BaronVonPerko added a commit to BaronVonPerko/awps that referenced this issue Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0