Customizing TabView

UI Components for JSF
Post Reply
uilian
Posts: 4
Joined: 20 Apr 2011, 20:40

20 Apr 2011, 20:45

Hi!

What I need to know if it's possible to customize the appearence of the TabView, more specifically I want to:

- align tab headers to right instead to left;
- use custom images in tab headers.

Thank you,
Uilian.

uilian
Posts: 4
Joined: 20 Apr 2011, 20:40

06 May 2011, 16:58

Well, answering myself, just in case someone need do the same manipulation :)

You can add in your own CSS file the additional configuration you need. For example, to align the tab headers to right I added the following to the .ui-tabs-nav default CSS class:

Code: Select all

.ui-tabs-nav {
	padding-left: 40% !important;
}
Of course, you can change the value to some absolute value, but you got the idea!

Uilian.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 48 guests