Manufacturers Dropdown and CSS Colour
Posted: Thu Nov 11, 2021 2:21 am
Had this dropdown in colour and now back to original.
Looking at /includes/modules/boxes/templates/tpl_bm_manufacturers.php
Can't find which class to use to change the font color and weight and background color of the drop down.
Looking at /includes/modules/boxes/templates/tpl_bm_manufacturers.php
Code: Select all
// Display a drop-down
$manufacturers = array_merge(
[['id' => '', 'text' => PULL_DOWN_DEFAULT]],
$GLOBALS['db']->fetch_all($manufacturers_query));
$menu = new Select('manufacturers_id', $manufacturers, ['onchange' => 'this.form.submit();', '[b]class' => 'custom-form-input w-100[/b]']);
if (isset($_GET['manufacturers_id'])) {
$menu->set_selection($_GET['manufacturers_id']);
}
?>
<ul [b]class="list-group list-group-flush[/b]">
<li [b]class="list-group-item[/b]">
<?= (new Form('manufacturers', $GLOBALS['Linker']->build('index.php', [], false), 'get'))->hide_session_id() ?>
<?= $menu ?>
</form>
</li>
</ul>