Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Display Problem
- This topic has 10 replies, 2 voices, and was last updated 12 years, 3 months ago by
asd.
-
AuthorPosts
-
February 20, 2014 at 8:27 pm #1022
asd
ParticipantHi,
I have a problem with the display of the search bar.
I have attached a screenshot of what is happening.
Thank you
-
This topic was modified 12 years, 3 months ago by
asd.
February 20, 2014 at 11:06 pm #1024Ernest Marcinko
KeymasterHi!
This is most likely because the css files are not writeable. Make sure you chmod the plugins/ajax-search-pro/css directory to 777.
Alternatively you can enable inline styles on the “compatibility settings” tab. It should solve the issue right away 🙂 It’s available from version 2.1, which was uploaded to codecanyon 2 days ago.
Let me know how it goes!
February 21, 2014 at 8:34 am #1033asd
ParticipantHi!
Thank you for your answer, sadly, I already gave the 777 rights recursively for the css and cache folder.
I tried to enable inline styles on the compatibility settings too. Nothing changed.
I noticed that the [wpdreams_ajaxsearchpro id=1] is working, but not the other one…
Thank you.
February 21, 2014 at 8:39 am #1034Ernest Marcinko
KeymasterDo you have the same search shortcode ( [wpdreams_ajaxsearchpro id=1] ) twice on one page? Because it wont work that way.
If not, then can you give me an url to your website with a possible temp admin/ftp access? I want to check this out. Judging by the screenshots the stylesheet is not loaded, or haven’t been saved somehow.
February 21, 2014 at 9:11 am #1036asd
ParticipantNo we don’t have it twice at any time.
The page from the screenshot is http://www.url.com/test
I added the temp information for you to log on.
The path is /var/www/htmlThank you
February 21, 2014 at 9:49 am #1037Ernest Marcinko
KeymasterOkay. Something isn’t right. On the top right section there is a very old version of the ajax search pro, was it included in the template?
I tried to switch the template to the default and the search was showing/working on url.com/test page. So the template is breaking it for sure. You should try to disable the old version from the template and it should work fine 🙂
February 21, 2014 at 9:51 am #1038asd
ParticipantOkay, thank you very much for pointing this out!
You are right, it was included in the theme.We will fix this.
Best regards!
-
This reply was modified 12 years, 3 months ago by
asd.
February 21, 2014 at 10:17 am #1040asd
ParticipantCan I ask you how you saw that it’s an old version ?
That’s strange because we uploaded the version from 2 days ago.February 21, 2014 at 10:37 am #1041Ernest Marcinko
KeymasterThe stylesheet was embedded into the template itself, it was not coming from the plugin. That is not how it should be.
Anyways I might figured out what is causing the issue. There is one functions that prints the stylesheets to the header, I think that might be blocked by an action or filter in the template.
I cant edit the files however with the ftp account nor the admin account you provided. Can you please upgrade the temp ftp account to make me able to modify the search files?
February 21, 2014 at 10:43 am #1042Ernest Marcinko
KeymasterI got it!
Dont need ftp 🙂
Remove the lines 1218-1220 from wp-content/themes/lybacitheme/functions.php
if (!is_admin()) { remove_action('wp_print_styles', 'search_stylesheets'); }That should solve the issue right away. 🙂 That’s what has been blocking the plugin stylesheets. Basically it removed the function action as I suspected.
February 21, 2014 at 1:41 pm #1043asd
ParticipantThank you very much!
Indeed, it fixed it!
-
This topic was modified 12 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.