WordPress.org

Ready to get started?Download WordPress

Forums

Spacing between image and text (5 posts)

  1. rileycentral
    Member
    Posted 6 years ago #

    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

  2. shadow
    Member
    Posted 6 years ago #

    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.

  3. rileycentral
    Member
    Posted 6 years ago #

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

  4. rileycentral
    Member
    Posted 6 years ago #

    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;}

  5. shadow
    Member
    Posted 6 years ago #

    All sorted now then it seems :)

Topic Closed

This topic has been closed to new replies.

About this Topic