• 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

Luscious Theme – Shows double image of featured

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 › Luscious Theme – Shows double image of featured

This topic is: not resolved
  • This topic has 15 replies, 3 voices, and was last updated 12 years, 11 months ago by Jenny S.
Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • February 24, 2013 at 3:08 pm #22569
    Jenny S
    Member

    Hi,

    In post, uploaded image to featured : http://screencast.com/t/R4Mp6HeZ

    It shows weird on post and also covers half of the Date http://screencast.com/t/oyEHxbVt0kht

    Also, shows weird on category page : http://screencast.com/t/3Tojjkow

    I am probably missing something

    Thank you

     

    February 25, 2013 at 12:39 am #22654
    Sridhar Katakam
    Participant

    Edit theme's functions.php.

    Comment out or delete

    add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );

    Can you give URL of any page in your site where the date is getting cut off?


    Genesis Tutorials | Follow me on Twitter

    February 25, 2013 at 9:04 am #22694
    Jenny S
    Member

    Thank you Sridhar for the quick responce.

    Edit theme’s functions.php.

    Comment out or delete

    add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );

    I commented out this line and problem of cutting the date and too many images is resolved, however, featured image disappeared completely as well.

    Can you give URL of any page in your site where the date is getting cut off?

    Post url: http://bit.ly/XWkrJQ

    Category url: http://bit.ly/WecQvL

    Thank you!

     

    February 25, 2013 at 11:27 am #22726
    Sridhar Katakam
    Participant

    Ok. I thought you wanted to not show the featured image above the post title.

    I checked both the URLs and don't find the problem. In which browser is the issue present?

    http://cl.ly/image/3E1i222P0T3P

    http://cl.ly/image/0w3A1g0S2M1R


    Genesis Tutorials | Follow me on Twitter

    February 25, 2013 at 1:40 pm #22748
    Jenny S
    Member

    This is happening in all browsers.

    After i commented out this line

    add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );

    as suggested, there is no more image problem as it was here before (http://screencast.com/t/oyEHxbVt0kht)when  added featured image.

    This is the previous category page before removing the line: http://screencast.com/t/3Tojjkow

    So we know the problem is in featured image.

    I do want to have this featured image as it shows in theme demo, however, i dont want it to show on category page where it should not be and also i dont want it to remove half of the date.

    Thank you

     

     

     

    February 25, 2013 at 7:10 pm #22812
    Sridhar Katakam
    Participant

    Go ahead and un comment/add the

    add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );

    line back in functions.php and let us know when done.


    Genesis Tutorials | Follow me on Twitter

    February 26, 2013 at 11:35 am #22939
    Jenny S
    Member

    DONE. Please check. Thank you

    February 26, 2013 at 11:43 pm #23047
    Sridhar Katakam
    Participant
    .archive .post-photo {
        display: none;
    }
    

    will get rid of featured post image above the post title for all posts only in archive pages.


    Genesis Tutorials | Follow me on Twitter

    February 27, 2013 at 8:43 am #23092
    Jenny S
    Member

    I added this code (screenshot) and now I am getting this error when try to access the website:

    Parse error: syntax error, unexpected '.' in /home/mediaj/public_html/wp-content/themes/luscious/functions.php on line 36

    Thank you

    February 27, 2013 at 9:20 am #23096
    Sridhar Katakam
    Participant

    You put that code in child theme's style.css, not functions.php.


    Genesis Tutorials | Follow me on Twitter

    February 27, 2013 at 9:26 am #23099
    Jenny S
    Member

    I double checked and it is child's theme function.php http://screencast.com/t/34VK4BvD1m

    What makes you think this is style.css?

     

    Thank you

    February 27, 2013 at 9:32 am #23101
    surefirewebserv
    Member

    I think he meant you put the style sheet code in the functions file, not the style sheet.

    .archive .post-photo {
    display: none;
    } 

    Goes in style.css


    SureFireWebServices.com | Genesis Tuts and More
    Genesis Theme Starter Kit | It’s Free

    February 27, 2013 at 9:40 am #23103
    Sridhar Katakam
    Participant

    Right.

    I should have written:

    "You kept that code in child theme’s style.css, not functions.php."

    Place the suggested CSS code in child theme's style.css (Appearance -> Editor), not in functions.php.


    Genesis Tutorials | Follow me on Twitter

    February 27, 2013 at 9:59 am #23107
    Jenny S
    Member

    Did this and it took care of the category page: http://bit.ly/WecQvL

    However, posts still show cut date http://bit.ly/XWkrJQ

    Thank you

     

    February 27, 2013 at 10:09 pm #23234
    Sridhar Katakam
    Participant

    Add this CSS code:

    .single-post .post-photo {
        margin-left: 0;
    }
    

    Genesis Tutorials | Follow me on Twitter

    February 28, 2013 at 8:06 am #23260
    Jenny S
    Member

    Perfect! This took care of the issue. Thank you !!!

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