Help with header

Hi there,

I am not sure what I did wrong. My homepage header looks fine. But I don’t see header on other pages.

I really appreciate your help.

Thank you,

Hi @magnus1247,

I hope you are well today and thank you for your question.

I tried to visit your shared site but it seems your site is not publicly available and only displaying the screen as shown in the attached screenshot.

Have you made any changes in the theme files or using any child theme?

Please temporary revert the all changes you have made to check what is causing the issue.

Best Regards,

Hi Movin,

Thank you for your message.

  1. Yes, I put “Under Construction” page. But now I removed it. I will leave it on until you take a look at it.

  2. Yes, I did creat a child theme and I am working only on child theme.

  3. I did some changes to header which basically to increase the size fit our logo. But now I removed all the changes I made. I removed all the css.

Thank you

It seems the issue with your child theme so could you please share me the child theme that you are using on your site so that i can troubleshoot it?

Hello Movin,

Thank you for your message.

Pls see the admin login and password as requested. I created child theme from Shapely parent theme using a plugin.

UID : admin


Thank you for sharing your site details.

I resolved the issue on your site by adding the following code in the functions.php file of your child theme.

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', array( 'shapely-bootstrap','shapely-icons','flexslider-css' ) );
 wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'shapely-style',
        get_stylesheet_directory_uri() . '/style.css',
add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );

Hi Movin,

Thank you very much for your help.

  • Was it something I messed up?
  • Should I use this code if I use a Shapely with child theme again?

Thanks again, you are awesome.

You are most welcome here :slight_smile:

– Was it something I messed up?
– Should I use this code if I use a Shapely with child theme again?