I use "dropdown" widget , the direction is down,but I use at page footer,can it up?

Hi, there , 

I use "dropdown" widget , the direction is down,but I use at  page footer,can it up?

Many Thanks,

Jack





Solution

Hi Jack,


Interesting question! I tried something in the CSS and got a solution. I looked in the BaseTheme and found two important variables. Firstly the "bottom" variable. By setting this variable, the dropdown turns into a "dropup". The only problem that occured then was that the information that is in the dropdown overlapped with the actual clickable part of the dropdown. This was because a "margin-top" was set. I removed this margin-top and created "margin-bottom" and set it to the same height as the dropdown widget. I hope this helps! I attached the CSS class i copied and adjusted. 


Regards,

Tyler

Solution