Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • colorstudio Developer
    #203495

    The link from all the pages to the home page of the website i i clic in the logo of the page do not goes anywhere (like a # link)
    if i try form the Home button works ok.

    what’s wrong?
    best regards,

    bwebdesign Friend
    #558352

    So if you click on the logo it goes to /#/? you can edit that in one of the template files. I don’t know where exactly for JA Biz maby someone else can help you with that. I will have a look at where you can change it.

    colorstudio Developer
    #558354

    the strange behavior is that in the demo site it works well

    bwebdesign Friend
    #558355

    maby the code is a little bit different from the demo. I just downloaded the quickstart to have a look

    bwebdesign Friend
    #558356

    If you go to templates–>ja_biz–>tpls–>blocks–>header.php that’s the place where you have to edit it. (around line 40) This is how it looks in my file:
    [PHP]<!– LOGO –>
    <div class=”logo logo-<?php echo $logotype ?>”>
    <a href=”<?php echo JURI::base(true) ?>” title=”<?php echo strip_tags($sitename) ?>”>
    <?php if($logotype == ‘image’): ?>
    <img class=”logo-img <?php if($logoimgsm) : ?> hidden-sm hidden-xs <?php endif ?>” src=”<?php echo JURI::base(true) . ‘/’ . $logoimage ?>” alt=”<?php echo strip_tags($sitename) ?>” />
    <?php endif ?>
    <?php if($logoimgsm) : ?>
    <img class=”logo-img-sm visible-sm visible-xs” src=”<?php echo JURI::base(true) . ‘/’ . $logoimgsm ?>” alt=”<?php echo strip_tags($sitename) ?>” />
    <?php endif ?>
    <span><?php echo $sitename ?></span>
    </a>
    <small class=”site-slogan hidden-xs”><?php echo $slogan ?></small>
    </div>
    <!– //LOGO –>[/PHP]

    If you want to edit the url you can change this line:
    [PHP]<a href=”<?php echo JURI::base(true) ?>”[/PHP]
    To:
    [PHP]<a href=”your_url”[/PHP]

    I think that the original code will work fine but if it doesn’t work for you i think this is the best solution

    colorstudio Developer
    #558357

    thanks very much!
    probelm solved

    bwebdesign Friend
    #558358

    Your welcome 🙂

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

This topic contains 7 replies, has 2 voices, and was last updated by  bwebdesign 9 years, 10 months ago.

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