• Hi,

    In order to have the possibility to modify the apparence with a widgetized menu, i.e. Max Mega Menu, it would be nice to add a class in the UL output.

    In detail, modify

    echo '<ul id="lct-widget-'.$tax.'">';
    wp_list_categories($args);
    echo '</ul>';

    to

    echo '<ul class="categories" id="lct-widget-'.$tax.'">';
    wp_list_categories($args);
    echo '</ul>';

    See http://www.alph.fr/wordpress/ menu Les recettes

    Could you implement this small modification in the next release.

    Thanks

    Alphonse PHILIPPE

    https://wordpress.org/plugins/list-custom-taxonomy-widget/

Viewing 1 replies (of 1 total)
  • Thread Starter Alph

    (@alpph)

    Hi,

    In addition to my previous post, I have to say that the following CSS in Max Mega Menu has the consequence that the display of the Widget itself in completly perturbated.

    .categories li {
    	padding: 3px !important;
    	display: block !important;
    }
    .categories li:hover {
    	background: #DDDDDD !important;
    }
    .categories li:hover a {
    	color: rgb(0, 122, 204) !important;
    }
    
    .categories li {
         width: 33% !important;
         float: left !important;
    }

    Is there any possibility to have a CSS code locally in order to avoid that ?

    Thanks

    Alphonse PHILIPPE

Viewing 1 replies (of 1 total)
  • The topic ‘Assign class’ is closed to new replies.