support RTL in adamantium theme

Locked
shijazi
Posts: 5
Joined: 04 Oct 2015, 12:46

06 Oct 2015, 13:38

Hi,
can you help me in converting the adamantium theme to support RTL languages like arabic

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

07 Oct 2015, 21:25

Yes, I want to help you ;)
if you want to use the Arabic fonts, please see this issue; http://forum.primefaces.org/viewtopic.php?f=27&t=42992
You need to override CSS classes of PF components for RTL.

shijazi
Posts: 5
Joined: 04 Oct 2015, 12:46

18 Nov 2015, 20:58

where i have to change PF?

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

19 Nov 2015, 11:06

For font;
After add Arabic fonts, please change font-family of components.
Exp;
.ui-datatable .ui-datatable-summaryrow{ font-family:'xxxxx'; ...}

For RTL component;
You need to change float, margin, padding etc. of all component in theme.less. I think this project can help to you;
https://github.com/shahabkondri/primefaces demo-> http://showcase-shahabkondri.rhcloud.co ... ndex.xhtml

shijazi
Posts: 5
Joined: 04 Oct 2015, 12:46

19 Nov 2015, 11:24

Thanks, I will check

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

20 Nov 2015, 15:16

You're welcome ;)

Locked

Return to “Adamantium”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest