I've searched everywhere and couldn't find the answer although I think it is pretty easy, just can't figure out by myself. I have made a custom theme for a website and included the Contact form on a page via the $content function. I would like to have custom style applied to the contact form also. I want the text around the form and the input boxes to have unique design. How can I apply CSS to them? I don't want to change every other form element on the page, only the Contact Form logically.
Thanks in advance guys...

Comments

SirKhan’s picture

Please guys, this can't be that hard? :-/

andreiashu’s picture

You could:
1. create a page-contact.tpl.php file in your theme folder and customize your content there
2. The contact form has the id: 'contact-mail-page' so you can css it as you wish. ( i.e. #contact-mail-page )
Is that what you want ?
Of course there are other methods but these are the ones that i could think of for now.
Good luck

SirKhan’s picture

Thank you for your post andreiashu, you were right, I managed to solve the problem with the CSS method. Have a nice day!