掲示板
Hide current language flag
8年前 に Toshiro Mifune によって更新されました。
Hide current language flag
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
Hi all,
how can I hide current language flag programatically?
thanks ... I know how to do in portlet confiuration/ but this change is only for ine page .. I have to do it for all pages... i wanna do it in other way ,... maybe comething like
... or to use another code for this ...
how can I hide current language flag programatically?
thanks ... I know how to do in portlet confiuration/ but this change is only for ine page .. I have to do it for all pages... i wanna do it in other way ,... maybe comething like
.language-current {display none}
... or to use another code for this ...
8年前 に Toshiro Mifune によって更新されました。
RE: Hide current language flag (回答)
Regular Member 投稿: 238 参加年月日: 14/12/11 最新の投稿
There is a solution, via css and liferay condition if-else
if ($themeDisplay.getLanguageId() == "en_US")
<style type="text/css">
#portlet_82 div div div span :lang(en-US){
display : none !important;
}
</style>
#end