If you want to eliminate the margin-left on mobile devices, you can achieve this by including the following code in your CSS file:
@media screen and (max-width: 480px) {
#main-header .container.clearfix.et_menu_container{
margin-left: initial;}
}
The min-width property determines when the specified CSS rules should be applied. In this instance, it targets screens that are a maximum of 480 pixels wide. You may need to adjust this value to achieve the desired appearance.
Using "initial" will reset the property to its default value. If this doesn't work as expected, review the theme's CSS to ascertain the original setting.
This snippet instructs your theme to revert to its default configuration on small screens, ensuring a consistent layout across different screen sizes.