Logo on the multilingual site
October 2015 Joomla Template
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Thu Dec 08, 2016 5:27 pm
- Reply with quote
- Report this post
Hi!
How to change the logo on the multilingual site with falang (News refreshed)
Regards
Joachim
How to change the logo on the multilingual site with falang (News refreshed)
Regards
Joachim
-
- Senior Boarder
- teitbite
- Tue Dec 13, 2016 1:45 pm
- Reply with quote
- Report this post
Hi
Depends what method You are using. If it's css logo than You may simply overwrite css with url to different logos:
If it's an image option than a change to /layout/blocks/logo.php will be required:
Depends what method You are using. If it's css logo than You may simply overwrite css with url to different logos:
- Code: Select all
html[lang="pl"] #gkLogo {
background-image: url(path_to_image/logo_pl.png);
}
html[lang="en"] #gkLogo {
background-image: url(path_to_image/logo_en.png);
}
If it's an image option than a change to /layout/blocks/logo.php will be required:
- Code: Select all
<?php
switch( $this->API->get('lang') ):
case "en-GB":
$logo_image = 'logo_en.png';
break;
case "pl-PL":
$logo_image = 'logo_pl.png';
break;
endswitch;
?>
-
- Moderator
2 posts
• Page 1 of 1