Difference between revisions of "WooThemes Canvas Customization Tips"
Jump to navigation
Jump to search
| (2 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
display: none; | display: none; | ||
} | } | ||
| + | </pre> | ||
| + | |||
| + | * Add space between list | ||
| + | http://support.woothemes.com/entries/22757102-Adding-space-to-a-list | ||
| + | <pre> | ||
| + | .entry li { | ||
| + | padding: 10px 0; | ||
| + | } | ||
| + | </pre> | ||
| + | |||
| + | * Setup theme child | ||
| + | http://woothemes.zendesk.com/entries/22505632-How-to-setup-and-use-a-child-theme | ||
| + | |||
| + | * Add more Google Fonts | ||
| + | http://support.woothemes.com/entries/22521683-Add-more-Google-Fonts-to-options | ||
| + | <pre> | ||
| + | |||
| + | // add the function to the init hook | ||
| + | add_action( 'init', 'woo_add_googlefonts', 20 ); | ||
| + | |||
| + | // add a font to the $google_fonts variable | ||
| + | function woo_add_googlefonts () { | ||
| + | global $google_fonts; | ||
| + | $google_fonts[] = array( 'name' => 'Lustria', 'variant' => ':r,b,i,bi'); | ||
| + | } | ||
| + | |||
</pre> | </pre> | ||
Latest revision as of 15:01, 30 March 2013
- Remove Business Slider's Previous and Next buttons
http://support.woothemes.com/entries/22763687-Hiding-next-previous-Business-template-slider-arrow
/* custom.css */
.business #loopedSlider a.flex-prev, .business #loopedSlider a.flex-next {
display: none;
}
- Add space between list
http://support.woothemes.com/entries/22757102-Adding-space-to-a-list
.entry li {
padding: 10px 0;
}
- Setup theme child
http://woothemes.zendesk.com/entries/22505632-How-to-setup-and-use-a-child-theme
- Add more Google Fonts
http://support.woothemes.com/entries/22521683-Add-more-Google-Fonts-to-options
// add the function to the init hook
add_action( 'init', 'woo_add_googlefonts', 20 );
// add a font to the $google_fonts variable
function woo_add_googlefonts () {
global $google_fonts;
$google_fonts[] = array( 'name' => 'Lustria', 'variant' => ':r,b,i,bi');
}