Advertisement:

Author Topic: as added banner to the left and right  (Read 1662 times)

fredy

  • Newbie
  • *
  • Posts: 2
as added banner to the left and right
« on: April 15, 2015, 04:27:39 am »
hello friends I have a problem I want to edit, and place a banner on the left and right side I've tried but can not find where to start attached image
thank you very much I hope you can help me

Akhim

  • Newbie
  • *
  • Posts: 34
Re: as added banner to the left and right
« Reply #1 on: April 20, 2015, 12:15:35 am »
Hi Fredy,

Try adding the following code on main php from line 46-50 between </div> on line 46 and <?php } ?>


code:

<div id='sidebar'>
                <div id="advert" href="contact" style="background-color:rosybrown; position:absolute;left: -180px; top: -550px; position: relative;width: 120px;height: 300px;"> Advertisement </div>
                <div id="advert" href="contact" style="background-color:thistle; position:absolute;right: -1020px; top: -850px; position: relative;width: 120px;height: 300px;"> Advertisement </div>
               

This will put 2 colored banners on the left and right respectively. You can adjust the size, color and position as you want. you can also try to duplicate as in your photo.
As for adjusting the position of your sidebar, that will be found in the bootstrap mini-css.

Regards