- This topic has 9 replies, 3 voices, and was last updated 8 years, 10 months ago by Sakin.
-
AuthorPosts
-
January 20, 2016 at 12:26 pm #83306huskerParticipant
I downloaded and made a few color change to the main theme files a few days ago.
Today I downloaded and successfully created a child theme and activated it.
Unfortunately, my child theme does not not look the same as the main theme.
My primary Sidebar that was created in main theme shows up as Footer 1 on the child theme and child theme is not showing slider updated I made to main theme.
Here are the CSS and Functions Sheets from the Child Theme.
style.css
Theme Name: Catch Responsive Child Theme
Theme URI: http://catchthemes.com/themes/catch-responsive
Author: Catch Themes Team
Author URI: http://catchthemes.com
Description: Catch Responsive is an extremely flexible and customizable WordPress theme suitable for almost any kind of professional website. It is based on responsive design where each element has been carefully configured for perfect display on all devices and platforms. It is built in HTML5, CSS3 and WordPress Theme Customizer for real time customization. It comes with a wide variety of options so you can modify layout, styling, featured content, promotion headline, featured slider, pagination, icons, menus, breadcrumb, widgets and much more, directly from theme customizer. This theme is translation ready and also currently translated in Swedish. Check out Theme Instructions at http://catchthemes.com/theme-instructions/catch-responsive/, Support at http://catchthemes.com/support/ and Demo at http://catchthemes.com/demo/catch-responsive/
Version: 2.1
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Tags: black, gray, silver, white, dark, light, one-column, two-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, front-page-post-form, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: catchresponsive
Template: catch-responsive/* =Child Theme Custom CSS
————————————————————– */functions
<?php
/**
* Child Theme functions and definitions
*
*//**
* Loading Parent theme stylesheet
*
*/
add_action( ‘wp_enqueue_scripts’, ‘catchresponsive_child_enqueue_styles’ );
function catchresponsive_child_enqueue_styles() {
wp_enqueue_style( ‘catchresponsive-parent-style’, get_template_directory_uri() . ‘/style.css’ );
}What am i missing?
Here is the file path:
/public_html/wp/wp-content/themes with the two folders for main and child inside themes.
Thanks and let me know.
Brian
January 20, 2016 at 2:22 pm #83315MaheshParticipantHi @husker,
The above mentioned code is all correct. It is working fine as I tested it.
Could you please post in you site url?Regards,
MaheshJanuary 20, 2016 at 8:45 pm #83325huskerParticipantJanuary 21, 2016 at 9:56 am #83369MaheshParticipantHi @husker,
It seems, you’ve put the Game Countdown widget in the “Footer Area 1”. Please check the widgets are in the right places in admin section.
And what updates have you made to the main theme’s slider?
The changes main theme should be same on the child theme too, unless you’ve modified it to something else in the child theme.Hope you understand, let me know further.
Regards,
MaheshJanuary 21, 2016 at 10:07 am #83370huskerParticipantYour seeing the child theme. I changed it back to main theme. The child theme has put the timer in the footer.
I put the timer on the home page right widget at the top. You will see sliders modified on Main theme but not showing on child theme.
Brian
January 21, 2016 at 12:27 pm #83375MaheshParticipantHi @husker,
I just checked your site and now the main theme active, the “Game Countdown” is in the right sidebar. Did you just switched the theme or have you repositioned the widgets also because now there is only “Game Countdown” in Primary Sidebar and no other widgets in footer. Previously in the child theme there were other widgets like “Recent Posts, Recent Comments, Archives” etc in the Primary Sidebar and “Game Countdown” in the Footer Widget.
Please activate the child theme, go to “Dashboard=> Appearance=> Widgets” and remove all the widgets from there. Then add “Countdown” widget to the Primary Sidebar. And go to front end and check where the widget is being displayed.
Let me know if the problem persists.
Regards,
MaheshJanuary 21, 2016 at 12:46 pm #83376huskerParticipantI did not move anything or change anything since I added the child theme.
Like i mentioned above. I set up the Game Counter on the main theme on the right sidebar and that is where it still is located.
It is showing up on footer on Child Theme for some reason.
The Child Theme created all the right side widgets you mentioned which I had removed from main theme.
Do Plugins affect the way this is working. Should a person remove all widgets from main theme and then create child theme?
I had also changed the Title Colors and the Child theme is not seeing them or the sliders I created in main theme.
Brian
January 21, 2016 at 1:06 pm #83377MaheshParticipantHi @husker,
The settings in the main theme retains on the child theme if no modification is made through child theme settings. However the changes in styles such as modifying color, width etc in Custom CSS won’t be carried between child theme an main theme.
No you do not have to remove all the widgets from main theme while creating the child theme, I recommend to see if it fixes the issue.
Yes, sometimes, the plugins may affect the way the theme working. Have you tried disabling the plugins?Please let me know if this fixes the issue.
Regards,
MaheshJanuary 21, 2016 at 1:44 pm #83380MaheshParticipantJanuary 22, 2016 at 8:09 am #83432SakinKeymaster@husker: Child theme is sometime little tricky and I need to check in your server. So, I will email you and you can reply me there.
At the same time, after you activate Child theme. Just go to “Appearance => Widgets” and check your widgets in Sidebars. Sometime, widget might move to different locations when you change the theme.
-
AuthorPosts
- The topic ‘Catch Responsive Child Theme’ is closed to new replies.