Tagged: x
-
AuthorPosts
-
May 13, 2016 at 3:48 pm #990309
genuinespParticipantHi,
In our site, we’ve got 3 languages (spanish, french and english). All pages will be translated except BLOG, that it’s only in spanish.
It’s possible to hide the top carousel of posts of the home when an user select other language different to spanish??
We want to keep it when the user select spanish flag, and hide it when french or english flags will be selected.We are usign WPML.
Thanks a lot.
May 13, 2016 at 10:14 pm #990778
RadModeratorHi there,
Thanks for posting in.
Would you mind providing your site’s URL, maybe that’s possible through CSS as long as there is language CSS selector.
Thanks!
May 14, 2016 at 3:59 am #991047
genuinespParticipantThis reply has been marked as private.May 14, 2016 at 4:19 am #991068
ChristopherModeratorHi there,
In regards with blog page, please provide us with login credentials .
In regards with post carousel, please add following code in Customize -> Custom -> CSS :
html[lang="en-EN"] .x-post-carousel ,html[lang="es-ES"] .x-post-carousel { display: none; }Hope it helps.
May 16, 2016 at 11:12 am #993844
genuinespParticipantHi,
I’ve added this code:
html[lang=”fr-FR”] .x-post-carousel, html[lang=”en-EN”] .x-post-carousel {
display: none;
}This solution works perfectly to french (fr-FR) but, in english (en-EN) the space of the posts is still visible. So I`ve got a white big space in the top of the page before the logo and the menu.
It’s very strange because, as I’ve written on the top, that solution is correct in french.
Please, could you help me with this?
Thanks a lot!.
May 16, 2016 at 11:24 am #993862
genuinespParticipantHi again,
I’ve modified a little your code and now works.
Firstly, I’ve hide the carousel:
.x-post-carousel{
display:none;
}And after this, I only show the language that I want:
html[lang=”es-ES”] .x-post-carousel{
display: inline!important;
}Thanks!
May 16, 2016 at 2:03 pm #994170
RahulModeratorGlad you were able to make it work!
Let us know if you need any further help.
Have fun with your X 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-990309 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
