Horizontal form like in bootstrap

Posts: 354
Joined: 05 Mar 2010, 13:17

05 Sep 2015, 12:01

Dear all,

I need a horizontal form like in bootstrap with RIO theme:

I tried to include the bootstrap css - but I have a problem with the
*{box-sizing: border-box;} from the bootstrap css

Please help me
Primefaces 8.0, WildFly 16

Posts: 4142
Joined: 29 Jun 2013, 12:38

09 Sep 2015, 13:09

I think you can use grid-css; http://www.primefaces.org/showcase/ui/panel/grid.xhtml
With p:panelGrid;

Code: Select all

<p:panelGrid columnClasses="ui-grid-col-1,ui-grid-col-11,ui-grid-col-1,ui-grid-col-11" columns="2" layout="grid" ...
  <p:inputText styleClass="Wid90" ..>
Also, we added responsive feature for 5.2.4+ and 5.3
I think this feature will help you; http://www.primefaces.org/showcase/ui/m ... sive.xhtml


Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests