how newspaper 7 adds css ??

Posted in: Newspaper
Post count: 7

Hi as we know newspaper as tons of options so it has very big CSS file but I want to divide them on template basis for better management and for smaller CSS as CSS for the page doesn’t make sense for post CSS and categories and woocommerce. so if you can help me to divide CSS or give any idea about the structure or you can tell me how many CSS are added and how so I can remove them and add my divided CSS by adding them from the template. thank you

Post count: 20688

Hi,

The theme uses one stylesheet file, that is found in the main theme folder
https://www.screencast.com/t/fJmavb34
If you want to edit it or modify it you can do so there. Just be sure to make a backup in case something goes wrong. Alternatively you could use a minification tool to reduce the size of the theme’s stylesheet.

Thanks

Post count: 7

Thank you for info but I know that I want to know how theme adds style sheet so I can deregister it and register my own sheets

Post count: 20688

Hi,

This is where the theme queues the stylesheet – https://www.screencast.com/t/ZU3vS8vXB
You can try and make your modifications there. Maybe you should consider making a backup in case something goes wrong.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.