Viewing 2 replies - 1 through 2 (of 2 total)
  • The same thing was happening with the theme I’m using.
    I solved this by slightly changing the file “mgwoocommercebrands-widget-brands-list.php”.

    Around line 74 (+/-), you need to:
    a) open the ‘div’ before the ‘if has title’
    b) attribute a class to the title.

    for my theme, it worked as this:

    echo '<div class="widget woocommerce widget_mgwoocommercebrands">';
    		if ( $instance['title'] ) {
    		echo "<h3 class=\"widget-title m-secondary-font\">{$instance['title']}</h3>";
    		}?>
    	<?php
    Mikey B

    (@mikebackhouse)

    Perfect! Well spotted fontes! This is surely a fault with the widget isn’t it??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize widget title’ is closed to new replies.