Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • stator86 Friend
    #171226

    I’ve 2 language English & Arabic

    I’ve made 2 duplicates of the template and assign one to each language.

    The problem is the menu appears only in one language but when switch to other the menu disappears.

    N.B. I’ve 2 menus one English & one Arabic.

    I go to each template (EN & AR) & assign the English menu to EN template & Arabic menu to AR template.

    However, the change in options of one template is reflected on the other therefore the 2 templates only save the last changes in one of them

    my site: http://www.elib4vet.com/alexvetmed2

    pavit Moderator
    #427102

    Hi stator86

    Why you use two templates you can do it with the template profile override

    You can create a profile for the new menu and assign your menu in menu settings English then go to Page assigments and assign that profile to the English menu Home page

    stator86 Friend
    #427109

    Thanks pavit

    So if i want to display different logo for each language what i’ve to do ?

    pavit Moderator
    #427114

    In the same new profile created “English” you have the option to choose a new theme that you have created before

    go to templates/ja_Anion/core/themes/yournewtheme/ and inside it you have two folder css and images

    so you can create a new template.css with the new path and image to your specified logo

    Example ” take a template.css of an actual theme and check this line

    /* Logo Image ---*/
    h1.logo a {
    background-image: url(../images/logo.png);
    }

    here you can change your path to the new logo and the logo image name

    save this file and apply your new profile at the English menu Home

    I hope was clear

    stator86 Friend
    #427117

    thanks Pavit very much
    I will try & inform you what i get.

    stator86 Friend
    #427119

    sorry pavit I didn’t find the folder of the new theme

    could you guide me step by step from the beginning ?

    pavit Moderator
    #427123

    try to do in this way goto core/themes/ and copy your preferred/used theme folder

    rename it in your preferred theme example call it English

    now in theme folder you must have all previous theme plus the new English folder

    inside that folder you have 2 subfolders CSS and IMAGES

    in The IMAGES folder put your logo image

    after go to template manager and at the profile English you have previous created apply as THEME English

    assign this Profile to English Menu Home page

    stator86 Friend
    #427134

    <em>@pavit 285854 wrote:</em><blockquote>In the same new profile created “English” you have the option to choose a new theme that you have created before

    go to templates/ja_Anion/core/themes/yournewtheme/ and inside it you have two folder css and images

    so you can create a new template.css with the new path and image to your specified logo

    Example ” take a template.css of an actual theme and check this line

    /* Logo Image ---*/
    h1.logo a {
    background-image: url(../images/logo.png);
    }

    here you can change your path to the new logo and the logo image name

    save this file and apply your new profile at the English menu Home

    I hope was clear</blockquote>

    This line not found ??????????????????

    stator86 Friend
    #427137

    solved I added this

    /* HEADER

    --------------------------------------------------------- */

    #ja-header .main { background: transparent; padding: 25px 0 15px; }

    h1.logo, div.logo-text h1 { font-size: 250%; line-height: 1; }

    /* Logo Image ---*/

    h1.logo { height: 41px; margin-top: 10px; width: 220px; }

    h1.logo a {

    background: url(../images/logo-ar.png) no-repeat left;

    display: block;

    height: 41px;

    width: 220px;

    }

    /* Logo Text ---*/

    div.logo-text h1 a {

    font-weight: bold;

    letter-spacing: 1px;

    text-decoration: none;

    }

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

This topic contains 9 replies, has 2 voices, and was last updated by  stator86 12 years, 11 months ago.

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