** اضافه شدن تگ کدکد:To make your Artisteer template works with RTL languages, and exactly with Joomfish component do the following : Create new file next to your template.css file, and name it : template_rtl.css Copy this code to this file : body { direction: rtl; } .artmenu a, .artmenu a:link, .artmenu a:visited, .artmenu a:hover { text-align: right; } .artmenu li { float: right; } . .artmenu ul a, .artmenu ul a:link, .artmenu ul a:visited, .artmenu ul a:hover, .artmenu ul a:active, .nav ul.artmenu ul span, .nav ul.artmenu ul span span { text-align: right; } .PostHeaderIcon-wrapper { text-align:right; } .PostHeaderIcon-wrapper, .PostHeaderIcon-wrapper a, .PostHeaderIcon-wrapper a:link, .PostHeaderIcon-wrapper a:visited, .PostHeaderIcon-wrapper a:hover { text-align: right; } .PostHeader a:link { text-align: right; } .PostHeader a:visited, .PostHeader a.visited { text-align: right; } .PostHeader a:hover, .PostHeader a.hovered { text-align: right; } h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover { text-align: right; } h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover { text-align: right; } h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover { text-align: right; } h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover { text-align: right; } h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover { text-align: right; } h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover { text-align: right; } blockquote p { text-align: right; } .Button .btn .t { text-align: right; } table.moduletable th, legend { text-align: right; } .contentpaneopen_edit { float: right; } form#form-login { text-align: right; } form#com-form-login { text-align: right; } table.paramlist td.paramlist_key { text-align: right; } .pollstableborder td { text-align: right; } #syndicate { float: right; } then go to your index.php inside your template and after this code: <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" /> ADD THE FOLLOWING : <?php if($this->direction == 'rtl') : ?> <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template_rtl.css" /> <?php endif; ?> that's it. Now if you change your Joomla language the template will be RTL as you expect. and I hop from the above, Artisteer Developer can do it automatically by adding extra file template_rtl.css which is only will have some code as mentioned up. Thanks & Regards for more info [مهمان/کاربر گرامی برای دیدن لینک ها ابتدا باید عضو سایت شوید و لاگین کنید برای ثبت نام اینجا کلیک کنید]





علاقه مندی ها (Bookmarks)