*

wifimasters

  • **
  • 18 posts
  • No pain, no gain!
Add Company Logo in Mobile View
« on: August 18, 2017, 10:16:29 AM »
Dear Support,

Kindly advice on how to add the company logo in the mobile view or version of the page.

Instead of the text "mySite.com", we replace with our small logo.

Mobile view below;
https://mb-themes.com/209-thickbox_default/veronika-osclass-flat-premium-theme-full-responsive-live-search.jpg

Thanks in advance.

*

iTroll

  • ***
  • 48 posts
Re: Add Company Logo in Mobile View
« Reply #1 on: August 18, 2017, 11:32:40 AM »
Interesting! Is posibile to do death but we don't know how, in the Veronika theme you can only put logo in desktop view, we don't have in theme option to put logo in mobile view, only text logo. How can we arrange that?

*

MB Themes

Re: Add Company Logo in Mobile View
« Reply #2 on: August 18, 2017, 11:38:57 AM »
@wifimasters
In file:
/oc-content/themes/veronika/header.php

Find line:
Code: [Select]
        <a class="logo-text is767" href="<?php echo osc_base_url(); ?>"><span><?php echo osc_get_preference('logo_text''veronika_theme'); ?></span></a>

Replace:
Code: [Select]
<?php echo osc_get_preference('logo_text''veronika_theme'); ?>
With your logo, like:
Code: [Select]
<img src="http://www.mysite.com/mylogo.jpg"/>
you may need to update css styles according to this change
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wifimasters

  • **
  • 18 posts
  • No pain, no gain!
Re: Add Company Logo in Mobile View
« Reply #3 on: August 19, 2017, 07:20:59 PM »
Thanks @Frosticek, will try this and get back to you.

*

Sony

  • ***
  • 35 posts
Re: Add Company Logo in Mobile View
« Reply #4 on: September 20, 2017, 02:46:02 AM »
@frosticek

please provide the css code to automatically adjust the image in the mobile version referring to the id!


id=header-bar


*

MB Themes

Re: Add Company Logo in Mobile View
« Reply #5 on: September 20, 2017, 10:52:02 AM »
@Leandro
width:auto;max-width:100%; ?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

annunci

  • ***
  • 60 posts
Re: Add Company Logo in Mobile View
« Reply #6 on: September 20, 2017, 12:27:49 PM »
But when you say, add the CSS code, you mean to add it in the last line of the style. css file or do I have to look for the line you say?
 

*

Sony

  • ***
  • 35 posts
Re: Add Company Logo in Mobile View
« Reply #7 on: September 20, 2017, 05:59:21 PM »
@frosticek

When I put a logo on the mobile version, it doubles in the desktop version ...

*

MB Themes

Re: Add Company Logo in Mobile View
« Reply #8 on: September 20, 2017, 07:56:45 PM »
@Leandro
Well you need to fix it via css to hide it on desktop.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sony

  • ***
  • 35 posts
Re: Add Company Logo in Mobile View
« Reply #9 on: September 20, 2017, 09:11:20 PM »
@frosticek
how to proceed with the code via css to block the duplicity of the logo

*

MB Themes

Re: Add Company Logo in Mobile View
« Reply #10 on: September 21, 2017, 12:22:42 PM »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Add Company Logo in Mobile View
« Reply #11 on: October 02, 2017, 12:23:50 PM »
Simply, Just use a responsive logo of the theme.
you will not need to use any CSS code.

 8)

Re: Add Company Logo in Mobile View
« Reply #12 on: October 07, 2017, 11:49:40 PM »
Simply, Just use a responsive logo of the theme.
you will not need to use any CSS code.

 8)

Please can you screenshot how you arrange your own code so i can do it like that pls i dint get it

*

Dawid

  • ****
  • 149 posts
Re: Add Company Logo in Mobile View
« Reply #13 on: December 10, 2017, 08:29:34 PM »
Simply, Just use a responsive logo of the theme.
you will not need to use any CSS code.

 8)


very easy :)


<div class="left-block">
      <div class="logo is767">
        <a class="resp-logo" href="<?php echo osc_base_url(); ?>"><?php echo logo_header(); ?></a>
      </div>