Using WooCommerce, Can I Change The Color Of The Title Or Product Title Based On What Category You Are In?

1.) At the end of the “functions.php” file, add this block of code: function prod_cat_terms_append_body( $classes ) { $prod_cat_terms = get_the_terms(getPostIDFromURL(), ‘product_cat’); if ( $prod_cat_terms && ! is_wp_error( $prod_cat_terms ) ){ foreach ( $prod_cat_terms as $term ) { $classes[] = strtolower($term->slug); } } return $classes; } add_filter( ‘body_class’, ‘prod_cat_terms_append_body’, 0 ); Basically, the above code […]

Read More

Is It Possible To Change The Order On The Homepage For The Service, Blog And Portfolio Section? I Would Like To Have The Service Section At Last.

1.) You can look into the “template-home.php” file. You’ll see something like these in there: <!– SERVICES SECTION –> <?php if( $options_morphis[‘toggleServices’] == ‘1’ ) { ?> <?php get_template_part(‘inc/services’); ?> <?php } ?> <!– END SERVICES SECTION –> <!– RECENT WORKS SECTION –> <?php if( $options_morphis[‘togglePortfolio’] == ‘1’ ) { ?> <?php get_template_part(‘inc/portfolio’); ?> <?php […]

Read More

I Would Like To Get Rid Of The Selective Navigation Menu On Smaller Devices Like The Iphone And Replace It With The Normal Navigation Menu.

Currently, the theme uses jQuery code to have the selective navigation menu when viewed on smaller devices. Open “script.js” file located inside “js/” folder and find this block of code: /* ————– Navigation Menu to Drop-down Menu on Mobile Browsers ————–*/ // Create the dropdown base $(“<select />”).appendTo(“nav#access”); // Create default option “Go to…” $(“<option […]

Read More

How Do I Suppress The Category Box From An Individual Portfolio Item?

Open both “functions.php” and “single-portfolio.php” files and search for this block of code in each of them and remove it: <?php if(!empty($att_portfolio_cats)): ?> <dt><?php echo __( $ud_att_portfolio_cats, ‘morphis’ ); ?></dt> <dd> <ul id=””> <?php $portfolio_cats = $att_portfolio_cats; ?> <?php foreach( $portfolio_cats as $portfolio_cat ) { ?> <li><?php echo $portfolio_cat->name; ?></li> <?php } ?> </ul> </dd> […]

Read More

How Do I Eliminate The Line And The Space At The Bottom Of The Full Width Layout?

Well, you can use these codes in the “Custom CSS ” textarea under Morphis Theme Options > General Settings> /* code below deletes the dashed line from the Full-width template */ #comments hr { display: none; } /* codes below deletes the footer only when on Full-width or default page template */ .page-template-template-full-width-php #footer-wrapper, .page-template-default […]

Read More

Can The Featured Image In The Masonry Layout Be Displayed As Circular?

I think you can do this: Open “inc/masonry.php” file and search for this block of code: $linkyContainer.masonry({ itemSelector : ‘.boxy’, columnWidth : function( containerWidth ) { return containerWidth / n; }, isAnimated : true, animationOptions: { duration: 400 } }); Add this block of code below it: jQuery(‘.boxy’).find(‘img’).each( function() { $(this).roundThis($(this).width()); }); Open “script.js” and […]

Read More

How Do I Clear The ‘Grey Netting’ Issue On Images?

I think you could use this code on the “Custom CSS ” textarea: .left-align-image, .right-align-image, .center-align-image, .no-align-image, .alignright, .alignleft, .wp-caption.aligncenter, .wp-caption.alignnone { background: transparent; background-image: none; }

Read More

How Do I Change The Twitter Strip Background?

If you are changing the background of the twitter strip into an already existing image pattern which you can find in “morphis/images/patterns/” folder, then you can use this code and place it in the “Custom CSS ” textarea: #tweet-strip { background: url(‘wp-content/themes/morphis/images/patterns/crissXcross.png’) repeat top left transparent; }

Read More