Need help with a wordpress template

Discussion in 'WordPress' started by MidwestMerchant, Jun 15, 2007.

  1. #1
    Hey everyone. I am trying to add a banner to my wordpress theme but having much difficulties. I want to use an up-and-down (120x600) add to appear in the small amount of open space that's left on the far right of my page...When looking in the sidebar.php I noticed there are two "div class="sidebar" sections..one includes categories & archives...and the other includes search & meta..I have tried adding some code sort of like "<div align="right""..before/after and inbetween these other two div sections but cannot get the banner to display nicely. It always seams to disrupt the other div classes..does anyone know where I would want to add this banner code and how I would want to add it so it will display nicely on the far right without disturbing the current div classes?? I hope this makes sense :\
     
    MidwestMerchant, Jun 15, 2007 IP
  2. MidwestMerchant

    MidwestMerchant Banned

    Messages:
    804
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Also..here is the current sidebar.php code

    That is the whole sidebar.php without me trying to add in the code for the banner I want to add..
     
    MidwestMerchant, Jun 15, 2007 IP
  3. thatedeguy

    thatedeguy Peon

    Messages:
    176
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Does one of the sidebars already display on the right or are they both on the left? One issue I see is that they are both using the same div class. What I would try is to copy the div class "sidebar" and pasting it in as "sidebar2" then adding a float: right; in the section. This is all done in the css btw.
     
    thatedeguy, Jun 15, 2007 IP
  4. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Wait a minute!! Isn't that the hard way?
    Your blog appears to be widget ready, why not just take the code of the banner, place it in a text box widget, place it and save. Done!
     
    hmansfield, Jun 15, 2007 IP