This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Stylesheet don't load correct

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15796
    kt95kt95
    Participant

    Hello,

    the stylesheets (?) of the search (bottom search) does not load correctly and so the search box looks wrong and can’t be used properly. Search results are displays at the bottom of the page.

    The other search box (widget area top right) works fine. Both use the same settings.

    Backend URL: {SITE-URL}/stageadmin

    Regards,
    Kevin

    • This topic was modified 6 years, 9 months ago by kt95kt95.
    #15798
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Kevin,

    I’m not sure why, but there were unexpected escape and space characters within the generated CSS files. I’ve looked up the source, but everything is fine there, so I suspect that the cause was either some sort of 3rd party minification service or a plugin, or an input validation browser extension (?).

    Anyways, when I saved the search options on the back-end, and then reloaded the front page again by hitting CTRL + SHIFT + R to clear the cache, the CSS file displayed correctly. It is minified though, which I guess comes from your CDN or cloudflare if you use any. It may have been only some sort of cache inconsistency.

    #15808
    kt95kt95
    Participant

    You cannot access this content.

    #15811
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Kevin,

    You are right, I think I may know what it is now. So the stylesheet gets corrupted whenever it gets to the title font rule. I guess it’s because probably of the escaped apostrophe characters. The minifier might not be able to handle that.
    Anyways, I have sorted that by changing the result title link font option to inherit: https://i.imgur.com/w31np21.png

    Now both instances should start come out correctly. I will investigate this further on my local environment, and if possible then remove the apostrophe escape characters in the future release, so the minifier can handle them better.

    #15814
    kt95kt95
    Participant

    Looks good now. I will have a look at this for the next weeks.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.