• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

css image alignment beautiful pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › css image alignment beautiful pro

This topic is: resolved
  • This topic has 5 replies, 3 voices, and was last updated 11 years, 8 months ago by Tony @ AlphaBlossom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 17, 2014 at 7:18 pm #124833
    rdg
    Member

    Hello,

    I recently switched to the beautiful pro themes (from wordpress default 2010 theme) on one of my blogs. I use images. Under the 2010 theme, images aligned left would be under each other and aligned on the same line. Now my images are jagged with the second image further to the right of the first image. I will link to an example of this behavior.

    Can someone explain to me how to fix this?

    http://weekendhomestead.net/posts/chicken-nest-boxes/
    September 17, 2014 at 10:09 pm #124841
    Tony @ AlphaBlossom
    Member

    Hello,

    Try adding this to your theme's style.css file:

    
    .wp-caption.alignleft, 
    .wp-caption.alignright {
        clear: both;
    }
    

    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    September 17, 2014 at 10:09 pm #124842
    jbergen
    Member

    Hi,

    I think what you need to do is add clear: both; to your floating images. You can add this rule to style.css, line 734 like so:

    a.alignleft, img.alignleft, .wp-caption.alignleft {
        margin: 0px 24px 24px 0px;
        clear: both;
    }

    That will give you this:

    clear both

    Jamie


    Jamie @ Ladebug Studios

    September 17, 2014 at 10:11 pm #124844
    jbergen
    Member

    Tony's answer is better than mine. It does a better job of specifically targeting your images.
    Jamie


    Jamie @ Ladebug Studios

    September 18, 2014 at 11:46 am #124928
    rdg
    Member

    I went with Tony's solution. Thanks for your help.

    I am much happier with the way the page looks now.

    September 18, 2014 at 1:17 pm #124945
    Tony @ AlphaBlossom
    Member

    Thank you both! And happy to be of help!


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘css image alignment beautiful pro’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble