Archived

This topic is now archived and is closed to further replies.

  • 0

Hide qTranslate flags only for one category (Platform Pro)


Question

Posted · Report post

Hi,

I'm using platform pro and qTranslate plugin. I'm translating all the posts but in one category, I only want to use one language, so I would like to hide the language flags, only for that category. Any idea of how can I do that?

Thank you very much!

Share this post


Link to post
Share on other sites

7 answers to this question

Posted · Report post

Hi,

Well you could hide them using CSS. However, they will still be shown in your page source code.

If you provide a link to the category and which languages you would like removed, I can take a look for you.

Share this post


Link to post
Share on other sites

Posted · Report post

I would like to hide all the flags from "blog" category Would be perfect to do it just using CSS, thank you very much.

Share this post


Link to post
Share on other sites

Posted · Report post

Please use this CSS:

body.category-blog #qtranslate {display: none;}[/CODE]

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Katrina but it's not working. I also tried with the category ID (54) and not working...

I added it at Custom Code area of Platform Pro.

Share this post


Link to post
Share on other sites

Posted · Report post

Try:

body.category-blog.category-54 #qtranslate {display: none !important;}[/CODE]

Share this post


Link to post
Share on other sites

Posted · Report post

Nops, still not working.

thanks for your help.

Share this post


Link to post
Share on other sites

Posted · Report post

To continue working on the issue, you'll need to keep adjusting the selector. Perhaps try archive.category-blog or variations of that (as long as you use the category-blog or category-54 selector).

Share this post


Link to post
Share on other sites