Menu working with dropdowns, but when clicked all my pages have gone!

Topic summary

A Shopify store owner reports that all pages on their wedding celebrant services site have suddenly disappeared from the front end, despite:

  • The menu bar and dropdowns still functioning normally
  • Page content remaining intact in the backend
  • Navigation settings still populated
  • No recent changes made to the site

Only the contact page and one menu section (“ideas and inspiration”) display correctly.

Troubleshooting attempted:

  • Verified {{ content_for_layout }} code exists in theme.liquid file ✓
  • Reverted theme to older versions (no effect)
  • Checked main-page.liquid file

Current status: Issue remains unresolved. The user notes there is no menu for “main-page.liquid” file visible in the theme editor’s left sidebar, which may indicate the file was accidentally deleted or modified. Screenshots of the theme code have been shared for further diagnosis.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hey guys

I have used Shopify stores for several years now, and have never had any issues. I have one store that is not set up for sales, but as a services information site showing my services as a wedding celebrant. It has worked fine for a couple of years, but looking at it now, all my pages have disappeared!!!

The menu bar works as normal and the pages still have content in the back end. I have not changed anything for ages and the navigation section is still populated, but there is nothing on the physical website. I have gone through every page to see what has changed and cannot see anything here (not an expert)

The aps that are being used are:

Hulk form builder

Elfsight podcast player

Email (shopify)

Mailchimp email marketing (unused and needs an

The contact page from the menu bar works and one of the menu sections (ideas and inspiration TAB) works fine, none of the others do. Any ideas???

Website is www.timdownercelebrant.com

Cheers guys, Tim

Hi @Timthecelebrant

Dan here from Ryviu: Product Reviews & QA app.

Please visit your Online Store > Themes > Edit code > open theme.liquid file, check if you are missing this line of code

{{ content_for_layout }}

Or click on Current and revert the file to older versions, save and check if it can solve your issue.

Best Regards,

Dan

Thank you Dan for those pointers. Yes, the{{ content_for_layout }} was there still and I reverted the theme back as point 2 suggested, saved it and for some reason, this did not change anything either :smirking_face:

Tim

Hi Tim,

Could you share your that file?

Also, could you check main-page.liquid file? I guess you accidentally deleted the content of this file.

Hi Dan

Not sure how you got it in black like your example, but have the following screenshots if that helps?

I have looked at the menu on the edits . . . . and there was no menu on the left side for “main-page.liquid” file