Osclass Support Forums
Osclass plugin support => Advertisement Manager Plugin => Topic started by: max on January 02, 2016, 07:12:39 PM
-
hello, good 2016!
question:
the <?php echo show_banner(1); ?> what page I insert?
because the html code to insert is divided into 3 parts?
type in the banner image does not need any html code right?
I created the banner with his group with id number (1)
I associated with a category "Animali"
and I pasted code before the main and then I tried to footer page
but I do not see image banner
I also selected the correct image pixels
recommendations please
thanks
-
@max
Did not fully get you.
You can test association with categories very easily. Create 2 text banners and each associate with different category, but with same banner group. Then, if you show this group, in each category will be shown only correct text.
-
hi Michal!
....it's ok I skipped a passage : associates banner group
but 2 things I have not again resolved..
1) i insert:
Code Html Before:
<div align="center">
Code Html After:
</div>
Code Html Body:
banner
but the banner is to left :-\
2)Image Slider Banner
what code I enter?
the image the load in the "dashboard" and i can see it
I tried various codes but I see pieces of code along with the image on my site
thank you
-
@max
1) I do not think something like <div align="center"> exists and is correct
2) No code, you only upload images and show banner in front
-
ummm... ;D
1)that is, I can hit the banner with which code? "center" does not work..
2)I connected all categories and inserted in main code and 2 for all categories but the only banner photo is no, you see only a piece of code
ahaha look attachement
thank!
[attachment deleted by admin]
-
so you see all 2..
[attachment deleted by admin]
-
look
if I raise code I see nothing
[attachment deleted by admin]
-
@max
1) I use {float:none;margin:0 auto;width:100px;text-align:center;} ... but wrap that contains this one need to have fixed width
2) px256 --- this is not correct format for width or height. Correct is 256px
-
thank for px now ok! I had mistranslated ;D
but....I can not put the banner in the center, I tried many solutions..span, div ecc..on my forum php i insert only <center>...
you can write a complete code for example for the banner image
thanks
-
@max
That is something not related to this plugin, it is CSS code you need to do correctly. Thos styles are related to styles of your theme.
-
ah ok then I'm going to change the css
thanks
bye
-
@max
Later I will create example on jsfiddle.
-
@max
Later I will create example on jsfiddle.
ok thanks !
I set up a banner for different categories but I see them both on the home page! ::)
where is: jsfiddle?
thankyou
bye
-
@max
Of course you see it on homepage. What category is selected when you are on homepage? None, so why no category should be used in category filer? Does not make sense.
If you do not want to show banner on homepage, remove it from code.
Simply code to show block in center of different block:
https://jsfiddle.net/nzvhas8r/ (https://jsfiddle.net/nzvhas8r/)
-
with css I have not solved :(
but if I enter the pixels banner html, it moves where I want horizontally........ ::)
-
@max
Problem is if you use any theme (specially with bootstrap), those rewrite inherit styles for all existing elements and some basic things may not work.
-
Michal so that's okay, the mechanism works !
That's good for me ;D
thanks
-
@max
You mean code from jsfiddle demo?
-
@max
You mean code from jsfiddle demo?
no look this
[attachment deleted by admin]
-
@max
So everything is ok now?
-
yes all ok ;D!
-
@max
Cool ;)
-
I Michael
with the solution I found no good
The banner is fixed with the zoom page! :-\
I'm going crazy :P
If I analyze the site and do as in the picture, the banner focuses
but I do not know where to find the parameters on css
I have tried here:
advertisement_manager\css
banner-review.css
banner.css
style.css
but without success :'(
I put the following code in the footer:
<div align="center">
<?php echo show_banner(1); ?>
</div>
help me for the benefit of all
thank you :)
[attachment deleted by admin]
-
@max
You can place CSS code to theme css files to be sure it is loaded everytime.
-
@max
You can place CSS code to theme css files to be sure it is loaded everytime.
ok let me see how step by step please :D
it would be nice that the plugin center the banner! ;D
or at least bring a note of how to do
if the problems are many
then will watch the forums ;D ;D
-
@max
Plugin shows banner, styling is on you.
You can find few different ways on following links:
http://www.w3schools.com/css/css_align.asp
(http://www.w3schools.com/css/css_align.asp)http://stackoverflow.com/questions/114543/horizontally-center-a-div-in-a-div (http://stackoverflow.com/questions/114543/horizontally-center-a-div-in-a-div)
-
@max
Plugin shows banner, styling is on you.
You can find few different ways on following links:
http://www.w3schools.com/css/css_align.asp
(http://www.w3schools.com/css/css_align.asp)http://stackoverflow.com/questions/114543/horizontally-center-a-div-in-a-div (http://stackoverflow.com/questions/114543/horizontally-center-a-div-in-a-div)
Thanks i look if there is something that escapes me :-X
now I solved so:
<div style="text-align:center">
<div style="display:inline-block">
<?php echo show_banner(1); ?>
</div>
</div>
and the zoom function and I can decide the position of the banner, this like me!! ;D
-
@max
Cool ;)
-
and in which files embed code?
I can not figure out where to insert the code please tell me or give example
-
@rsn
Anywhere in theme files.
You have example when creating / editing banner group.