How do I change the Font Size of a List object?

Get help using Construct 2

Post » Fri May 26, 2017 9:39 pm

I already know you have to turn off Auto Font Size. And I know you have to use the "Set CSS Style" action. But when I add the action "Set CSS Style", what do I type into the top field and the bottom field to change the size of the text font? What are some other commands I could use as well? Any help would be greatly appreciated!
B
11
S
1
Posts: 27
Reputation: 583

Post » Sat May 27, 2017 12:04 pm

SebastianOs wrote:I already know you have to turn off Auto Font Size. And I know you have to use the "Set CSS Style" action. But when I add the action "Set CSS Style", what do I type into the top field and the bottom field to change the size of the text font? What are some other commands I could use as well? Any help would be greatly appreciated!


First, Check out this site: https://www.w3schools.com/css/default.asp this site has all you need in how to use CSS.
If you go down you will see some codes like so:

Code: Select all
body {
font-size: 20px;
}


ignore everything in that line of code because you will only need this from it:
Code: Select all
font-size: 20px


So for the first box in C2 which is "Property name" you will enter "font-size"
Second box "Value" you will enter "20px"

Anyhow, this only an example an how to use CSS in C2. One last thing, if you go back to the site you can see that "Property name" is in Red and the "Value" is in Blue.

I hope this help.


Good Luck .... :mrgreen:
B
24
S
9
G
8
Posts: 49
Reputation: 6,090

Post » Tue May 30, 2017 7:53 pm

It worked! Thank you so much!!!
B
11
S
1
Posts: 27
Reputation: 583


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 47 guests