how to change the category?
You are seeing CSS as your main language because it is the most-used in that repository. Other than adding more source languages to your repository, I do not think there is any manual way to change that displayed language.
Hope this helps!
Welcome to the Github Community Forum!
To do that you need to:
create a .gitattributes file in the root of the project
edit that file and add a line to ignore the css language file
add, commit and push to remote and see the result
With this 3 steps you can ignore detection for a specific languages. You can also add more attributes, for example something like this:
*.css linguist-detectable=false *.js linguist-detectable=true *.java linguist-detectable=false
this attributes ignore the java files.
Hope this helps…
Ps: if you need some screenshots ask…
Mark helpfull posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great contents!
The solution for ignoring html files could be found here https://github.com/github/linguist/issues/4769