WordPress.org

Ready to get started?Download WordPress

Forums

New theme, made it so I can't left/right justify images (5 posts)

  1. bordercuppy
    Member
    Posted 3 years ago #

    I installed a new theme on my blog (http://www.borderhouseblog.com) and after installing, I can no longer justify images left or right and have the text wrap around the images. It also made it so that any old posts that were justified like this are now broken. Now images always have to be on their own line and cannot have text wrap around them, regardless how I format them in the post editor.

    The theme is Simplo by Site5.

    Is there something I can add to my CSS that will make this work again? If you tell me what to add and what file I am techie enough to do that :)

    Thanks!

  2. Frumph
    Member
    Posted 3 years ago #

    it appears that theme is missing .aligncenter {} .alignright and .alignleft {} CSS

    .aligncenter {
    	margin: 0 auto;
    	display: block;
    }
    
    .alignright {
    	margin: 10px 0 10px 10px;
    	display: inline;
    	float: right;
    }
    
    .alignleft {
    	margin: 10px 10px 10px 0;
    	display: inline;
    	float: left;
    }

    If you want to add that to your stylesheet and give it a try.

    If it does, notify the theme maker please. Since it's not on the theme repository (at least I can't find it) then it probably didn't go through the review process to verify themes.

  3. bordercuppy
    Member
    Posted 3 years ago #

    Hm, that didn't seem to work. I added in in my style.css file...does it have to go somewhere in specific? I'm so frustrated. =(

  4. rbeldham
    Member
    Posted 3 years ago #

    Try wrapping the images in paragraph tags, this allowed me to center my images but I don't believe it will help with your text wrapping issue.

  5. keeperbay
    Member
    Posted 3 years ago #

    Did you ever figure it out?

    I'm using the qwilm-03 theme and I'm having a similar issue, all the images left justify. I can't get the text to to wrap around the images also I can't get the pictures to right justify or center.

    Here is an example. The picture should either be on the right or the text should be beside the image.
    http://i298.photobucket.com/albums/mm256/barefootmarket/leftjustifying.png

Topic Closed

This topic has been closed to new replies.

About this Topic