Skip to main content
General

What To Do When Your Magento 2 Theme Does Not Show Up in Front End?

By |September 7, 2016 January 3rd, 2022No Comments

In one of our recent projects, we installed a new Magento 2 theme. Even after the theme was installed, the theme’s content was not displayed in the front end.  At other times, the theme’s content like the home page design, the product page design may not show up in the front end.

The screenshot below highlights the above problem

magento 2 themes

There are two scenarios in which the theme may not show up in the front end.

Scenario 1

Theme record may not have been inserted in the Theme table.

  • Check the theme table to ensure if the new theme has been inserted.
  • If not,then insert the new theme in the Theme table using following SQL command.
Insert Data in Theme Table
Scenario 2

If the theme record is already available in the Theme table, then there are chances that the ‘Theme Type’ would not have been set to 0, which is Physical.

There are 3 theme types – 0–Physical, 1-Virtual and 2–Staging.

Ensure that the ‘Theme Type’ is  Physical (i.e.) 0.
In the screenshot below the ‘Theme Type’ is set as 1-Virtual

magento 2 themes

In  the screenshot below the ‘Theme Type’ has been changed to 0-Physical

magento 2 themes

 

Once you have made the above changes, you need to run the below commands in our SSH terminal.

  • php bin/magento setup:upgrade –keep-generated
  • php bin/magento setup:static-content:deploy
  • php bin/magento cache:clean
  • php bin/magento cache:flush

Hope the blog helped you to resolve the issue. Get back to us if you have any comments or feedback.

Customize your Magento 2 store by choosing the Magento development services from us. Get started now.

Vishnu Priya

Author Vishnu Priya

Vishnupriya is one of the young Magento developer in DCKAP. She started her career in Magento and continue building SAAS based products. She is one of the core member in Productimize team in DCKAP. She used to play Table Tennis in her leisure time. She found of photography and she loves to take selfies and u can find some of our DCKAP event pics

More posts by Vishnu Priya

Discover What You’re Missing

Get the weekly email full of actionable ideas and insights you can use at work and home.