[Silk UI Web] Button Dropdown

[Silk UI Web] Button Dropdown

  
Forge Component
(68)
Published on 14 Jun by Labs
68 votes
Published on 14 Jun by Labs

Hi all,

As seen in the pictures, same ButtonDropdown is having different behaviour when placed in main content or in header.
I would like to replace the line of buttons on maincontent with a header Buttondropdown.
What's happening here?


Thanks,
Rui

Hi Rui,


You can try to add this style to your CSS and see if it solves your problem.

.DropdownMenu .PH > a {
    line-height: 34px;
}


Cheers

Thank you for your reply, I'll try that.

What about that gap between the button and the start of dropdown link list (instead of starting bellow the button it has a space till the dropdown)?

You can work with this CSS:

.DropdownMenu {
    top: 50px;
}

Just adjust with the px / % you need :)


Cheers!

Rui Candeias wrote:

Hi all,

As seen in the pictures, same ButtonDropdown is having different behaviour when placed in main content or in header.
I would like to replace the line of buttons on maincontent with a header Buttondropdown.
What's happening here?


Thanks,
Rui


HI Rui,

Can you please share the oml where you are getting this kind of behavior. by just looking on it, people can't tell the exact solution for that maybe some of the CSS is overriding in the header section.



Regards,

PAnkaj