不确定这个PHP代码是否可以使用样式(CSS),但是如果有人知道我可以如何设计这个(有颜色等),请告诉我!这是放在我的模板文件中的基本WooCommerce下拉代码
Josephs-MBP:Homestead Joey$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Box 'laravel/homestead' could not be found. Attempting to find and install...
homestead-7: Box Provider: virtualbox
homestead-7: Box Version: >= 0.4.0
==> homestead-7: Loading metadata for box 'laravel/homestead'
homestead-7: URL: https://atlas.hashicorp.com/laravel/homestead
==> homestead-7: Adding box 'laravel/homestead' (v1.0.1) for provider: virtualbox
homestead-7: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/1.0.1/providers/virtualbox.box
==> homestead-7: Successfully added box laravel/homestead' (v1.0.1) for 'virtualbox'!
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
* The host path of the shared folder is missing: ~/Code
答案 0 :(得分:1)
使用插件:
https://wordpress.org/plugins/widget-css-classes/
请注意,此插件无法输入自定义CSS。您需要编辑主题的style.css或添加另一个允许您输入自定义CSS的插件。
请参阅此完整文章
http://www.wpbeginner.com/wp-themes/how-to-add-custom-styles-to-wordpress-widgets/