In Twenty Twelve, widgets have the HTML class .widget_text
or .widget_search
or something similar. You can find out this information by using Firebug or a similar web inspector. See this site for more details: http://www.themesandco.com/snippet/firebug-best-spent-6-minutes/
find the widget ID
each ‘custom menu’ widget has the CSS class .widget_nav_menu
however, widget IDs are given dynamically, so you need to use a browser inspection tool (as @stephencottontail suggested) or look into the html code of your site as it gets output in the browser (browser tool bar ‘View Source’ or similar).
example from my test site using Twenty Fourteen:
<aside id="nav_menu-2" class="widget widget_nav_menu">
if a widget gets a widget CSS class or widget ID, also depends on your currently used theme.
Thread Starter
SMukta
(@smukta)
Thank you so much to both of you. You have been of a great help!