*

Daniel Petre

  • ***
  • 56 posts
Managing ads from Theme settings elena
« on: June 16, 2018, 07:25:57 PM »
I want to enter the Theme settings in the settings as in the bender theme for example in the panel administration banner advertising areas.
In admin settinging I added attach code to post
and css code:
.ads_300,.ads_728,.ads_468{background-color:#FDF6E5;display:block;margin:15px 0}
.ads_300{width:300px;min-height:250px}
.ads_728{width:728px;min-height:90px}
.ads_468{width:468px;min-height:60px}
.ads_header{width:728px;margin-left:auto;margin-right:auto;padding:10px 0px 10px 0px}
.ads_header,.ads_300,.ads_728,.ads_468{display:none}

In the header page I've entered:
    <!-- header ad 728x60-->
    <div class="ads_header">
    <?php echo osc_get_preference('header-728x90', 'elena'); ?>
    <!-- /header ad 728x60-->

I do not know how and where to set the areas where ads will appear or what exactly I have to do.
Can you help me please.


« Last Edit: June 17, 2018, 11:21:07 PM by Daniel Petre »

*

MB Themes

Re: Managing ads from Theme settings elena
« Reply #1 on: June 16, 2018, 09:39:02 PM »
You can put adsense code to item.php
Personally I do not recommend to put more than 1 banner as it impact user experience in very negative way.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel Petre

  • ***
  • 56 posts
Re: Managing ads from Theme settings elena
« Reply #2 on: June 17, 2018, 10:15:03 AM »
thank you for the advice
Ok but how do I manage to put in the admin panel
It's easier not to go into the cPanel when I change my ad every time.
I fail to make the code work and I do not know how to define the area where the code will appear.
Can you help me please.

*

MB Themes

Re: Managing ads from Theme settings elena
« Reply #3 on: June 17, 2018, 01:23:01 PM »
Elena theme does not have such functionality, you can look on Banner Ads or Advertisement Manager plugins.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel Petre

  • ***
  • 56 posts
Re: Managing ads from Theme settings elena
« Reply #4 on: June 17, 2018, 05:36:40 PM »
Thank you
I will still try to create a space from the admin panel so that a banner300 * 250 to appears on the ad detail page.
If you can help me thank you

*

MB Themes

Re: Managing ads from Theme settings elena
« Reply #5 on: June 17, 2018, 05:59:39 PM »
Sure you can, but such feature is not on plan from our side.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel Petre

  • ***
  • 56 posts
Re: Managing ads from Theme settings elena
« Reply #6 on: June 17, 2018, 11:19:59 PM »
Thank you but they are not what I needed.
I managed to make the code so now in the admin panel I can set the ad to appear on any page of the web site.
Solved.