Tagged: gunter
-
AuthorPosts
-
March 20, 2019 at 9:57 am #1080730
on 4.5.4 i could solve it by having the absolute url and in that manner: url(“https://domain-name/ …) so with quotes
but now on 4.5.5 the path to images ( backgrounds ) set on quick css is changed even if i write the full absolute path to the quick css:this is what is in quick css:
.home #home_top_section { background-image: url(//domain-name/wp-content/uploads/2019/03/image1.png), url(//domain-name/wp-content/uploads/2019/03/image2.svg) !important; }
and this is what is in after merging the css:
.home #home_top_section { background-image: url('https://domain-name/domain-name/wp-content/uploads/2019/03/image1.png'), url('https://domain-name/domain-name/wp-content/uploads/2019/03/image2.svg') !important; }
i do not know if this is important – it is one of my test installations where the wordpress install is in a subfolder – so domain is webers-testseite.de/abc/ etc. Edit: no same thing on the webers-testseite.de ( so without subfolder install)
PS: even if i write the url with https: to the quick css , the unmerged file will be output without that as //domain…
in the merged file the https://domain-name/ is added.March 20, 2019 at 10:42 am #1080741a temp-fix would be very helpful ;)
March 22, 2019 at 4:05 pm #1081896It sure is important – they ned to fix this asap. What is the point of having an option to “CSS file merge and compression” if it just botches things up.
What is the fix for this support gurus? This DOES adversely affect GTMetrix scores by not merging and compressing.
March 24, 2019 at 6:14 pm #1082281Hi,
I have asked our developers to check this out.
Best regards,
BasilisMarch 25, 2019 at 3:11 pm #1082689Hi,
Please check https://css-tricks.com/quick-reminder-about-file-paths/.
The logic for the first entry with “/” pointing to the root directory was added with 4.5.5. This did not work before.
It is not be necessary to enter the subdomain – this is handled byget_home_url()
.
I refactored the code for the function _url_callback.
Can you please replace enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php with
and check if this works?
Best regards,
GünterMarch 25, 2019 at 3:34 pm #1082706works ! – great – thanks
March 25, 2019 at 3:45 pm #1082714 -
AuthorPosts
- The topic ‘Again one Problem with merged css – this is sad thing because i like to use this’ is closed to new replies.