*

Daniel PM

  • ****
  • 111 posts
Banner locations
« on: June 12, 2016, 08:33:30 AM »
Hello frosticek, I would like to know in what php file do I need to add <?php echo show_banner(1); ?> for the banner that I just created and inserted in a banner group.

Is there a map of locations for Zara theme? or the theme will automatically adjust the banner? what I mean is, how can I know where to put an horizontal banner and where to put a vertical one? left side, right side?

Thanks.  :)
Daniel PM

*

MB Themes

Re: Banner locations
« Reply #1 on: June 12, 2016, 02:46:18 PM »
@Daniel PM
That is just on you, you can specify your own place for banners.
If you are not sure into which file you should look, let me know.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel PM

  • ****
  • 111 posts
Re: Banner locations
« Reply #2 on: June 14, 2016, 04:31:58 AM »
Hello frosticek, I have managed to finally show a banner in main page, putting the id banner at the bottom of footer.php - I will continue to explore how to put one in item.php and so on.

Is there a code that can disable showing non responsive website banners in mobile theme? because I haven't figure it out yet how to make responsive banners, so, if I place a 728x90, the mobile theme goes nuts horizontally, because the banner is not responsive.

Thanks for reading this question.  :)
Daniel PM

*

MB Themes

Re: Banner locations
« Reply #3 on: June 14, 2016, 08:03:39 AM »
@Daniel PM
You could define this only in banner settings (code to add before):
Code: [Select]
<style>
  @media screen and (mmin-width: 767px) {
    #selector {display:none;}
  }
</style>

Where #selector is unique selector of banner (you can place it to some div, i.e. <div class="banner-not-responsive"></div>, then selector would be .banner-not-responsive.
767px is minimum width when banner will be shown.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel PM

  • ****
  • 111 posts
Re: Banner locations
« Reply #4 on: June 16, 2016, 02:52:24 AM »
Hello, one question, <div class="banner-not-responsive"></div> would go in the php page or in the banner settings after or before?

Thanks!
Daniel PM

*

Daniel PM

  • ****
  • 111 posts
Re: Banner locations
« Reply #5 on: June 16, 2016, 03:43:19 AM »
I can't center the gif animated image  :(

I tried with <center> in before banner and </center> after banner, but no avail, what code I am missing? besides a good lesson in php?

Thanks.
Daniel PM

*

MB Themes

Re: Banner locations
« Reply #6 on: June 16, 2016, 08:53:18 AM »
@Daniel PM
<center> does not work, it is not supported.
use margin:auto approach without floating.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots