badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Social Media Logo/Link on page

#17529
Grafixer
Member

I am still having problem with setting the change(s). The first issue is my child theme. After creating the child theme, I am loosing the heading image. I have only text appearing instead. Also some of the menu titles are changing their name and their order. Can you please help with that before we get back to the footer?
I created a child theme with a style-css document. I also created a functions.php document in the same folder where I inserted the following code:
<?php

add_action( ‘wp_enqueue_scripts’, ‘enqueue_child_theme_styles’, PHP_INT_MAX);
function enqueue_child_theme_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array(‘parent-style’) );
}

This I picked up from the WordPress child theme website, which you recommended. Apparently it is a better way to instruct the site to pick up the style instruction from the parent css. Can you please help me by describing what am I doing wrong, that my child theme already distorts the original layout.