Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem in translations with WPML
- This topic has 9 replies, 2 voices, and was last updated 7 years, 8 months ago by
ptzinis.
-
AuthorPosts
-
July 17, 2018 at 11:26 am #18679
ptzinis
ParticipantHi again,
I am starting translating the site for the client and I have encountered these issues:
1. While one page where I have the ajax search are giving results in the translated language, other pages give a null results (categories are translated, but not all of the strings –> perhaps this could be the problem, but why I have one page working and the others not?)2…not related to translations (sorry for that, but instead of opening another ticket I put it here)
A few days ago you helped me with custom CSS for the
// div.asp_w.asp_s select, div.asp_w.asp_sb select {
background: white !important;
color: red !important;
height: 40px !important;
border: 1px solid blue !important;
}2 questions
#1 how to make the element center (I tried with almost everything, I am sure I am missing something though ;-))
#2 how to changethe background color on the expanded dropdown content (it is set blue with white fonts, I would like to change the blue with another color when I am hovering on content)Thanks a lot
July 17, 2018 at 2:26 pm #18684ptzinis
ParticipantYou cannot access this content.
July 18, 2018 at 9:04 am #18703Ernest Marcinko
KeymasterHi,
Thank you for letting me know. It sounds like a cache related issue. Make sure to clear all the page/CDN cache, it will probably resolve it.
Let me know if you need any help.
July 18, 2018 at 9:23 am #18705ptzinis
ParticipantHi,
tried everything and disabled as well cache for that url …but still nothing.PS I also asked you about the CSS for the category div.asp_w.asp_s select, div.asp_w.asp_sb select 😉
ThanksJuly 18, 2018 at 1:24 pm #18712Ernest Marcinko
KeymasterHi!
Can you please link me to a page where I can check the search? Centering the elements may depend on how it is placed exactly. I would also like to check the translation problem. Thanks!
July 18, 2018 at 1:51 pm #18713ptzinis
Participanthttps://mediterraneancosmos.gr/shopping/ the search in its original language (English) working correctly
https://mediterraneancosmos.gr/el/%CF%88%CF%89%CE%BD%CE%AF%CF%83%CF%84%CE%B5/ the search in the secondary language (Greek) not taking feed
https://mediterraneancosmos.gr/el/%CE%B5%CF%83%CF%84%CE%B9%CE%B1%CF%84%CF%8C%CF%81%CE%B9%CE%B1-%CE%BA%CE%B1%CF%86%CE%AD/ (all the other searches are working correctly)Regarding the element position, you can see it on the left pane of each page (the categories dropdown selection)
Thanks
July 19, 2018 at 3:23 pm #18739Ernest Marcinko
KeymasterHi!
The problems are the exclusions/inclusions set. Make sure to clear both the excluded and included categories here: https://i.imgur.com/kCg0Enq.png
Those are not needed in your case, as the filter will always limit the results to the selected category.To center the filter box, use this custom CSS:
[html]div.asp_w.asp_sb.searchsettings form {
justify-content: center;
}[/html]..aslo, if you want to change hte width of the select box to match the container width, you can use this one as well:
[html].asp_sb fieldset {
width: 100% !important;
}[/html]July 19, 2018 at 4:20 pm #18743ptzinis
ParticipantThank you man and sorry for trouble you!
I completely forgot to remove in that search the exclusions/inclusions!!!
Thanks a lot again!July 19, 2018 at 8:11 pm #18745Ernest Marcinko
KeymasterNo problem at all, there are many options on the back-end, I can completely understand it 🙂
I will close this ticket soon, and mark it as resolved.
September 18, 2018 at 3:23 pm #19276ptzinis
ParticipantYou cannot access this content.
-
AuthorPosts
- The topic ‘Problem in translations with WPML’ is closed to new replies.