WebSite X5Help Center

 
Ionescu C.
Ionescu C.
User

Change Font option from Contact Form  en

Autor: Ionescu C.
Besucht 898, Followers 1, Geteilt 0  

Hello, 

Is there a way to change the Font to BOLD/ITALIC or even the size, at a Filed Type: Separator from a Contact Form section or by code/script?

Currently only the color and underline can be selected.

I will leave also the LINK

Regards, 

Cristi

Gepostet am
4 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
Axel  
Axel  
User

Hello Ionescu,

something like that  ?

Enjoy!
Axel

Mehr lesen
Gepostet am von Axel  
Ionescu C.
Ionescu C.
User
Autor

Hey Axel, 

Yes something like that.

The Filed is type Description, there is no information that must be filed underneath.

But I see that you have different Font/Color in the same Form.

Regards, 

Cristi

Mehr lesen
Gepostet am von Ionescu C.
Axel  
Axel  
User

Hello Inoescu,

You need to use CSS code to do that. Any label can be changed

1: Identify your element with Chrome Inspect (right click into your page) to see the html "selector" of your object

here the selector is label#imObjectFirm_1_1_label (case sensitive)

So my CSS code by example will be to change color to blue and in bold

label#imObjectForm_1_1_label {
font-weight: bold;
color: blue;
}

You can do the same for other label like me with email, and the code will be to change color and size

label#imObjectForm_1_2_label {
color: green;
font-size: 20px;
}

Now you need to add these CSS codes inside WSX5:

2: Choose the page properties inside WSX5

3: And copy you CSS code here. Don't forget to put you code between <style> and </styles> tags

And you will be happy kiss

Enjoy!
Axel

Mehr lesen
Gepostet am von Axel  
Ionescu C.
Ionescu C.
User
Autor

Hey, 

It worked like a charm.

It was a DIV in my case not a LABEL.

Thank you for the prompt response.

Regards, 

Cristi

Mehr lesen
Gepostet am von Ionescu C.