• 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

Messed Up My Site – Foodie Theme

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 › Messed Up My Site – Foodie Theme

This topic is: not resolved
  • This topic has 11 replies, 4 voices, and was last updated 11 years, 7 months ago by thefrugalmom.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • January 12, 2015 at 12:12 pm #137211
    thefrugalmom
    Member

    In an attempt (or desperate plea) to center the images (when viewing from home page), I changed something and I don't know what!

    Here are the things I'd like to fix:
    1. Remove the text from the left side of the image. I would like text to show up under image.
    2. Center the images on the home screen.

    Thanks for your assistance!

    http://thefrugalmom.net
    January 12, 2015 at 12:48 pm #137215
    masonjarsalads
    Member

    I think it's because your pictures are smaller on those posts, that happened to one of mine too.

    January 12, 2015 at 4:49 pm #137253
    thefrugalmom
    Member

    No, because the pictures were centered before I messed it up. :/

    January 13, 2015 at 12:57 pm #137348
    Jodi P
    Member

    I'm seeing the alignleft class assigned to your images on the home page. Can you go into your post editor and click on the image and when the toolbar pops up double check that you've assigned no alignment.

    January 13, 2015 at 2:49 pm #137360
    thefrugalmom
    Member

    The images are centered when viewing the individual post. It's just the home page that displays all images to the left. I use grid loop...

    January 14, 2015 at 6:22 am #137424
    Carlo
    Member

    Hi Dawn. Go into your Genesis theme settings and the section 'Content Archives'. Have you selected Image Alignment none?


    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 2:24 am #137517
    thefrugalmom
    Member

    Yes, it is set to none. :/

    January 15, 2015 at 9:11 am #137536
    Carlo
    Member

    Hi Dawn. I think I figured it out. It's because you said this:

    I use grid loop…

    The grid loop forces images to align to the left. But I think you should be able to change that, by adding the following code to your theme functions:

    add_filter( 'genesis_grid_loop_args', function( $args ) {
    	$args[ 'grid_image_class' ] = '';
    	return $args;
    } );

    Let me know if that works.


    Comprehensive, easy to follow Genesis documentation

    January 15, 2015 at 9:49 am #137545
    thefrugalmom
    Member

    I added this to functions, then cleared my cache. The images (from home page) are still aligned to the left.

    January 15, 2015 at 9:58 am #137548
    thefrugalmom
    Member

    Is there a way to change the image class? I am no where near as experienced as some of you, but I see this when I click on "inspect element":

    Image 2?

    It shouldn't say align left. Everything I have checked is align "none" or "center" (or so I thought)

    January 18, 2015 at 11:46 am #137861
    Carlo
    Member

    Hi Dawn. Sorry the code didn't work. Try this:

    add_filter( 'genesis_grid_loop_args', function( $args ) {
    	$args[ 'grid_image_class' ] = 'aligncenter';
    	$args[ 'feature_image_class' ] = 'aligncenter';
    	return $args;
    } );

    Comprehensive, easy to follow Genesis documentation

    January 20, 2015 at 3:53 am #138021
    thefrugalmom
    Member

    That doesn't seem to work either. I took off

    add_filter( 'genesis_grid_loop_args', function( $args ) {
    $args[ 'grid_image_class' ] = '';
    return $args;
    } );

    and added


    add_filter( 'genesis_grid_loop_args', function( $args ) {
    $args[ 'grid_image_class' ] = 'aligncenter';
    $args[ 'feature_image_class' ] = 'aligncenter';
    return $args;
    } );

    then deleted cache. No luck. :/

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 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