• 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

Align featured image of category archive

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 › Align featured image of category archive

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 13 years, 6 months ago by robkhoo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 14, 2013 at 7:31 am #11802
    robkhoo
    Member

    Hi guys,

    Wondered if anybody knew how to do this.

    I want to align the images (currently left) for my category archives pages to the right. This would include any archive pages I have also for some custom post types too.

    Look forward to hearing back

    Thanks guys

    January 14, 2013 at 9:54 am #11841
    Jon Bellah
    Member

    Please provide a link to your site. This is generally just a matter of changing your float from float:left; to float:right;, but I could be more specific if you give a link.


    Follow me on the Twitters at @JonBellah. I blog about web design, development and a lot about Genesis at CSSForge.com

    January 15, 2013 at 7:34 am #12029
    robkhoo
    Member

    Sure Jon - Thanks for the reply!

    The example here is of a custom post type I want to apply the right image alignment to: http://nagoya-info.com/restaurants/

    January 15, 2013 at 9:39 am #12053
    Jon Bellah
    Member

    Although it's a little counter-intuitive to the name of the class, in your style.css find the img.aligneft property and change it so that it reads:

    img.alignleft {
    	display: inline;
    	margin: 0 10px 10px 0;
    	float: right;
    }
    

    Follow me on the Twitters at @JonBellah. I blog about web design, development and a lot about Genesis at CSSForge.com

    January 15, 2013 at 5:22 pm #12150
    robkhoo
    Member

    Hi Jon
     

    Will this css change affect all images aligned to the left?

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and 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