• 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

Foodie Recipe Index Question

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 › General Discussion › Foodie Recipe Index Question

This topic is: not resolved
  • This topic has 10 replies, 2 voices, and was last updated 11 years, 6 months ago by thefrugalmom.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • December 26, 2014 at 4:14 am #135313
    thefrugalmom
    Member

    I am trying to decrease the space between the image and title of post (below the image): http://thefrugalmom.net/recipes-2/
    Can someone direct me on what to change?
    Thanks!

    December 28, 2014 at 11:08 am #135483
    rfmeier
    Member

    Hello,

    You have a border-top within your style.css on the title that is causing a huge margin.

    /* style.css line 775 */
    .featured-content .entry-title,
    .featuredpost h2 {
    	border-top: 34px solid #fff; 
    	font-size: 14px;
    	font-size: 1.4rem;
    	line-height: 1.2;
    	margin: 0;
            font-weight: bold;
    	text-align: center;
    }

    Remove the border-top: 34px solid #fff; line and that should solve your issue.


    Ryan Meier – Twitter

    December 29, 2014 at 2:07 am #135522
    thefrugalmom
    Member

    Thanks. I removed that line of text, but the white space is still there.
    http://thefrugalmom.net/recipes-2/

    December 29, 2014 at 10:37 am #135557
    rfmeier
    Member

    Sorry for the late reply. The forum has not been notifying me of replies like it should.

    The following changes will remove the all the white space below the image;

    
    /* style.css line ~799 */
    .featured-content img,
    .featuredpost img {
    .featured-content img;
     	display: block;
     	margin: 0 auto 10px;
     	margin: 0 auto 1rem;
     	margin-bottom: 0; /* set margin bottom to 0 */
        border-top: 12px solid #fff;
    }

    Add the following under the previous within the style.css file

    
    /* style.css  */
    .featured-content a.aligncenter,
    .featuredpost a.aligncenter {
    .featured-content a.aligncenter;
     	margin-bottom: 0;
    }

    Ryan Meier – Twitter

    December 30, 2014 at 1:12 am #135643
    thefrugalmom
    Member

    Thank you!

    December 30, 2014 at 10:50 pm #135714
    thefrugalmom
    Member

    When I add this code:

    /* style.css */
    .featured-content a.aligncenter,
    .featuredpost a.aligncenter {
    .featured-content a.aligncenter;
    margin-bottom: 0;
    }

    It makes the images on the home page centered (which I love), but it also makes all links centered and appear on it's own line in the body of a paragraph.

    Is there a way to alter this to keep links in line and images centered?

    January 4, 2015 at 11:25 am #136035
    rfmeier
    Member

    thefrugalmom,

    On line 783 of your style.css file change text-align: center; to text-align: left;.


    Ryan Meier – Twitter

    January 6, 2015 at 2:07 am #136168
    thefrugalmom
    Member

    Okay... Changing this allows the link to float left, but now the link it on it's own line. Is there any way to have links within a paragraph remain in said paragraph?

    Thanks!

    January 6, 2015 at 2:07 am #136169
    thefrugalmom
    Member

    For reference: http://thefrugalmom.net/valentines-day-gift-for-teachers/

    January 7, 2015 at 4:01 pm #136313
    rfmeier
    Member

    thefrugalmom,

    I was confused at first, but I found this within your style.css file;

    /* line 816 */
    .has-post-thumbnail .entry-content a {
        display: center;
        text-align: block;
    }

    This is actually incorrect. display: center; should be display: block;. But this would put a link on it's own line as you were describing, which is not what you want.

    The other rule is also incorrect text-align: block; should be text-align: center; which would center the link text, but it wouldn't change much within a paragraph.

    You would be safe to remove the block of css code above.

    http://thefrugalmom.net/valentines-day-gift-for-teachers/


    Ryan Meier – Twitter

    January 9, 2015 at 3:19 am #136461
    thefrugalmom
    Member

    Thank you. After removing that block of code, the images still display to the left from the home page (which is what I am trying to center.)
    http://www.thefrugalmom.net

    :/

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘General Discussion’ 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