Best Premium and Free WordPress Themes › Forums › Restaurant Recipe › Layout collapses in child theme creation
Tagged: child theme
- This topic has 4 replies, 2 voices, and was last updated 1 year, 6 months ago by
acmesupports.
Viewing 5 posts - 1 through 5 (of 5 total)
- AuthorPosts
- December 5, 2020 at 4:50 am #90092
youko
ParticipantRestaurant Recipe’s child theme was made.
Described in style.css/* Theme Name: Restaurant Recipe Child Theme Template: restaurant-recipe Description: Restaurant Recipe Child Theme */
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' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style') ); }
There is nothing in style.css. But the layout was broken.
See the image.Do you officially distribute child themes?
What should I do?December 5, 2020 at 5:40 pm #90106acmesupports
ModeratorDear Youko,
Your query will be replied soon.Best Regards!
December 7, 2020 at 1:23 pm #90158acmesupports
ModeratorDecember 10, 2020 at 3:13 am #90266youko
ParticipantI asked the question!
We look forward to your answer.December 13, 2020 at 3:13 pm #90394acmesupports
ModeratorDear Youko,
We need URL of your site.Best Regards!
- AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.