Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Where and how to change the url link at the logoposition
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Where and how to change the url link at the logoposition

Where and how to change the url link at the logoposition 6 years, 1 month ago #27765

Can I know where and how to update the url link at the logo position. I want to create a link which link to the home page when user click at the logo. Thanks.

Re: Where and how to change the url link at the logoposition 6 years, 1 month ago #27776

  • thuyltt
Dear sir,
In our template, we have link of logo to link to home page, but now it has some issue with joomla 3.5, did you update your site joomla 3.5?

Thanks.

Re: Where and how to change the url link at the logoposition 6 years, 1 month ago #27790

Hi,
Yes, I have updated my current site to 3.5. I have another demo version of joomla running 3.3.1 with the same template it is fine. Is there a way to update on the script itself?

Thanks

Re: Where and how to change the url link at the logoposition 6 years, 1 month ago #27810

  • thuyltt
Dear Sir,

Please go to plugins\system\yt\includes\site\lib\yt_template.php find code:
<a class="logo" href="" title="<?php echo $app->getCfg('sitename'); ?>">
<img data-placeholder="no" src="<?php echo $url; ?>" alt="<?php echo $app->getCfg('sitename'); ?>" style="<?php echo $logoWidth. $logoHeight ?>" />
</a>
=> edit to:
<a class="logo" href="<?php echo $this->baseurl();?>" title="<?php echo $app->getCfg('sitename'); ?>">
<img data-placeholder="no" src="<?php echo $url; ?>" alt="<?php echo $app->getCfg('sitename'); ?>" style="<?php echo $logoWidth. $logoHeight ?>" />
</a>

Thanks & regards!
  • Page:
  • 1
Time to create page: 0.39 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes