-
AuthorPosts
-
cohibadad Friend
cohibadad
- Join date:
- November 2011
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 8, 2012 at 8:23 pm #181279I have a multilingual website setup based on JA Social. And it works great! I just need to be able to change the logo image based on each language. How would I do that?
Thanks,
Darin
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
cohibadad Friendcohibadad
- Join date:
- November 2011
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 9, 2012 at 11:51 pm #469571<em>@HeR0 341586 wrote:</em><blockquote>Hi Cohibadad
Pls try to edit condition in file templates/ja_social/blocks/header.phpRegards,</blockquote>
I’m sorry. I don’t understand what condition to edit in header.php
Thanks,
Darin
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
October 10, 2012 at 4:04 am #469590Hi
Example:
Youe replace
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
to
<h1 class="logo" >
<a href="index.php" title="<?php echo $siteName; ?>" style="background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/logo-<?php echo $this->language ?>.png) no-repeat left center; display: block; height: 80px; width: 220px;"><span><?php echo $siteName; ?></span></a>
</h1>
Then change name logo to logo-en-gb.png ( en language ), logo-language-code.png with language-code active.
Hope this way can help you!Regards,
2 users say Thank You to HeR0 for this useful post
cohibadad Friendcohibadad
- Join date:
- November 2011
- Posts:
- 15
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 10, 2012 at 4:57 pm #469676<em>@HeR0 341679 wrote:</em><blockquote>Hi
Example:
Youe replace<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>to
<h1 class="logo" >
<a href="index.php" title="<?php echo $siteName; ?>" style="background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/logo-<?php echo $this->language ?>.png) no-repeat left center; display: block; height: 80px; width: 220px;"><span><?php echo $siteName; ?></span></a>
</h1>Then change name logo to logo-en-gb.png ( en language ), logo-language-code.png with language-code active.
Hope this way can help you!Regards,</blockquote>
That worked perfectly. Thank you so much.
Darin
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by cohibadad 12 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum