when I try to upload a theme I have uploaded on a free host and it is the first time I upload a theme on a host, I got this error failed because The style.css stylesheet doesn’t contain a valid theme header.
then I put this on my styles.css , but still getting this error , although the theme works very well on the localhost. what should I do, please?
/**
* Template Name: Mamba - v4.0.1
* Template URL: /
* Author: BootstrapMade
* License: /
*/
/*--------------------------------------------------------------
# General
when I try to upload a theme I have uploaded on a free host and it is the first time I upload a theme on a host, I got this error failed because The style.css stylesheet doesn’t contain a valid theme header.
then I put this on my styles.css , but still getting this error , although the theme works very well on the localhost. what should I do, please?
/**
* Template Name: Mamba - v4.0.1
* Template URL: https://bootstrapmade/mamba-one-page-bootstrap-template-free/
* Author: BootstrapMade
* License: https://bootstrapmade/license/
*/
/*--------------------------------------------------------------
# General
Share
Improve this question
edited Oct 8, 2021 at 9:32
kero
6,3201 gold badge25 silver badges34 bronze badges
asked Oct 8, 2021 at 9:18
Kishor KumawatKishor Kumawat
1
1 Answer
Reset to default 1Try something like this instead:
/**
* Theme Name: Mamba
* Theme URI: https://bootstrapmade/mamba-one-page-bootstrap-template-free/
* Author: BootstrapMade
* Author URI: https://bootstrapmade/
* Version: 4.0.1
* License URI: https://bootstrapmade/license/
*/
Or something like:
/*
Theme Name: Mamba
Theme URI: https://bootstrapmade/mamba-one-page-bootstrap-template-free/
Author: BootstrapMade
Author URI: https://bootstrapmade/
Version: 4.0.1
License URI: https://bootstrapmade/license/
*/