Child Theme – CSS

Posted in: Newspaper
Post count: 30

Hello all,

https://todaycycling.com/tour-de-france/

We do have a situation, can you see the “black & blue main menu” load ? It happens before our child theme css is applied on the page.

I wanted to know how I can deregister the script that adds the Newspaper’s CSS from /themes/Newspaper.

Thank you 🙂

Post count: 20688

Hi,

That would be the cascade effect in which CSS works. If multiple CSS code is used for the same element then the first one will be loaded firs, then the second etc. The black background color is the initial color set for that header style, you could remove it form the theme stylesheet
https://www.screencast.com/t/Vcg3ho5y6Ph
Also there is a default color set for the menu items
https://www.screencast.com/t/ck9TcE4kUV42
Try removing these codes and see how it looks. If you used custom code try entering it directly in the theme stylesheet so it will be loaded faster.

Thanks

Post count: 30

Thank you very much for your help 🙂

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