12
Views
2
Comments
Solved
Drop-down search height css

I have two drop-down search in a screen :

I would like to change the search height of one drop-down search to 120px and for other drop-down search  to 540 px .

Now  problem is how I can apply different CSS for two different drop-down search in a same screen.

Any suggestions /help would be helpful.

Solution

Hi,

You can create two different wrapper class on each drop-down.

Means each drop down enclose with container individually and add class on that container and inherit your drop-down class individually and than apply CSS.

So, you can write CSS like:

.Dropdown-one .vscomp-dropbox {

height:120px;

}

.dropdown-two .vscomp-dropbox {

height:540px;

}


Hope this will help.

Thanks

Ruchi 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.