Support Forum

Creating a theme

4 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

So the first question is then – in the /templates folder of your custom theme does this template file exist?

RI Riccardo
Riccardo
Member

Yes the templete file exist but if I go into available theme (admin panel) it’s written : 

The current theme stylesheet:

/membri/mywebsite/wp-content/sp-resources/mytheme/css-only/styles/css-only.css

cannot be found. Please correct or select a new theme for proper operation.

YS Yellow Swordfish
Yellow Swordfish
Member

Hang on – you have confused me. i thought you said this was a custom theme? That message is looking for the css-only.css file that is a part of one of our themes?

MP Mr Papa
Mr Papa
Member

seems like the theme name is wrong…

this is duplicative:   /membri/mywebsite/wp-content/sp-resources/mytheme/css-only/styles/css-only.css

it should only be:  /membri/mywebsite/wp-content/sp-resources/mytheme/styles/css-only.css

the use of mytheme and css-only is wrong.. should just be mytheme as detailed by the codex article…

and as Andy pointed out and the codex also details, the file and directory need to sync up… so:

/membri/mywebsite/wp-content/sp-resources/mytheme/styles/mytheme.css