This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## Once the "gulp-first-time-setup" script has been run (see gulp-readme.md) you should run THIS version from that point on | |
## Copy/paste this line into the Console to make this script executable: chmod +x gulp-setup.sh | |
## Copy/paste this line into the Console to execute this script: ./gulp-setup.sh | |
## Initialize NPM | |
npm init --yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Primary Styles" : { | |
"Import Path": "/scss/", | |
"Formatter": "Expanded", | |
"PreCSS File Path": "/scss/style.scss", | |
"CSS File Path": "/style.css", | |
"PreCSS Images Path": "/scss/images/", | |
"CSS Images Path": "/images/", | |
"Images Sync Type": "update" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
@font-face { | |
font-family: 'Rubik-Regular'; | |
src: url('<?php echo get_stylesheet_directory_uri(); ?>/fonts/Rubik-Regular.eot?#iefix') format('embedded-opentype'), url('<?php echo get_stylesheet_directory_uri(); ?>/fonts/Rubik-Regular.woff') format('woff'), url('<?php echo get_stylesheet_directory_uri(); ?>/fonts/Rubik-Regular.ttf') format('truetype'), url('<?php echo get_stylesheet_directory_uri(); ?>/fonts/Rubik-Regular.svg#Rubik-Regular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.builder-page .site-inner { | |
max-width: 100%; | |
padding: 0; | |
} | |
.builder-page .content { | |
width: 100%; | |
} | |
.builder-page .entry { | |
margin-bottom: 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wrap => .site-container | |
#header => .site-header | |
#title-area => .title-area | |
#title => .site-title | |
#description => .site-description | |
#nav => .nav-primary | |
#subnav => .nav-secondary | |
#inner => .site-inner | |
#content-sidebar-wrap => .content-sidebar-wrap | |
#content => .content |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setting the DOM element's onclick to null removes the inline click handler | |
$('#example-button')[0].onclick = null; | |
// Then you can add your own custom click event function | |
$('#example-button').click(function() { alert('My Custom Click Event') }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'My Custom Font'; | |
src: url('https://my-site.com/wp-content/uploads/dynamik-gen/fonts/my-custom-webfont.woff2') format('woff2'), | |
url('https://my-site.com/wp-content/uploads/dynamik-gen/fonts/my-custom-webfont.woff') format('woff'); | |
font-weight: normal; | |
font-style: normal; | |
} |
OlderNewer