Skip to main content
Known Participant
November 28, 2021
Question

Problems with the colors of my codes. They're just white on a black background or vise versa

  • November 28, 2021
  • 2 replies
  • 871 views

I have always used Dreamweaver to code html, css and js. One feature I've always liked is the color formats of the source code (ie. blue for functions, green for numbers, purple for variable names, orange for strings etc). However, since this recent update, I'm having some problems with the colors of the code. When I open Dreamweaver and go to a file that I was working on, all the code is just white on a black format or if I change the background color, black on a white background. The only solution I've found to this problem is that I have to close Dreamweaver and start it up again, and on the third or fourth attempt, the normal color formats (ie. blue for functions, green for numbers, purple for variable names, orange for strings etc). return. Are any other people having this problem and are there any solutions so that I don't have to keep closing and opening Dreamweaver, till I get my normal color formats back.

Thanks in advance, Gary

    This topic has been closed for replies.

    2 replies

    Nayan_Kankariya
    Community Manager
    Community Manager
    November 29, 2021

    Hi Gary,

     

    Thanks for writing to us. Can you please let us know your OS version and machine configuration details. Please try changing the code view font by performing below steps and see if the issue gets resolved.

     

    Steps:
    1. Launch Dw and Invoke Preferences dialog under Dreamweaver menu
    2. Switch to Fonts section
    3. Change the code view font to something else (Times New Roman etc)
    4. Click on Apply button and close Preferences dialog

     

    Please let us know if the above resolves the issue else we will further debug the issue. Please refer to the below screenshot for locating Code view font under Fonts section in Preferences dialog.

     

     

    Have a pleasant day!

     

    Regards,

    Nayan

    Dreamweaver Team

    Known Participant
    November 29, 2021

    Hi Nayan,

    Thanks for your reply. I'm using a Windows 10 OS, on Microsoft. The problem only started to appear with the latest Dreamweaver update and doesn't happen every time. I am using a Consolas font at size 16. It's definitely not a problem with of my code writing because sometimes it happens on start up and sometimes it doesn't. I'm pretty careful with my code writing and am always checking validation. I have tried changing fonts, when it happens, but doesn't change the problem. At present I, when it happens, I have to close down / start up Dreamweaver, sometimes 2 / 3 times. The problem never occurs in the middle of the program, it only appears on start up of the Dreamweaver software.

    Regards,

    Gary.

    Nayan_Kankariya
    Community Manager
    Community Manager
    November 29, 2021

    Hi Gary,

     

    Thanks for reverting on this with additional details. Please try resetting Dw app preferences by following the steps mentioned in the below KB article and see if the issue gets resolved. Depending on the outcome, we can further investigate the issue on your machine, if possible via remote connect session at your convinient time to collect required logs and try fixing the same.

     

    KB article: https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html

     

    Have a pleasant day!

     

    Regards,

    Nayan

    Dreamweaver Team

    Nancy OShea
    Community Expert
    Community Expert
    November 28, 2021

    When syntax code coloration vanishes, it's 99% certain your code contains errors that broke the syntax.

     

    SOLUTION: Validate code and fix reported errors. 

    - Go to Window > Results > Validation and check your document. 

    - Or click on the Output panel.

     

    Hope that helps.

     

    Nancy O'Shea— Product User & Community Expert