I want to get rid of this class=”widget-item” because this is creating extra margin/padding. Please see the image.
I want to get rid of this class, but not
div as it might rupture the design.
I am sure there should be some method to remove this because when we write widgets for menus this is possible like this →
'container' => 'nav', 'container_class' => 'footer-menu'
we can change
nav and also insert our own class “footer-menu“.
Live Link where this is happening could be seen here.
Read more here: Get rid of the widget Item Class="widget-item"