Whirlpool Ceramic Glass Element Control

Having difficulty with left front large dual burner. Both inner and outer
elements function, but temperature control no longer works properly.
Where is the thermostat located? Do I need a new element, or do I need
a need control panel switch. Please advise.