Creating a child theme modifies the looks of without any changes
-
Hello,
I’m not sure you understood what I meant, but when I create a child theme, and activate it without adding anything in the style.css it looks different.
This is what I have in the style.css/* Theme Name: Zerif Lite Child Theme URI: https://themeisle.com/themes/zerif-lite/ Author: ThemeIsle Author URI: https://themeisle.com Description: Zerif LITE is a free one page WordPress theme. It's perfect for web agency business,corporate business,personal and parallax business portfolio, photography sites and freelancer.Is built on BootStrap with parallax support, is responsive, clean, modern, flat and minimal. Zerif Lite is ecommerce (WooCommerce) Compatible, WPML, RTL, Retina-Ready, SEO Friendly and with parallax, full screen image is one of the best business themes. Version: 1.7.6 License: GNU General Public License version 3 License URI: license.txt Text Domain: zerif-lite Domain Path: /languages/ Template: zerif-lite Tags: black, gray, red, white, one-column, two-columns, right-sidebar,fixed-layout,light,front-page-post-form,full-width-template,rtl-language-support,sticky-post,theme-options,responsive-layout, custom-background, custom-menu, editor-style, featured-images, threaded-comments, translation-ready,photoblogging */
and this is what I have in the functions.php
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
am I doing anything wrong? Those are the only two files I have in the child theme. Imgur post showing how they look like. The child theme is the one with the grey background.
Thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Creating a child theme modifies the looks of without any changes’ is closed to new replies.