Using child theme

Posted in: Newspaper
Post count: 24

Hello,

Does anyone use Newspaper-child theme? It seems it doesn’t work for me. I have put a css codes inside style.css file inside Newspaper child folder and nothing happens?

Maybe I am wrong?

Any help?

Thanks,
Sandall

Post count: 9544

It works for me. I use it to make the author box mini bios “smaller” since I make rest of the site text larger for better mobile/desktop experience, but then the bio gets huge.

Check that you’re stating the proper style, and class, and format that properly in the style.css file

e.g., to make the author box text a wee bit smaller (I made page text 15px);

.author-box-wrap .desc { font-size:13px; line-height:1.4em; }

OH… sorry, meant to say also, be sure you actually “activate” the child theme as your main theme … simply putting stuff in child folder won’t do anything unless you “activate” the Newspaper-child as your theme instead of Newspaper. This is one thing a lot of folks miss when working with child themes first time. 🙂

  • This reply was modified 12 years by simchris.
Post count: 9544

I will also be adding some white space above/below the post titles as it’s all a bit smushed together with the breadcrumbs, title, then the cat pills and author name …

Post count: 3343

Hello,

@Sandall
you have managed the CSS from Child theme?

Post count: 24

Thank you Christopher for your suggestion.
I have activated Newspaper child theme, but it broke page CSS. Maybe, I did something wrong?
So, first, I uploaded Newspaper-child folder with style.css and functions.php files in it, into themes directory on web site. Than I navigated to Themes and activate Newspaper-child theme. Am I wrong?

Marius, i have set you a mail regarding this issue.

Thanks you for support.

Sandall

Post count: 159

Maybe you forgot
@import url(“../Newspaper/style.css”)
?

Post count: 24

Thank you for reply @mbasche, I didn’t forget to import style.css from parent theme. Instead, it is set by default in child style.css.

Sandall

Post count: 9544

Sandall
Hi, be sure to clear your cache as you may be seeing old styles. Also, you may need to reset a few things you set in the “master” theme if they didn’t carry over when switching to child theme.

Suggest:
1) put the default style.css back in the /Newwspaper-child/ folder
2) then revisit settings to check your settings you started with from parent theme are all still there … in theory, should look same as you has the prior day.
3) THEN modify the style.css in child them to “over ride” stuff from parent theme.

I went through this same (mis)adventure in one case.

Hope that helped.

————-

Fun fact, one of my long time clients started using the Newspaper theme today on his news portal, which I thought was fun to see — had no idea until I went there to look at something and went, HEY! I know this theme 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.