• 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

rfmeier

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 581 through 584 (of 584 total)
← 1 2 3 … 28 29 30
  • Author
    Posts
  • June 2, 2013 at 7:50 pm in reply to: eleven40 images inserted into page not responsive #43735
    rfmeier
    Member

    Hello,

    From a quick element inspect I noticed the caption box surrounding the images has an inline style width, e.g. style="width: 435px;".  This is preventing the images from scaling.  From within Chrome I was able to remove the inline style and the image within the caption box scaled properly.

    Hope this helps.


    Ryan Meier – Twitter

    June 2, 2013 at 3:57 pm in reply to: Display posts randomly on a blog page #43674
    rfmeier
    Member

    Hello,

    You can achieve this by using the WordPress 'pre_get_posts' action and modifying the main query.

    pre_get_posts http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts

    query object: http://codex.wordpress.org/Template_Tags/get_posts

    <!--?php <br ?-->
    add_action( 'pre_get_posts', 'display_random_posts' );
    function display_random_posts( $query ){
    
     // check for main query and home page
     if ( $query->is_home() && $query->is_main_query() ) {
    
     // set the order to random
     $query->set( 'orderby', 'rand' );
    
     }
    
    }
    
    ?>

    Here is the Gist https://gist.github.com/rfmeier/5695123

    Hope this helps.  Let me know how it turns out.


    Ryan Meier – Twitter

    June 2, 2013 at 3:43 pm in reply to: Fixing a header padding issue with Eleven40 responsive design #43672
    rfmeier
    Member

    MM,

    Is this still an issue?  I cannot seem to replicate.  Looks good on iPhone and browser re-sizing.


    Ryan Meier – Twitter

    June 2, 2013 at 3:28 pm in reply to: outreach logo and header problems #43671
    rfmeier
    Member

    Hello,

    Here is a start;

    ` @media only screen and (max-width: 1200px){
    #header{
    background-size: contain !important;
    }
    `

    This causing the image to scale with the widget of the #header element.  Removing this rule will prevent the background image from scaling.

    You may want to try having the #header background image repeat on the y-axis since the #title-area and .widget-area are stacked on each other.

    I did notice the .widget-area element has a float:left styling, but is being overrode by a width of 100%, preventing the two from displaying inline.

    Hope this helps.

    Ryan Meier @rfmeier


    Ryan Meier – Twitter

  • Author
    Posts
Viewing 4 posts - 581 through 584 (of 584 total)
← 1 2 3 … 28 29 30
« Previous Page

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