What are the width and height css classes in omega theme??

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
absiddik
Posts: 6
Joined: 16 Jan 2016, 11:56

27 Aug 2016, 09:14

Hi, I'm using Primefaces 6.0 and theme Omega.
I want to know, where are the css classes of width and height. I want to manage column width of datatable.
Please Help...
Image

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

29 Aug 2016, 08:26

Omega theme is in PrimeFaces 6.0.jar. Therefore, you need to write custom css or you can use width or style attribute of p:column. Also, do you have omega layout?

absiddik
Posts: 6
Joined: 16 Jan 2016, 11:56

31 Aug 2016, 06:57

Yes, I have omega layout folder. there are three folders,
1. css=>1.grid.css, 2.layout.css, 3.nanoscroller.css
2.images
3.js=>1.layout.js, 2.nanoscroller.js
Image

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

31 Aug 2016, 13:47

You can add your custom width or height classes into _theme.scss. Then, you can provide a new layout.css from it. I suggest you should use styleClass or style or width attribute of p:column on datatable.

Code: Select all

Wid50 {
   width: 50px;
}
...

<p:column styleClass="Wid50" />

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests