Support » Theme: BB Mobile Application » Child theme and parent theme seem broken

  • Noticed this issue with the menu appearing broken on this site today. I did what I normally do in this instance and compared the child theme files to the parent theme files, looking for any problematic changes. I didn’t find anything that looked like it could be causing this.

    I attempted to Live Preview the parent theme and the loading graphic just spun and spun and I couldn’t get the parent theme to preview correctly, although the site looked ok when doing a Live Preview in Twenty Twenty-One.

    I also reuploaded the parent theme files and that didn’t help. Any suggestions? Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author themeshopy

    (@themeshopy)

    Hello @aloeroot,

    Can you please send us the screenshot so we can figure out your problem?

    Thank You.

    Thread Starter aloeroot

    (@aloeroot)

    Theme Author themeshopy

    (@themeshopy)

    Hello @aloeroot,

    You have only enqueued your child’s theme style, not parent theme style that’s why the menus and other things are in incorrect manners. Paste the below code in place of your stylesheet enqueue in the function.php file.

    $parent_style = ‘bb-mobile-application-basic-style’;
    // Style handle of parent theme. wp_enqueue_style( $parent_style, esc_url(get_template_directory_uri()) . ‘/style.css’ );
    wp_enqueue_style( ‘bb-mobile-application-child-style’, get_stylesheet_uri(), array( $parent_style ) );

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.