View genesis-xhtml-to-html-five-markup.css
#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 |
View genesis-page-builder-page-styles.css
.builder-page .site-inner { | |
max-width: 100%; | |
padding: 0; | |
} | |
.builder-page .content { | |
width: 100%; | |
} | |
.builder-page .entry { | |
margin-bottom: 0; | |
} |
View dynamik-custom-fonts-example.php
<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> |
View cobalt-scss.json
{ | |
"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" | |
} |
View gulp-setup.sh
#!/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 |
View gulp-first-time-setup.sh
#!/bin/sh | |
## Run this script from a Terminal (or just copy/paste each command and run one at a time) when you first setup your server | |
## If you already used the gulp-user-data-setup.sh script code in the setup of a new Cloud Server (as per a Cobalt Apps tutorial) then this script does not need to be run | |
## Update Ubuntu | |
sudo apt-get update | |
## Install NodeJS and NPM | |
curl -sL https://deb.nodesource.com/setup_10.x | bash - |
View gulp-user-data-setup.sh
#!/bin/sh | |
## Copy/paste this script code into the "User Data" textarea that appears when selecting | |
## the "User Data" checkbox upon setting up your new DigitalOcean Droplet. | |
## Update Ubuntu | |
apt-get update | |
## Install NodeJS and NPM | |
curl -sL https://deb.nodesource.com/setup_10.x | bash - |
View custom_extender_pro_not_labeled.php
function custom_extender_pro_not_labeled() { | |
if ( is_singular() && get_post_meta( get_the_ID(), '_extender_pro_' . extender_pro_sanitize_string( extender_pro_active_theme_name(), true ) . '_labels', true ) == '' ) | |
return true; | |
else | |
return false; | |
} |
View dynamik-impact-skin-demo-setup.php
<?php | |
/** | |
* Below you will find all of the custom content used to | |
* create the demo site for the Dynamik Impact Skin. | |
*/ | |
?> | |
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu". | |
== BEGIN Widget Area Info == |
View dynamik-parallax-skin-demo-setup.php
<?php | |
/** | |
* Below you will find all of the custom content used to | |
* create the demo site for the Dynamik Parallax Skin. | |
*/ | |
?> | |
WordPress Menu Setup: Assign a menu to the "Primary Navigation Menu" as well as the Genesis "Header Right" Widget Area as stated below. | |
== BEGIN Widget Area Info == |
NewerOlder