Problem with text wrapping in wordpress theme

Discussion in 'HTML & Website Design' started by Crispy Ste, Jun 13, 2010.

  1. #1
    Can anyone help? Thankyou in advance if you can.

    Ok, here's the site: http://fattyres.co.uk

    It's a wordpress powered site. The problem I have is the text wrapping on the main page. The actual text is fine, but the images and route tags overshoot the edge of their column and seem to wrap underneath the ad bar. In some cases this causes them to appear further down the page, in completley the wrong place.

    The problem is evident in IE, but even more so in Firefox.

    Can anyone help?

    Again, thanks in advance.

    Ste
     
    Crispy Ste, Jun 13, 2010 IP
  2. meloncholy

    meloncholy Peon

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your main content div is too wide with the ad bar present, so some of your content is being forced down the page below the ads.

    You have this line in routestyle.css

    
    #content  { margin-right:250px !important; }
    
    Code (markup):
    Get rid of it and your site will use use this line from style.css instead (presumably designed for the ad bar?)

    
    #content  { margin-right:400px; }
    
    Code (markup):
    This is a much healthier width :) and fixes the problem in Firefox. If you still have issues in other browsers, try increasing the right margin a fraction, maybe to 410px or 420px, until it works.

    Hope that helps.
     
    meloncholy, Jun 13, 2010 IP
  3. Crispy Ste

    Crispy Ste Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thats great! Thanks so much.

    It turns out routestyle.css is style sheet added somebody else I let have access to my site. I wasn't even aware until now.

    Cheers, problem solved.
     
    Crispy Ste, Jun 13, 2010 IP