当我安装wordpress主题时,它正在显示
“安装失败:无法安装软件包 - 主题缺少style.css样式表”
我已经安装了各种方法,但同样的问题。 (例如:Cpanel,WP-Dashboard)。
答案 0 :(得分:0)
当你遇到类似style.css的错误
时,有很多事情一:首先进入您的WordPress根目录,打开wp-content-themes->您的主题名称 - > header.php。检查style.css是否正确调用?
二:如果第一步没问题,那么打开你的style.css并将你的主题名称添加到评论部分,如下所示:
/*
Theme Name: Your Theme Name
Theme URI: https://themeisle.com/themes/your-them-name/
Author: ThemeIsle
Author URI: https://themeisle.com
Description: Hestia is a modern WordPress theme for professionals. It fits creative business, small businesses (restaurants, wedding planners, sport/medical shops), startups, corporate businesses, online agencies and firms, portfolios, ecommerce (WooCommerce), and freelancers. It has a multipurpose one-page design, widgetized footer, blog/news page and a clean look, is compatible with: Flat Parallax Slider, Photo Gallery, Travel Map and Elementor Page Builder . The theme is responsive, WPML, Retina ready, SEO friendly, and uses Material Kit for design.
*/
三:重新压缩您的主题并再次安装,看看它的工作正常与否?更多check here
由于