Copy link to clipboard
Copied
Hello. I am able to write my own css now but sometimes I like to use the CSS Designer. Used it for years. Now when I choose my source - styles.css - and then click the plus sign to create a selector I try typing in my own selector name for instance .something, hit enter and it disappears from the designer so I am unable to use the properties panel to style the selector. It does create .something in the styles.css file though. I am just wanting to know why it doesn't work anymore. Could it
I'm thinking that it might be because of bootstrap although I created a page in plain html to test that theory and the selector still disappears from the designer. Any ideas why it doesn't work?
Copy link to clipboard
Copied
DO NOT touch CSS inside Bootstrap CSS file.
Use a separate stylesheet for custom code, i.e. custom.css or myStyles.css
Validate your custom CSS and fix reported errors.
https://jigsaw.w3.org/css-validator/
Copy link to clipboard
Copied
I would prefer to see everyone edit CSS source code manually. You have more control over modern properties & values that panels do not support. Also coding manually with code hints & auto-code completion is 100% faster than panels.
That said, you must be very, very careful not to allow the CSS design panel to default on Bootstrap CSS file. Editing Bootstrap this way could be a disaster for you and your site.
See screenshot. In this example, I'm using an embedded stylesheet for custom CSS code. But the same applies whether your CSS source is external or embedded.
Hope that helps.
Copy link to clipboard
Copied
Thank you.