• Resolved coreylewisdesign

    (@coreylewisdesign)


    Hello,

    I am using one of the awesome HTML5 Up templates and attempting to incorporate it in my WordPress theme.

    For some reason, when I place the HTML5 Up template in WordPress, it automatically looks for a css folder in the root directory like so: “https://website.com/css/style.css”

    What I believe is happening is that within the “init.js”, starting at line 45, the “breakpoints” for some reason are looking for the root of the website and then trying to look for files located in a css folder.

    Although this is good for static files, in WordPress, it needs to point to, for instance, (../wp-content/themes/theme_name/library/css/helios.css).

    There has to be a way to tell the js files to point where you want it to go in WordPress besides automatically pointing to a css folder in the root by default. Any ideas how to go about manipulating this process? I appreciate the help!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML5 Up template using incorrect CSS path in WordPress!’ is closed to new replies.