Forum Replies Created

Viewing 1 replies (of 1 total)
  • 1- go to wpc-catalogue.php

    2- put this code after 81th line

    //sub category class
     if($term->parent > 0){
    	$class2	= ' sub-cat';
    	}else{
    	$class2	= ' main-cat';
    	}

    3- change $return_string value this one (88th line)

    $return_string .=  '<li class="wpc-category '. $class .''. $class2 .'"><a href="'.get_term_link($term->slug, 'wpccategories').'">'. $term->name .'</a></li>';

    4- go to includes/css. edit catalogue-styles.css
    and place the following code in any line.

    #wpc-col-1 ul li.main-cat a {
    	font-weight:bold;
    }
    
    #wpc-col-1 ul li.sub-cat a {
    	margin-left:10px;
    }

Viewing 1 replies (of 1 total)