Newspaper 8 and child Style.css

Posted in: Newspaper
Post count: 9

Two questions in one about Newspaper 8

Why the Theme custom CSS is so slow?
I mean, if I alter the padding, the font size or other elements, they only take effect after the page is loaded, what is frustrating as the reader “sees” the changes.

Child style.css issues seems not to be working
To avoid it, I’m writting the changes in the child theme style.css. But the changes don’t take effect, nothing happens.

Although my php files in the child theme work fine (header.php, functions.php and so on), style.css seems not to be working.

My child style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
*/

/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/

/* Increases the font size */

@media
(max-width: 767px) {
.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p, .td-page-content li, .td-post-content li, .wpb_text_column li, .td_block_text_with_title li, .woocommerce #tab-description li, .mce-content-body li {
font-size: 125%;
line-height: 26px;
}
}

/* Modify the header background color */
.td-banner-wrap-full {
background-color: #ab1b1b;
}

Could you replicate this issue?

Thanks,
Daniel

Post count: 20688

Hi,

I have tested the code that you mention and other codes, in the child theme stylesheet, and it is applying properly. I simply entered it in the child theme’s style.css file. Maybe it is a caching issue that causes the code to not apply. Try clearing any caching installed and check again.
The functions file provided with the child theme should have these lines of code inside
https://www.screencast.com/t/KiqpYbiFRS
You can try again with the child theme sample included in the theme package and see if it is working properly.

Thanks

Post count: 187

sorry wrong forrum

  • This reply was modified 9 years by bobbymc.
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.