WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jeffwitt
    Member
    Posted 1 year 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
    http://purenergypro.com/products/active-technology-products/

    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. alchymyth
    Forum Moderator
    Posted 1 year ago #

    in style.css of your theme find:

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

    and

    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