Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
p01-contact and font bigger - how?
hi :-)

i have GetSimple 3.0

and i'm using "p01-contact" plugin

it works good, but i ask for an info.

when a user doesn't fill all fields and wants to send a message, he'll have an error message near the empy field.

you can see in this image the red words "This field is required"
[Image: p01contact.jpg]


how i can do red words bigger?
red font is very little and it is not easy to read!

i hope you undestand me and help me. thanks :-)
you can check the output of the plugin and you will see there is a CSS-class

<form action="#p01-contact1" autocomplete="off" id="p01-contact1" class="p01-contact" method="post">
you can define the elements of the contact-form in your theme-css-file

this is what I did once:

.p01-contact {position:relative;width: 500px;padding: 20px;color:inherit;margin-left:-5px;background: white;margin-bottom:20px;overflow:hidden;-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;behavior: url(/;}
.p01-contact .field{margin-bottom:10px}
.p01-contact .field.captcha{float:left}
.p01-contact .captcha input{width:160px;color:inherit !important;background-color:#FFF;}
.p01-contact .text input{width:400px;}
.p01-contact textarea{width:400px; height:100px}
.p01-contact .text input,
.p01-contact .captcha input,
.p01-contact textarea {background-color:#FFF;border:1px solid #DDD;font-size:12px;color:inherit !important;padding:5px;-webkit-border-radius: 4px;-moz-border-radius: 4px; border-radius: 4px; behavior: url(/;}  
.p01-contact .text input {color:inherit;}
/* End of INPUT-FIELDS */
.p01-contact .submit{position:absolute;bottom:20px;right:20px;-moz-border-radius:10.2em 10.2em 10.2em 10.2em;-moz-box-shadow:0 0.1em 0.2em rgba(0, 0, 0, 0.5);background-color:#666;    border-bottom:0.2em solid #666666;color:#FFF;cursor:pointer;font-size:1em;line-height:1;padding:0.3em 0.6em;text-shadow:0 0 0.1em #666;}

PS: if you have questions concerning a plugin, you can check the support thread of that plugin, mostly you find the answers there

Cheers, Connie

Das deutschsprachige GetSimple-(Unter-)Forum:
Connie, thanks for info.
you are always very kind and fast!

only now i found also other info here


anyway i found also another solution very very easy:
i simply want font bigger. no other thing. and i like red color for "error message" text .

this is my easy solution:

go in your webspace ftp "root/plugins/p01-contact" and find "p01-contact.php" file

in this file, at 1016 line you find
$html .= ' <span style="font-size:0.7em;color:red">';

and change that line in this lin
$html .= ' <span style="color:red">';

so you'll have always a red color text ...but bigger (=similar to other text in the webpage)!
Can I have more than contact form? I'd like one for contact and another for subscriptions to our newsletter.

(2013-04-24, 04:10:23)lakechicago Wrote: Can I have more than contact form? I'd like one for contact and another for subscriptions to our newsletter.

I think you can, but you can't use ( % contact % )

It has to look like this (just delete the spaces to make it work):
(% contact :
             address@domain.ext, another@domain.ext,
             subject => About this script,
             textarea "How old is born Napoléon?",
             radio "Do you like this script?" = "Yes" selected | "No",
             select = "One" selected | "Two" | "Three" | "Four" | "Five" ,
             message = Say something!,
             password = tomato,  
And the other will look also like this, but you can change anything you want.
I think it should work.

You can find all this info at the p01-contact author's website that you posted a link to.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple

Users browsing this thread: 1 Guest(s)