Hello, I want to put a Google Adsense banner in the HTML body. The banner is to the left of the Gallery box be.
I have Gallery3 with the 'Theme Clean Canvas Dark' without 'fixed width'.
I have already tried just with a <div float:right>adsense-block</div> Set directly after the <body>, but then he pushes the content in the Gallery box down.
Posts: 27300
Without seeing the results it is hard to tell. I suspect you are adding the <div> before the content of the Gallery <div> and suspect you want the adsense <div> inside the <div> that the theme renders.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
I have write the adsesne <div> in the
/themes/clean_canvas/views/page.html.php
after
<body <?= $theme->body_attributes() ?>>
befor
<?= $theme->page_top() ?>
<? if (module::get_var("theme_clean_canvas", "wide")): ?>
<div id="doc3" class="yui-t5 g-view">
the first <div>.
The adsense is in the outside from the Gallery-Block, on the left side. In the Gallery-Block is under the header, in the main, as much empty space as the adsense is long in the main.
Posts: 27300
I'm still not understanding without actually seeing the results. or a screenshot of what your after would help me understand.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
Hi dave,
i use this html code in the /themes/clean_canvas/view/page.html.php:
please see in the attachment the result. (I have the description over the thumbs in the albums.)
Posts: 27300
I would need to see the page to help more. I understand this issue now.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
Here is a solution: galleryproject.org/node/113197