Problems with child theme
-
I’m having problems with getting the child theme to work with the Travel Blogger theme. After activating it in the wordpress dashboard, I have to edit everything under the tab “Appearances” (for example “Menus”, “Theme Layout & Skins”, “Custom Colors & Fonts”, etc), to make it look like the parent theme. This is expected and perfectly normal.
Now the trouble arises, when I click on one of the aforementioned links, so that I can edit the various values. The pages don’t look right and when looking at the source code (HTML) of said pages, I see that they include .css and .js files. These should always be loaded from the parent theme directory (for example https://www.mysite.com/wordpress/wp-content/themes/travel-blogger/lib/admin/css/admin.css?ver=1.3.1). But when I have my child theme activated, then they’re being loaded from the child-theme-directory, as in https://www.mysite.com/wordpress/wp-content/themes/travel-blogger-child/lib/admin/css/admin.css?ver=1.3.1.
Naturally the lib-folder (and it’s subfolders & files) don’t exists in the child theme directory (and are not supposed to), so updating anything on these pages fails. The whole point of the child theme is to overwrite (or add) .css/.php-code, but it’s not necessary to copy files which are identical to the ones in the parent theme.
I have used child themes with other themes on WordPress, so this is not an issue related to WordPress.
Does anyone have a solution for this problem?
- The topic ‘Problems with child theme’ is closed to new replies.