WordPress.org

Support

Support » Themes and Templates » Spacing between image and text

Spacing between image and text

  • rileycentral
    Member

    @rileycentral

    I’ve never had a problem with a theme doing this until now. Using Saur (newly released theme) The horizontal spacing entered in the WP Write editor doesn’t show in the theme. I’ve tried placing code in the CSS to no avail. Can anyone help me sort this through? So far haven’t head back from Saur’s author. Thank you!

    Check out an image in a post on my site.

    Damien

Viewing 4 replies - 1 through 4 (of 4 total)
  • shadow
    Member

    @shadow

    Try something like .entry img {margin: 5px;} in your CSS.

    If you only want horizontal spacing next to your image just make it it left /right specific.

    rileycentral
    Member

    @rileycentral

    bump. anyone? A little more specific would help. Like where to put it?

    rileycentral
    Member

    @rileycentral

    Thanks Shadow . . . it just didn’t seem to work where I put it which was in the content area:

    (note last line)

    div#container {
    float: left;
    margin: 0 0 0 4em;
    width: 620px;
    background: #f3f1e9 url(‘images/dash.gif’) repeat-y scroll top right;
    }
    div#content {
    margin: 0;
    padding-right: 20px;
    }

    div.entry-content p {
    line-height: 130%;
    }

    .entry img {margin: 5px;}

    All sorted now then it seems 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Spacing between image and text’ is closed to new replies.