Getting rid of the "Email <Site Name>" on the Contact page

0 views
Skip to first unread message

NeeKohLas

unread,
Nov 18, 2009, 7:38:24 PM11/18/09
to Pixie
Hello,

I would like to not display the site name on the contact page. I read
the thread below where Scott suggested altering the layout.css file,
however I was unable to get this to work for me.

Any other suggestions?

Thanks,
Nick

Quoted material:

To get rid of the "email site name" on the contact form you should
probably use CSS again as this comes from the form <legend> tag. You
can add this to your css:

.s_contact legend { display: none; }

Let me know if you need any more help

Scott

rm

unread,
Nov 19, 2009, 8:08:56 AM11/19/09
to Pixie
In my generic Pixie with default install, the cascade down to that
form element is as follows:

div#wrap div#placeholder div#pixie_body div#content form#contactform
fieldset legend

... so you might try increasing the specificity of your rule. Also,
keep an eye out for where you place your rule - something might be
changing it after you alter it.

Scott

unread,
Nov 26, 2009, 5:50:39 AM11/26/09
to Pixie
Hi Nick
How did you get on with this problem?

If the CSS fails to work I would suggest you

Open up: /admin/modules/contact.php.
Goto line: 127
And delete it: <legend>Email $site_title</legend>

Click save and your problem is solved :)

Scott

NeeKohLas

unread,
Nov 27, 2009, 5:29:09 PM11/27/09
to Pixie
I was able to fix it using the method you originally
described, .s_contact legend { display: none; }
Thanks for the help/follow up! I'm hoping to learn much more, and get
stuck much less :)

Nick

Nick

Scott

unread,
Nov 28, 2009, 9:48:55 AM11/28/09
to Pixie
Excellent. Glad it worked :)
Reply all
Reply to author
Forward
0 new messages