Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1080730

    see here: https://kriesi.at/support/topic/i-need-childs-style-css-file-set-to-overrule-generated-uploads-css-output/#post-1069351

    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.

    #1080741

    a temp-fix would be very helpful ;)

    #1081896

    It 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.

    #1082281

    Hi,

    I have asked our developers to check this out.

    Best regards,
    Basilis

    #1082689

    Hi,

    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 by

    get_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

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_5/Url_fix/asset-manager.class.php

    and check if this works?

    Best regards,
    Günter

    #1082706

    works ! – great – thanks

    #1082714

    Hi,

    Thanks for the feedback. Have a nice day.
    Will become part of the core.

    I will close this topic.

    @crtdude

    Please open a new topic if you need further assistance.

    Best regards,
    Günter

    • This reply was modified 5 years, 8 months ago by Günter.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Again one Problem with merged css – this is sad thing because i like to use this’ is closed to new replies.