jQuery UI Widgets › Forums › General Discussions › Navigation › Expander › jqxExpander
Tagged: expander, Header, jqxExpander, jqxnavigationbar, navigationbar, padding
This topic contains 5 replies, has 2 voices, and was last updated by Bentechsoft 13 years ago.
-
AuthorjqxExpander Posts
-
Hi,
I would like to know how to get right of the padding inside the jqxExpander header. I need to implement a toolbar inside the header and I need it to be flush with the edge. What css classes should I modify
Thank you.
Hello Bentechsoft,
The class that you should modify is jqx-expander-header. For example, you may add the following style:
<style type="text/css"> .jqx-expander-header { padding: 10px !important; }</style>
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Great!
I seems to work except that it applies to the jqxNavigationBar header as well. Is there a similar class for jqxNavigationBar so I can control both header style separatly.
Thank you
I can always style the content of the jqxNavigationBar do use a padding of XYZ. But If I could apply a style the whole navigation bar, that would be best.
Thank you
Hello Bentechsoft,
Currently, the jqxExpander and jqxNavigationBar headers have the same classes. We will consider applying a separate class to jqxNavigationBar headers for more convenient use.
However, you may still do one of the following:
1) apply the padding changes only to the header of a particular expander, e.g.:
<style type="text/css"> #jqxExpander .jqx-expander-header { padding: 10px !important; }</style>
2) Similar to 1) – apply a custom class to a particular navigationbar’s headers:
$("#jqxNavigationBar .jqx-expander-header").addClass("navigationbar-header");and then apply the padding changes to that class.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/I managed to do something along the lines of what to told me, instead of adding the class with jQuery, I applied the class directly to the div in the html.
It works fine
Thank you
-
AuthorPosts
You must be logged in to reply to this topic.