Jump to content
Sign in to follow this  
yvesamuel

V5.2 text color

Recommended Posts

HI,

 

Is it possible to vhange the color of the from white to red.
I tried "InfoUpperLeftTextColorUser=255,0,0" and tht didi not work.

Anys other solution?

Thank's and good evening from ELLX.

Yves


Yves SAMUEL

ELLX

Share this post


Link to post

It is easies than you think.

1. Go to your HTML5 folder under P3DV5.2 main directory.

2. Open up information.html with a proper html editor.

3. Look up #upper;

4. Check for a line "color; white;"

5. Change it to "color; red;" that is it

6. You might want to change the font size also in the next line: "fone-size: 16px" to something more viewable depending on your screen resolution. I use 20px with 4k monitor.

7. You can also change the #lower which works for text located on the lower part of the screen like "brakes". I personally kept it white.

 

Pierre

  • Like 3
  • Upvote 1

Pierre

Share this post


Link to post
10 hours ago, ppo said:

It is easies than you think.

1. Go to your HTML5 folder under P3DV5.2 main directory.

2. Open up information.html with a proper html editor.

3. Look up #upper;

4. Check for a line "color; white;"

5. Change it to "color; red;" that is it

6. You might want to change the font size also in the next line: "fone-size: 16px" to something more viewable depending on your screen resolution. I use 20px with 4k monitor.

7. You can also change the #lower which works for text located on the lower part of the screen like "brakes". I personally kept it white.

 

Pierre

Hi. Do you know how to move text right to the left upper corner? Because now with 5.2 it slightly below and more to the right


i7 8700K @4.8Ghz | Noctua NH-D15 | Asus ROG Maximus XI Hero | G.Skill TridentZ 4x8GB @3700Mhz | ROG Strix OC RTX 3080 Ti

Share this post


Link to post

