- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Child theme not working
Hi SKT,
I’m using the SKT Restaurant Pro theme and trying to set up a child theme. I have created both style.css and functions.php files in a new theme folder called skt-restaurant-pro-child but it’s not working. Could you please tell me what I’m doing wrong? Here is my child theme code:
style.css
/*
Theme Name: SKT Restaurant Pro Child
Theme URI: http://www.roamindonesia.com/skt-restaurant-pro-child
Author: Melissa Kuipers
Author URI: Melissa Kuipers
Template: SKT Restaurant Pro
Description: SKT Restaurant Child Theme
Version: 1.0.0
Text Domain: skt_restaurant
Tags: black,gray,orange,brown,white,yellow,dark,one-column,two-columns,right-sidebar,responsive-layout,custom-background,custom-colors,custom-menu,sticky-post,theme-options,threaded-comments
*/
functions.php
<?php
add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_styles’ );
function enqueue_parent_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
}
?>
Hi,
Kindly use custom CSS box in Appearance>theme options for your Custom CSS and use the original theme itself.
Our themes aren’t automatically updated but we send manual updates so at no time your changes would be removed unless you make changes to a particular file.
Regards,
Shri
Hi Shri,
I need to make changes to the .php files so Appearance>theme options for Custom CSS won’t suffice.
Regards,
Greg
Hi Greg,
Feel free to make changes to the PHP files then. Our updates are not automatic but manual so no worries of your customization getting removed.
Regards,
Shri
Why Your Hosting Solution Shapes First Impressions Before a customer contacts your team or visits your store to purchase any product or service, they first […]
Are you looking for the best WooCommerce based plugins for your WooCommerce Website? Here’s a list of the best WooCommerce based plugins. These are suitable […]
When talking about WordPress, you may get curious about the plugins used by WordPress, shortcodes, page builder, etc., in the same way, SEO optimized WordPress […]