Shopify Slate theme with Bootstrap 4

Highlighted
Explorer
50 2 12

@Brendin — Thank you! I'm always open to accepting PRs for the repository, so submit one if you think it's a good fix!

0 Likes
Highlighted
New Member
3 0 0

Hi!

 

I trying few times but still I got this result after install new template: https://vingtquatre24.myshopify.com/ 

 

the css is empty ...

 

what I doing wrong?

0 Likes
Highlighted
Excursionist
31 0 9

Hey @Lucaspw, take a look at theme.js and make sure that jQuery is loading properly. More info in this GitHub issue:

 

https://github.com/neckerson/slate-bootstrap-theme/issues/6

 

I can see "ReferenceError: $ is not defined" in the console.

 

Nate

0 Likes
New Member
3 0 0

But Jquery library i loading properly but not working in <body>, for example not working here:

 

$(document).ready(function(){
if($('.searchboxin').val()=='') {
$('.searli').css('z-index','9999');
$('.searli').css('position','relative');
}
});

 

but the most important is that I can't find that code in files, I think is auto generated, maybe before jquery is loaded? 

 

Screen Shot 2020-02-18 at 09.47.36.png

0 Likes