Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • sajok Friend
    #129835

    I’m right now working on a multilingual website (English/Arabic). I have English as default and when i switch to arabic all elements are taking the right position except the top menu (suckerfish) items which keeps the ltr order for example:
    Home – The news – FAQ – Contact
    I want the menu items start from the right position with the order:
    Contact – FAQ – The news – Home
    Among the template characteristics it says “Fully RTL Support “, yet the top menu items aligning doesn’t change.
    I don’t know which css element to change..any help would be appreciated.. Thanks

    Sherlock Friend
    #254579

    Hi sajok !
    You can do it following way :
    Open ja-sosdmenu.css file in templates/ja_purity/css folder , find following code section at about line 11 :


    #ja-mainnav ul.menu {
    border-right:1px solid #555555;
    float:left;
    margin:0pt;
    padding:0pt;
    }

    change to :


    #ja-mainnav ul.menu {
    border-right:1px solid #555555;
    float:right;
    margin:0pt;
    padding:0pt;
    }

    sajok Friend
    #254797

    Thanks for the reply :).. actually I found a better solution to still keep my website multilingual, and this is what i did:

    In templates/ja_purity/css folder, I opened “template_rtl.css” file, and added the following code :

    #ja-mainnav ul.menu {
    float: right;

    #ja-mainnav ul.menu li {
    float: right;
    }

    In index.php file, I moved the link to “template_rtl.css” to the position below the link to “ja-sosdmenu.css”, as you can see in the following:

    <?php if ($this->countModules('hornav')): ?>
    <?php if ($tmpTools->getParam('horNavType') == 'css'): ?>
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja-sosdmenu.css" type="text/css" />
    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.cssmenu.js"></script>
    <?php else: ?>
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja-sosdmenu.css" type="text/css" />
    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.moomenu.js"></script>
    <?php endif; ?>
    <?php endif; ?>

    <?php if($this->direction == 'rtl') : ?>
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_rtl.css" type="text/css" />
    <?php else : ?>
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/menu.css" type="text/css" />
    <?php endif; ?>

    so far this works fine for me, and if it works for others, I think it should be implemented in the core files to make the top menu conform to rtl languages. I hope this works..thanks

    karamalla Friend
    #284285

    Hello there !

    I have the same problem in Teline II, please help.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  karamalla 15 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum