enter image description here

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 div to 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"


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: