Post by ygxm » Sun Oct 27, 2024 5:46 am

Hi All,

I'm using opencart 3.0.4.0 with the default theme.

I've been trying to work out how to add scrollbars to the pop up window (see screenshot at https://ibb.co/HPqCRrs) that you get when you click on the related products search box in admin but am struggling.

I need scrollbars because I've got more related products than the window will show.

Any help would be greatly appreciated.

Many thanks.

Newbie

Posts

Joined
Sun Oct 15, 2023 6:21 pm

Post by ADD Creative » Mon Oct 28, 2024 4:23 am

The line of code that creates all dropdowns is https://github.com/opencart/opencart/bl ... on.js#L170.

You can change the class to class="dropdown-menu pre-scrollable" or add CCS somehow with a max-height and set overflow-y: scroll.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 23 guests