Getting 403 Error with Slick and Flexslider

Can’t seem to figure this one out! First, I tried Flexslider and then I tried Slick. I am getting the same errors (except different but corresponding files associated with each) with both.

  • HTTP403: FORBIDDEN – The server understood the request, but is refusing to fulfill it. GET – http://example.com/nb/libraries/slick/slick/fonts/slick.woff

    CSS3116: @font-face failed cross-origin request. Resource access is restricted. slick.woff (1,1)

    CSS3119: No fonts available for @font-face rule css_6odlkyNaVFLTqViPL8NTvp0LHNfHMk7qljtq9j_MX7w.css (33,241)

    HTTP403: FORBIDDEN – The server understood the request, but is refusing to fulfill it. GET – http://example.com/nb/libraries/slick/slick/fonts/slick.ttf

    HTTP403: FORBIDDEN – The server understood the request, but is refusing to fulfill it. GET – http://example.com/nb/libraries/slick/slick/ajax-loader.gif

Seems to be a permissions problem, but haven’t figured out how to fix it.

Using Drupal 8.7.1 Any help would be appreciated.

Drupal 8 ,Can i make flexslider feature of Multiple slider override by my custom js for only responsive

In this for Computer device used min items 1 and max Items 3 but in mobile device also give same max Items 3.

For responsive in mobile i used

example.libraries.yml file

global-styling:

css:

theme:    css/style.css: {} 

js:

js/custom.js: {} 

dependencies:

- core/jquery  - flexslider/flexslider 

and at custom.js file i can override flexslider properties

if($ (“#mob_hidden”).css(‘display’) == ‘none’){

    $  ('#flexslider-1').flexslider({        animation: "fade",        animationLoop: true,        itemWidth: 210,        itemMargin: 5,        minItems: 2,        maxItems: 2      });    } 

for this mob_hidden work at css i used #mob_hidden{display:none;}

And at page.twig.html

at last this code is used for flexslider custom.js file only work at responsive

<div id=”mob_hidden”>

</div>

but custom.js file code is not work

how could i possible to make in computer i want multiple item but in mobile device i want less than 2 item or 1 item.