Woothemes

Change default sidebar position

Change default sidebar position To change default sidebar option selected ( right ) in the post/page edit, add this code in your child theme’s functions.php function dt_change_default_sidebar() {global $DT_META_BOXES; if ( $DT_META_BOXES ) { if ( isset($DT_META_BOXES[ ‘dt_page_box-sidebar’ ]) ) {$DT_META_BOXES[ ‘dt_page_box-sidebar’ ][‘fields’][0][‘std’] = ‘left’; add_action( ‘admin_init’, ‘dt_change_default_sidebar’, 20); Will only apply to new pages/posts,…

Woothemes

Add custom font

Add custom font 1) Upload font files to your website, for example, into …/wp-content/uploads/fonts/ or your child theme folder, make sure you are uploading Webfonts, you can generate Webfont files here 2)Then add @font-face in Theme Option > Advacned > Custom CSS this way: @font-face {font-family: ‘Gruppo’;src: url(‘/wp-content/uploads/fonts/Gruppo_reg.eot’);src: url(‘/wp-content/uploads/fonts/Gruppo_reg.eot’) format(’embedded-opentype’),url(‘/wp-content/uploads/fonts/Gruppo_reg.woff’) format(‘woff’),url(‘/wp-content/uploads/fonts/Gruppo_reg.ttf’) format(‘truetype’),url(‘/wp-content/uploads/fonts/gruppo_reg.svg#Gruppo’) format(‘svg’);} 3) Add…

Woothemes

Less css is not writable

Less css is not writable 1) Make sure you have an up-to-date theme version.2) Please try to apply 755 or 777 CHMOD to:…/wp-content/themes/dt-the7/css/custom.less …/wp-content/uploads/ …/wp-content/uploads/wp-less/dt-the7/css/ folder and files inside. Then you need to navigate to Theme Options -> General and click “Save Options” button. Warning message will not bother you after that. 3) Please check…