Images Inside of Pages are all aligning left by default (2 posts)

  1. jeffwitt
    Posted 3 years ago #

    I am creating a products page for a client of mine and whenever I input the images, I upload them all with the "none" alignment. After uploading all of the images they all show up 1 by 1 vertically , not in a block format. urrghh

    This is the page

    Can someone help me with this? I have pasted my css below.

    [CSS code moderated - the css is accessible from the link to your site - for posting code in general, see http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    in style.css of your theme find:

    .alignnone {
    	margin: 5px 20px 20px 0;
    	display: block;


    img.alignnone {
    	clear: both;
    	display: block;
    	overflow: hidden;

    remove display: block; from both, and remove clear: both;

    using a tool such as Firebug http://getfirebug.com/ might help to deal with these kind of fundamental formatting issues.

Topic Closed

This topic has been closed to new replies.

About this Topic