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

Ajax Search Pro display problem

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Ajax Search Pro display problem

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #46894
    tapavakostapavakos
    Participant

    Hello. I create a new search in this page https://freezepro.gr/%ce%b3%ce%b9%ce%b1-%cf%84%ce%b5%cf%87%ce%bd%ce%b9%ce%ba%ce%bf%cf%8d%cf%82/ . the search display is not correct. what is my mistake? Thank you

    #46896
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The issue is, that in the site header there are very strong specificity CSS rules, which reset almost all colors to transparent within the content: https://i.imgur.com/f3fegYA.png

    If you are using CSS minification or a pagespeed plugin, make sure to set the CSS minification to files, and not inline. Using inline styles will usually cause a lot of conflicts.

    #46910
    tapavakostapavakos
    Participant

    You cannot access this content.

    #46915
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #46917
    tapavakostapavakos
    Participant

    You cannot access this content.

    #46923
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #46925
    tapavakostapavakos
    Participant

    You cannot access this content.

    #46950
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #46957
    tapavakostapavakos
    Participant

    You cannot access this content.

    #46961
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I have waited a bit, but still get the same error: https://i.imgur.com/BSihaS7.png

    #46975
    tapavakostapavakos
    Participant

    You cannot access this content.

    #46994
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thanks, I was able to reset a login that way.

    So, the issue is the Divi critical CSS feature, it overrides most of the plugin CSS. I was able to add a code snippet to “fix” that:

    add_filter('asp/assets/css/prefix', function($prefix, $id){
    	return $id == 8 ? '#et-boc ' : '';
    }, 10, 2);

    You can find it in the code snippets plugin. This however means, that the search ID=8 will only be rendered correctly on that page.

    #46996
    tapavakostapavakos
    Participant

    You cannot access this content.

    #46997
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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