Support will be limited from 22.05.2019 till 26.05.2019

We will answer all the questions from that period after we get back on 27.05.2019.

Have a great rest of May ;-)
Apollo13Themes Team
Before you ask please READ THIS

logo link to different home page

in Rife Posts: 42
Hi,
logo links to the home page of the site. When i want use another link i pase this code:
jQuery(window).load(function(){
jQuery(".sfm-logo > a").attr("href", "http://your-url.com/");
});

but do you have any idea how can I link to different language versions?
For example, when I am on a German language version, the logo should link to home page german, not to my native Polish.

Comments

  • AirAir
    Posts: 9,802
    Hey :-)

    If you are making custom JavaScript solution, then you will have to somehow get the country code and add it at end of this link.

    You can try to add this code
    jQuery('html').attr('lang').substr(0,2) - it retruns first 2 letters of language code.

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion