Articles of child theme

How to create a child theme with multiple css files.

Noob at wordpress development. Trying to create a child theme for a client. But the problem is that there are many css files and not one as per many tut’s available, in my senario there are multiple css files. Can somebody help me in giving high level overview of how to create a child theme.

Removing parent theme CSS without editing parent theme

I am currently developing a child theme that builds on twentyfifteen as a parent theme. However a potential issue has cropped up that is causing a problem. I want to strip the CSS and JS assets from the parent theme twentyfifteen, but these are loaded from the theme’s functions.php file with wp_enqueue_style and wp_enqueue_script, I […]

Can't create child themes. “Stylesheet is not readable.”

I’m working on a website for my mom and I’d like to create a child theme to customize the theme I’ve found for it. I made a new folder in /wp-content/themes/ and created a new file in it called style.css. I copied the code from another website and changed all the details to fit with […]

How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme?

This question already has an answer here: Issues enqueueing parent & child theme stylesheets with revised Codex method 1 answer

Child theme style.css isn't overwriting parent style.css

I am using the Optimizer theme and created a child theme to make 2 changes in the style.css. The .single_wrap adjustment works fine, but the page_head is being ignored. When I use Inspect Element on Google Chrome I can tell the parent style.css overides the child style.css for this part. Page_head is the title banner […]

@font-face broken in child theme

In my site I’m using Bootstrap for the basic structure (bootstrap.min.css), and using my own stylesheet (style.css) for further enhancements or modification. I declared @font-face in my stylesheet like below: @font-face { font-family: ‘roboto_condensedregular’; src: url(‘fonts/RobotoCondensed-Regular-webfont.eot’); src: url(‘fonts/RobotoCondensed-Regular-webfont.eot?#iefix’) format(’embedded-opentype’), url(‘fonts/RobotoCondensed-Regular-webfont.woff’) format(‘woff’), url(‘fonts/RobotoCondensed-Regular-webfont.ttf’) format(‘truetype’), url(‘fonts/RobotoCondensed-Regular-webfont.svg#roboto_condensedregular’) format(‘svg’); font-weight: normal; font-style: normal; } It’s working fine, but in […]

Link featured image to post

I have a WordPress child-themed site at http://mrme.me/utahcountyhiking, and I’m trying to get it so that when you click on the featured image it goes to the associated post. Right now it goes to the media page for the featured image instead of the post. What I’ve tried I figured out how to get the […]

Homepage showing a simple listing of title, featured image, then posted on

Here’s a link to my blog which uses the Bushwick theme: http://veegan.co.uk/ It’s current format is to have the most recent post at the top, with a larger title, then the entire post, then the post date. The other posts are listed below this in smaller text and without any pictures or content. Ideally I’d […]

How to override this theme function in child theme

I’m working in a child theme and I need to override a function in order to remove some unwanted items on a top menu. So I have research a bit and found a lot of docs, really, like this, this and this among others but still not clear at all to me how to achieve […]

How do I get a parent theme modification from a child theme?

I’ve built a child theme, and I would like to reuse some of the settings created by the parent. I hoped this would be as easy as get_theme_mod( ‘setting’ ) inside the child theme, but that returns nothing. I found a feature request that addresses this very thing which leads me to believe WP doesn’t […]