I'm attempting to modify sub-menus of the Wordpress site. Wordpress creates the next Web coding for that sub-menus

<ul class="sub-menu" style="top: 50px; visibility: visible; left: 0px; width: 202px; display: none;">
    <li class="menuitem123 menu-item menu-item-type-post_type menu-item-object-page menu-item-123" id="menu-item-123"><a href="http://www.example.com" class="">Link Name</a></li>
        <!-- other li elements follow -->
</ul> 

Here's my invocation from the wp_nav_menu

<?php if(has_nav_menu('secondary')):?>
    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'menu_container' => 'div', 'container_id' => 'secondary-menu','menu_class' => '',  'theme_location' => 'secondary'));?>
<?php endif;?>

The issue is, I wish to personalize the inline style (or ideally move it right into a css file) that Wordpress is producing for that ul element, mainly the width. I've looked everywhere but cannot find where Wordpress is obtaining the inline style and placing it. I have to eliminate the inline style because I have to set different width for other sub-menus.

I possibly could adapt the solution given about this wp_nav_menu change sub-menu class name? link which indicates sub classing the Wordpress Master class.

Please can someone provide some pointers on which else must i be checking to determine where Wordpress is obtaining the inline style?

Thank you.

WordPress itself doesn't generate any inline styles, so most most likely the offer is within your plug ins or theme installed. Based on your code, you don't use personalized ramblers, therefore the only deal might be in filters mounted on standard Walker_Nav_Menu (see nav-menu-template.php file, at the start). Corresponding filters are most most likely: nav_menu_css_class, nav_menu_item_id, walker_nav_menu_start_el.