WordPress.org

Support

Support » Themes and Templates » Help Understanding Alignment Issue WPFolio

Help Understanding Alignment Issue WPFolio

  • http://www.artbydonnamarie.com/ill-find-my-way/

    I can’t figure out why images (approx 500px) inside a post are displaying as aligned center. I have them set to alignment none, and I can’t find anything in the CSS (.img, img.size-large, img.aligncenter, .entry .alignnone or div.entry) that would account for it. In case this is a clue… I have them linking to the full-size img in a new window. It seems kind of unusual that the post img link is active across the width of the entire div.entry. BTW, the text that describes the image, which sits below the image, is aligning left!
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    The .alignnone class is styled to be centered — seems kinda weird, I agree.
    Line 245 of style.css file:

    }
    .entry .alignnone{
    	display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    Remove the .alignnone from the img tag — and it moves to the left.

    The below text is in a p tag– which is by default aligned left.

    Thank You!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help Understanding Alignment Issue WPFolio’ is closed to new replies.
Skip to toolbar