CSS module [ Hash ]

HellOo Frontity, How to modify the hash value of class name css ? do i need to install css module plugins to do this or Frontity is already configured as standard ? if yes or should it be changed ? https://prnt.sc/r42kxz
Thank you

Hi @Gray! :wave:

You don’t have to install css modules! Frontity uses emotion to process the css and generate the hashes for CSS class names.

Could you tell us what are you trying to achieve? It’s quite possible that manually modifying the CSS class names is not the right solution for your problem - you should not have to do that in order to style your site! :slight_smile:

2 Likes

Thank you for your answer, I wanted above all to define the style, the type and the length of the hash as we can do it with the module css because I feared that in the cases with more name of class at the exit in frontend on little to find with very very long class name and even worse if there are several … But hey as frontity already defined his hash is not worse, I would do with.

You marked the answer as solution but I’m not 100% sure if I answered your question :sweat_smile:

If you want extra control over class names, you can take a look at https://emotion.sh/docs/labels, otherwise let me know if you’d need more help! :slightly_smiling_face:

:sweat_smile: Okay thank you very much