WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to make images/text in posts displayed as 'block"? (5 posts)

  1. blazeitup
    Member
    Posted 7 years ago #

    I use theme called dottedart 1.0 and i love it but i want text in posts begin below the image
    i tried to add display:block; to the style.css, i made separate class for post images and nothing helps

    any help

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    We need a link to your page so we can actually see what you're talking about and what you're trying to do.

  3. blazeitup
    Member
    Posted 7 years ago #

    here's the link, i made a post to explain what i mean

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    This bit of code in your CSS:

    .item_class img, #blog_comm img{
    	float: left;
    	margin:5px;
    }

    That's what's making those images float left (and thus causing the wrapping). Specifically, ".item_class img" is defining that float property for the image.

    I'd just comment out that particular float:left; and see if that fixes it.

  5. blazeitup
    Member
    Posted 7 years ago #

    hah, it works, thanks a lot ;)

Topic Closed

This topic has been closed to new replies.

About this Topic