cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find any theme at all

SOLVED

Cannot find any theme at all

Hi, everyone, I added a theme.xml file under app/design/frontend/VENDOR/theme_name/

 

On the admin page, when I go through Store > Configuration > Design Tab

 

I cannot see my added theme, even blank and luma.

 

Hope to find anyone can help

 

Here's what I did:

 

VENDOR/theme_name/theme.xml

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
    <title>myTheme Default</title>
    <parent>Magento/luma</parent>
</theme>

 VENDOR/theme_name/registration.php

<?php
/**
 * Copyright © 2015 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
\Magento\Framework\Component\ComponentRegistrar::register(
    \Magento\Framework\Component\ComponentRegistrar::THEME,
    'frontend/VENDOR/theme_name',
    __DIR__
);

  VENDOR/theme_name/composer.json

{
  "name": "VENDOR/theme_name",
  "description": "VENDOR default Thema",
  "require": {
    "php": "~5.6.5|7.0.2|7.0.4|~7.0.6",
    "magento/framework": "100.1.*"
  },
  "type": "magento2-theme",
  "version": "100.1.1",
  "license": [
    "OSL-3.0",
    "AFL-3.0"
  ],
  "autoload": {
    "files": [
      "registration.php"
    ]
  }
}

 

1. I added above files directory under `app/design/frontend/VENDOR/theme_name`

2. I delete all files in pub/static, var/view_processed

3. System > Cache Management > cleared cash, static flush static files 

4. 

php bin/magento setup:static-content:deploy

 

Some more...

 

current path of Luma:

/vendor/magento/theme-frontend-luma

current path of blank:

/vendor/magento/theme-frontend-blank

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Cannot find any theme at all

Hi @Jay0630

 

Did you check at CONTENT > Design > Configuration setting ?

Please read following  Apply and configure a storefront theme

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

View solution in original post

2 REPLIES 2

Re: Cannot find any theme at all

Hi @Jay0630

 

Did you check at CONTENT > Design > Configuration setting ?

Please read following  Apply and configure a storefront theme

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Cannot find any theme at all

my bad!! I was watching store > configuration > design !!

 

Thanks!!