WooThemes Canvas Customization Tips

From Ittichai Chammavanijakul's Wiki
Jump to navigation Jump to search
  • 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');
}