Questions about Payment Form extension

text colour of form headers

More
12 years 11 months ago #9380 by slink
text colour of form headers was created by slink
hi - how can i change the text colour and weight of the form titles?

I have a bg image which when sitting behind the form makes the heading difficult to read, I want them to be bold white.
Thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #9384 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: text colour of form headers
Hi

1. The form header (Payment FOR PRIZE DRAW) using the css class componentheading. So if you want to change font-size, font-color for this header, you can find that css class in the template.css file of your site template and change the necessary css .

2. If you want to change font-size , font-color of the title of field, for example, First Name, Last Name..., you can modify the css in the file components/com_pmform/assets/css/style.css . The css class is title_cell and It is located in line 11 :
Code:
table.os_table td.title_cell { width: 25%; font-weight: normal ; padding-left: 10px; padding-top : 5px ; }

Just add the necessary attributes into that css block, something line : font-weight : bold (bold text) , color : white (white text) :
Code:
table.os_table td.title_cell { width: 25%; font-weight: bold; padding-left: 10px; padding-top : 5px ; color : white ; }

After that, it should looks OK !

Hope this help !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #9416 by slink
Replied by slink on topic Re: text colour of form headers
Many thanks, worked perfectly.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc