Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Contact Form Echo Text Formatting

micaelo
Registered User
Quote
2022-11-05 22:29:20

I have tried the contact form (works perfectly) and I'm wondering whether there is an option to format the echo text to make it look nicer and more in line with the overall look of the page.
🔎︎



niko
Moderator
Quote
2022-11-06 06:53:27

Yes, there are several ways. You can place the php code into a section where you've set the font in RocketCake. Or you can write your own font tags around the echo line. Like instead of this:


echo 'Thanks for contacting us.';


write something like this

echo ' <span style="font-size:14pt; font-family:Arial, Helvetica, sans-serif; color:000000; line-height: 1.5; ">Thanks for contacting us.</span>';



micaelo
Registered User
Quote
2022-11-06 12:25:03

Thanks!

I have edited the echo line according to my needs, and it works
🔎︎


To note: To make font color effective (other than default black) there must be a hash between color: and color hex code.


niko
Moderator
Quote
2022-11-07 07:45:20

Ah yes, this forum swallowed the hashtag character, sorry :)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact