format CSS

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
csengh
Posts: 39
Joined: Fri Jul 07, 2017 12:32 pm

format CSS

Post by csengh »

Hy!
I want to change some colors in CSS Style, I went to Preferences >Text Editor >Color >CSS >Element and select Color
e.g. I changed CSS Selector color from marron to green, now I went to CSS >Format CSS Code >in Prewiev I see all selector in green but after press Ok, nothing change, all selectors remain marron colored in my code :?:

I tried with else CSS elements e.g. with CSS bracket but symtoms are same.
version 15.4
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: format CSS

Post by pmk65 »

There's MULTIPLE CSS color settings for each element. (That fooled me too.)

Pay attention to the "Language" dropdown in the top of the settings.
- If it is set to HTML, then the color of the "CSS bracket" is when you open a .html or .htm file.
- If Language is set to "CSS", then it's the color of the "CSS bracket" in a .css file.

At the bottom of the Color options, there's a button/dropdown named "Advanced Tools".
If you, after changing the color choose "Apply Style To All Languages" then it should set the "CSS bracket" color for all languages.
There are 10 types of people in the world: Those who understand binary and those who don't.
csengh
Posts: 39
Joined: Fri Jul 07, 2017 12:32 pm

Re: format CSS

Post by csengh »

pmk65 wrote:There's MULTIPLE CSS color settings for each element.

"Advanced Tools". . . . choose "Apply Style To All Languages" then it should set the "CSS bracket" color for all languages.
Oh, Yeah :D Thank you very much, I never found it !
Post Reply