• Resolved JPecsenyicki

    (@jpecsenyicki)


    The linked site uses a child theme of Storefront.

    Within the last week, the homepage of this site stopped displaying as a single column and began displaying two columns.

    Looking at the page from the administration dashboard, I see that the TEMPLATES dropdown is not appearing. So the template cannot be be set back to HOMEPAGE.

    Going to APPEARANCE > THEMES, I get the following message:

    Broken Themes
    The following themes are installed but incomplete.
    Name		
    Storefront Child Theme URI: https://www.woothemes.com/storefront Description: Storefront Child Theme Author: WooThemes Author URI: https://www.woothemes.com Template: storefront Version: 1.0.0 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: storefront-child
    Description			
    Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.

    (I note that TEMPLATE: STOREFRONT appears at the beginning of the child theme’s STYLE.CSS file.)

    My other site, which also uses a STOREFRONT child theme, does not display this behavior.

    This site uses:
    STOREFRONT 3.7.0
    WORDPRESS 5.7.2
    WOOCOMMERCE 5.4.1

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter JPecsenyicki

    (@jpecsenyicki)

    Just received this automatic email today:

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with your theme, Storefront Child Theme URI:    https://www.woothemes.com/storefront Description:  Storefront Child Theme Author:       WooThemes Author URI:   https://www.woothemes.com Template:     storefront Version:      1.0.0 License:      GNU General Public License v2 or later License URI:  https://www.gnu.org/licenses/gpl-2.0.html Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain:  storefront-child.

    Temporarily switched to the main Storefront Theme. Now see the Template dropdown.

    However, I am not given the option of using the Child theme anymore. Will try to investigate later today.

    Thread Starter JPecsenyicki

    (@jpecsenyicki)

    Tried deleting almost all the styles in the Child theme stylesheet (aside from the header and the @import url('../storefront/style.css'); line.

    Was still told that the Child theme was broken.

    Then deleted this Storefront Child theme, and copied the Storefront Child theme from my other working WordPress site into this site.

    The error message was gone.

    Finally, this site’s original styles were copied back into the now-working STYLE.CSS file, and the Child theme with original styles were restored.

    (Am still uncertain as to how the Child theme got broken in the first place. But the problem has been resolved.)

    Hi, @jpecsenyicki!

    It looks like you resolved the issue all by yourself with some great detective work. Thanks for keeping us updated here too in case someone runs into a similar issue.

    If you’re all set, I’ll go ahead and mark this thread as resolved then. However, if you do have any further questions, feel free to start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Homepage now displays 2-columns instead of one’ is closed to new replies.