Advertisement:

Author Topic: Modern Logo not clickable  (Read 2308 times)

michinom

  • Newbie
  • *
  • Posts: 5
Modern Logo not clickable
« on: November 02, 2013, 01:30:16 pm »
Is there a way to make the logo of the modern theme link to the homepage? Right now it is a static image

cofst

  • Newbie
  • *
  • Posts: 17
Re: Modern Logo not clickable
« Reply #1 on: November 02, 2013, 05:45:15 pm »
Edit header.php in folder <root>/oc-content/themes/modern/

Find :
Code: [Select]
<div class="container">
<!-- header -->
<div id="header">
    <?php echo logo_header(); ?>
    <div id="user_menu">


Add the link between <?php echo logo_header(); ?>, like this :

Code: [Select]
<div class="container">
<!-- header -->
<div id="header">
    <a href="<?php echo osc_base_url(); ?>"><?php echo logo_header(); ?></a>
    <div id="user_menu">
« Last Edit: November 02, 2013, 09:21:09 pm by cofst »

BC-TEAM

  • Sr. Member
  • ****
  • Posts: 376
  • Outstanding Expert of Online Marketplaces
Re: Modern Logo not clickable
« Reply #2 on: November 02, 2013, 05:54:25 pm »
Code: [Select]
<a href="<?php echo osc_base_url(); ?>"><?php echo logo_header(); ?></a>

michinom

  • Newbie
  • *
  • Posts: 5
Re: Modern Logo not clickable
« Reply #3 on: November 03, 2013, 05:46:54 pm »
Thanks so much! :)

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Modern Logo not clickable
« Reply #4 on: November 06, 2013, 07:15:11 pm »
Hi mochinom,

If you are using the latest version of Modern theme (3.0.2) it's already fixed.

You can update it from oc-admin -> Market -> Themes

Regards

michinom

  • Newbie
  • *
  • Posts: 5
Re: Modern Logo not clickable
« Reply #5 on: November 07, 2013, 01:31:44 am »
Hi mochinom,

If you are using the latest version of Modern theme (3.0.2) it's already fixed.

You can update it from oc-admin -> Market -> Themes

Regards

Hi garciademarina,

Thank you!, But will updating the theme overwrite any changes I have made to the code? I have edited many lines of code and also the stylesheet, so I would probably lose those right?

What updates were made to modern other than the logo?

Many thanks

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Modern Logo not clickable
« Reply #6 on: November 07, 2013, 11:28:18 am »
Hi @michinom,

Quote
But will updating the theme overwrite any changes I have made to the code?

Yes you will lose any change made.

Basically I added the functionality to attach files to the contact seller form. There is the option to enable it from admin panel -> Listings -> Settings, [Allow attached files in contact publisher form]