• I have a CSS with following code

    .my-class { background-image: url(/wp-content/image.jpg); }

    which loads image from root wp-content/ folder. If I enable combine CSS, for some reason url is updated to include also domain. So it becomes

    .my-class { background-image: url(//my-domain.com/wp-content/image.jpg); }

    which works fine if I create a cache on root page (without language). But if I create a cache (so first page access) on another language (for example de), it gets generated as

    .my-class { background-image: url(//my-domain.com/de/wp-content/image.jpg); }

    which is incorrect. It this a bug in a plugin or must I enable something?

    • This topic was modified 5 years, 1 month ago by freakman.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Combine CSS file includes WPML language in CSS url’ is closed to new replies.