We already created this file at the initial stages of our theme development. Now that the directory structure in place, let’s go ahead and download the initial stylesheets and scripts we need to proceed forward with this project Here is how assets directory looks inside Visual Studio Code Editor: So, let’s create four more directories under assets. In other words, its a directory for housing publicly accessible assets like scripts, stylesheets, images and custom fonts like F ontAwesome. modernizr.js for detecting features of the browser like flexbox,grid, etc.įor the purposes of this project, We will be using quite a lot of third-party stylesheets and scripts.Īnd to house these scripts and stylesheets, let’s create a new directory inside our nd-dosth theme and let’s name it assets .superfish.js and superfish.css for creating accessible drop-down menus. bootstrap.css to save our time when dealing with layouts, tabs, accordions.normalize.css for resetting browser-based styles.Third Party Stylesheets and Scripts Like. In the case of WordPress, we usually put all our custom styles inside the style.css file and our main Javascript code inside the main.js file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |