test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • daimondd Friend
    #162169

    Is it possible to have multiple logos for multilingual sites? I would like to use two versions of the same logo (for each language)

    Thanks

    Saguaros Moderator
    #384691

    1) logo for language you open the file; templatesja_rasitelayoutsblocksheader.php and find:

    [PHP]
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    [/PHP]

    replace by:

    [PHP]
    <h1 class=”logo logo-<?php echo $this->language ?>”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    [/PHP]

    when done you will make the following css for the logo ( << for example)

    h1.logo-it-it a {
    background: url(“../images/logo-it.png”) no-repeat scroll left center transparent!important;
    }

    2) with multiple sites: Follow me: you try to replace these code by:

    [PHP]<h1 class=”logo logo-<?php echo $this->language ?>”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>[/PHP]

    by:
    [PHP]
    <div class=”mylogo”>
    <jdoc:include type=”module” name=”my-logo” />
    </div>
    [/PHP]
    when done, the template will have a new position named is “my-logo“.
    Now you will create n custom modules and put n logos and they will be used for n sites.
    To make them displaying with each language , you can use the translation of the joomfish to complete the work.

    and add the following code into the template.css file:

    .mylogo {
    float: left;
    height: 180px;
    width: 200px;
    }

    ( you can adjust the height and width for fitting with your logo)
    Thanks

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 13 years, 9 months ago.

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