Home Forums Theme support Eiffel Theme Menu Not Displaying Properly Reply To: Eiffel Theme Menu Not Displaying Properly

Thank you for the response. I’ve reviewed a number of options on how to correct this. However I have not come to a fix.

Based on what you can see are you able to advise on how to address it without rebuilding the site?

There has to be a way to enqueue the style sheets properly considering the plugin did not create the child theme the correct way. I have copied the child theme function.php verbiage below. From the looks of it it looks like multiple calls are being made to call the style sheets multiple times.

I’m just looking for a corrective action so this site can be on it’s way to completion. I’ve never run into this before.

Child Theme Function.php code below:

<?php
// Exit if accessed directly
if ( !defined( ‘ABSPATH’ ) ) exit;

// BEGIN CTC ENQUEUE PLUGIN ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below
if ( !function_exists( ‘chld_thm_cfg_plugin_css’ ) ):
function chld_thm_cfg_plugin_css() {
wp_enqueue_style( ‘chld_thm_cfg_plugins’, trailingslashit( get_stylesheet_directory_uri() ) . ‘ctc-plugins.css’ );
}
endif;
// using high priority so plugin custom styles load last.
add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_plugin_css’, 9999 );

// END CTC ENQUEUE PLUGIN ACTION

// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below:

if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
function chld_thm_cfg_parent_css() {
wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’ );
}
endif;
add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’ );

// END ENQUEUE PARENT ACTION