Home › Forums › Support › Registering the new CSS File This topic has 3 replies, 2 voices, and was last updated 2 years, 11 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts February 24, 2020 at 3:55 am #1175036 Marcel Hello, 1. Should I register a new CSS file before enqueuing it? I would like to use it on a custom ACF block. 2. The new CSS stylesheet will overwrite the default CSS style (for that ACF block only)? 3. Is it a good idea to dequeue the default CSS style for the page/ post where the ACF block will be placed? Your thoughts, please! Thank you! Marcel February 24, 2020 at 9:34 am #1175486 TomLead Developer Lead Developer Hi there, There’s no need to register a file if you’re going to enqueue it right away – enqueuing registers it for you. It won’t replace an existing file automatically, so you would need to dequeue the other file manually if it’s no longer necessary. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development February 24, 2020 at 11:01 pm #1175913 Marcel Thank you, Tom! February 25, 2020 at 10:41 am #1176626 TomLead Developer Lead Developer You’re welcome 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In