1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Alignment of Ads on Sidebar is Not Correct

Discussion in 'WordPress' started by gcswebs, Mar 6, 2012.

  1. #1
    Hi

    I need to fix the alignment of my 88sport logo gif file here: www.footballextras.net at right side bar, please tell me the exact code how to adjust it to centre from sidebar.php
     
    gcswebs, Mar 6, 2012 IP
  2. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Just me or is the link provided not working? Page never loads for me.
     
    AlohaThemes.com, Mar 11, 2012 IP
  3. gcswebs

    gcswebs Member

    Messages:
    208
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    page is working fine, could you check that please
     
    gcswebs, Mar 12, 2012 IP
  4. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #4
    I could not get it to play nice with auto margins or text-align:center codes, but I was able to position it for you using a defined left margin. Here is the code:

    #container a img { margin-left: 100px !important; }

    Just add it to the bottom of your style.css file.

    Hope that helps. - Scott
     
    AlohaThemes.com, Mar 16, 2012 IP
  5. gcswebs

    gcswebs Member

    Messages:
    208
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    Its not working (
     
    gcswebs, Mar 19, 2012 IP
  6. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Try: #container a img { margin-left: 100px !important; float:left; display: block;}
     
    AlohaThemes.com, Mar 19, 2012 IP