I like the new text size and color better to see on my 4K screen only on for testing never for flying, FPS locked at 30 flying don`t need it.


 

Raymond Fry.

PMDG_Banner_747_Enthusiast.jpg

Share this post


Link to post
10 hours ago, Druce said:

Hi. Do you know how to move text right to the left upper corner? Because now with 5.2 it slightly below and more to the right

Same question here.


Kyle Weber (Private Pilot, ASEL; Flight Test Engineer)
Check out my repaints and downloads, all right here on AVSIM

Share this post


Link to post

I've set my upper more closely to the corner both ways up and left (and right) and the same for the lower right, my setting mods are the following (this is for my display which is 21:9 and 3440 x 1440):

            #upper
            {
                display: flex;
                position: fixed;
                top: 0%;
                left: 0.2%;
                width: 99.5%;
                color: white;
                font-size: 14px;
                font-weight: bold;
                pointer-events: none;
                text-shadow:
                    -1px -1px 0 #000,
                     0   -1px 0 #000,
                     1px -1px 0 #000,
                     1px  0   0 #000,
                     1px  1px 0 #000,
                     0    1px 0 #000,
                    -1px  1px 0 #000,
                    -1px  0   0 #000;
            }

            #lower
            {
                display: flex;
                position: fixed;
                bottom: 1%;
                left: 0%;
                width: 100%;
                color: white;
                font-size: 14px;
                font-weight: bold;
                pointer-events: none;
                text-shadow:
                    -1px -1px 0 #000,
                     0   -1px 0 #000,
                     1px -1px 0 #000,
                     1px  0   0 #000,
                     1px  1px 0 #000,
                     0    1px 0 #000,
                    -1px  1px 0 #000,
                    -1px  0   0 #000;

Edited by SergioN

Sergio Naiberg

Share this post


Link to post
1 hour ago, SergioN said:

I've set my upper more closely to the corner both ways up and left (and right) and the same for the lower right, my setting mods are the following (this is for my display which is 21:9 and 3440 x 1440):

            #upper
            {
                display: flex;
                position: fixed;
                top: 0%;
                left: 0.2%;
                width: 99.5%;
                color: white;
                font-size: 14px;
                font-weight: bold;
                pointer-events: none;
                text-shadow:
                    -1px -1px 0 #000,
                     0   -1px 0 #000,
                     1px -1px 0 #000,
                     1px  0   0 #000,
                     1px  1px 0 #000,
                     0    1px 0 #000,
                    -1px  1px 0 #000,
                    -1px  0   0 #000;
            }

            #lower
            {
                display: flex;
                position: fixed;
                bottom: 1%;
                left: 0%;
                width: 100%;
                color: white;
                font-size: 14px;
                font-weight: bold;
                pointer-events: none;
                text-shadow:
                    -1px -1px 0 #000,
                     0   -1px 0 #000,
                     1px -1px 0 #000,
                     1px  0   0 #000,
                     1px  1px 0 #000,
                     0    1px 0 #000,
                    -1px  1px 0 #000,
                    -1px  0   0 #000;

Thank you, but I already tried "top: 0%" and it didn't work, text don't move


i7 8700K @4.8Ghz | Noctua NH-D15 | Asus ROG Maximus XI Hero | G.Skill TridentZ 4x8GB @3700Mhz | ROG Strix OC RTX 3080 Ti

Share this post


Link to post
25 minutes ago, Druce said:

Thank you, but I already tried "top: 0%" and it didn't work, text don't move

it worked for me, BTW, you can do it live, in real time with the sim and scenario open and see the changes right away after pressing save in the text editor of choice.


Sergio Naiberg

Share this post


Link to post

I can change the text color, and from 'bold' to 'light', but the text size does not seem responsive, and the type of font in the upper left seems different than in the lower left. Where/how are the font types for those respective locations specified?

Thx,

A

[UPDATE]  Fonts are the same. Turns out they looked somewhat different depending on whether there was a light or dark background. I still can't change the font size, however.

Edited by ark

Share this post


Link to post

Changes text and color worked with P3Dv5.2

With P3Dv5.3 didn't work.

Patricio Valdes


Patricio Valdes

Share this post


Link to post

These lines pasted over the same lines in Prepar3D.cfg will change the text colour in all four corners to cream.
For white, substitute 255,255,255 for 255,255,204
It worked in FSX and it works in all versions of P3D up to and including 5.3.15.28130

InfoUpperLeftTextColorUser=255,255,204
InfoUpperLeftTextColorNonUser=255,255,204
InfoUpperLeftBackGroundColor=0,0,0,0
InfoUpperRightTextColor=255,255,204
InfoUpperRightBackGroundColor=0,0,0,0
InfoLowerLeftTextColor=255,255,204
InfoLowerLeftBackGroundColor=0,0,0,0
InfoLowerRightTextColor=255,255,204
InfoLowerRightBackGroundColor=0,0,0,0

Share this post


Link to post
On 1/2/2022 at 4:44 AM, Reader said:

These lines pasted over the same lines in Prepar3D.cfg will change the text colour in all four corners to cream.
For white, substitute 255,255,255 for 255,255,204
It worked in FSX and it works in all versions of P3D up to and including 5.3.15.28130

InfoUpperLeftTextColorUser=255,255,204
InfoUpperLeftTextColorNonUser=255,255,204
InfoUpperLeftBackGroundColor=0,0,0,0
InfoUpperRightTextColor=255,255,204
InfoUpperRightBackGroundColor=0,0,0,0
InfoLowerLeftTextColor=255,255,204
InfoLowerLeftBackGroundColor=0,0,0,0
InfoLowerRightTextColor=255,255,204
InfoLowerRightBackGroundColor=0,0,0,0

I want the new color changes for the Information.html file not editing the Prepar3D.cfg file

Patricio Valdes


Patricio Valdes

Share this post


Link to post

Changes in the information.html do nothing in v5.3 for me


i7-7700K @ 4.9 GHz, 32GB DDR4, GTX1080, 2 x Samsung 1TB NVMe, 1 x 3TB HDD, Windows 10 Prof

Share this post


Link to post
2 hours ago, trisho0 said:

I want the new color changes for the Information.html file not editing the Prepar3D.cfg file

Patricio Valdes

Apologies, I had wrongly assumed that you wanted a solution.

Edited by Reader
  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...