Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-26 02:47:03

otti
Member
From: Australia
Registered: 2008-04-16
Posts: 75
Website

Format error messages zem_contact_reborn

I’m using zem_contact_reborn on quite a few sites and have the problem of formatting the error messages. I can format the fieldset, the legend, the submit button and all the other important parts using i.e.
.zemContactForm .zemSubmit or .zemContactForm legend

I tried to give the error messages and the thank you messages some formatting with
.zemContactForm .zemThanks or .zemContactForm .zemError ul li
but both do not give me any result. What am I doing wrong?

Than ks for your help (again).
otti

Offline

#2 2008-07-26 08:47:39

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Format error messages zem_contact_reborn

The unordered error list got class .zemError, so use it.

Last edited by Gocom (2008-07-26 08:48:03)

Offline

#3 2008-07-26 11:44:27

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Format error messages zem_contact_reborn

Just in case that was confusing Jukka means ul.zemError and ul.zemError li which is slightly different to what you show in your post. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#4 2008-07-28 01:00:11

otti
Member
From: Australia
Registered: 2008-04-16
Posts: 75
Website

Re: Format error messages zem_contact_reborn

Thanks for those replies, but I’m still struggling to adjust the error messages. I have used/tried the following:
.zemContactForm ul.zemError li
.zemContactForm ul.zemError ul
ul.zemError li
ul.zemError

All of the above do not affect the error messages.
I must still do something wrong?
otti

Offline

#5 2008-07-28 16:34:04

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Format error messages zem_contact_reborn

otti wrote:

ul.zemError li
ul.zemError

That should work. If you have a div id="contact" or something like that around your contact form, you can try to add that:

#contact ul.zemError

#contact ul.zemError li

But first try to change the order, first ul.zemError and then ul.zemError li.

Offline

#6 2008-07-29 01:00:26

otti
Member
From: Australia
Registered: 2008-04-16
Posts: 75
Website

Re: Format error messages zem_contact_reborn

Thanks Els,

Changing the order did the trick. I have done it various times correct before, but must have been on a different planet this time.

Thanks again.
otti

Offline

Board footer

Powered by FluxBB