• Hello.

    I have been using wordpress for the past 2 years with great success. I am currently designing themes for my clients too.

    Since the new version, I have a problem with my templates. The theme ADDS up a 3 pixels gap between my images (example morrowind-ro.com – you can see in the left area the gaps between images), even between my divs

    drjohnchar.com – the menu div comes after a 3 pixels gap. If I use clear:left, it adds the space.

    I have tried to start the theme from zero in this case, since I assume it’s a problem with the new release. I have created 30 themes in the past 6 months on the 2.9 series and had no issues at all.

    I would like to ask: is there ANYWAY in the code a setting that puts this 3 pixels padding? I have been desperately trying to solve this with absolutely no chance.

    Thank you in advance for any hints.

Viewing 1 replies (of 1 total)
  • Thread Starter wtricks

    (@wtricks)

    Since no one was able to guess my issue, I copied a section of my previous themes that worked. By placing:
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />

    instead of what twentyten has in header.php:
    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />

    I was able to solve the issue. Don’t know what css settings ruin my design, now I know how to bypass this. Maybe it’s gonna be useful to others too.

Viewing 1 replies (of 1 total)
  • The topic ‘3 pixels gap between images and divs in themes’ is closed to new replies.