Unable to import css files
Posted by: Ritzzy_18 (---.bb.sky.com)
Date: April 20, 2018 04:21PM

Hi,

I created a custom site using one of WordPress's existing themes. However, when I try to import css files from the parent folder, the site doesn't change in appearance.

The filename in the parent folder is editor-style.css. When I try to import this file into my child folder using this script @import url('../twentysixteen/css/editor-style.css'), nothing happens to the site.

Can anyone suggest a resolution?

Thank you,
Rashida

Options: ReplyQuote
Re: Unable to import css files
Posted by: RiggsFolly (Moderator)
Date: April 20, 2018 04:46PM

Hi,

Sorry, this is a development issue and nothing to do with WAMPServer

However I would say the WordPress work better when installed into a Virtual Host and not run from somehting like `wamp/www/mywpsite`

Have a read of this The need for Virtual Hosts

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.