Luscious Theme – Shows double image of featured

Community Forums Forums Design Tips and Tricks Luscious Theme – Shows double image of featured

This topic is: not resolved

This topic contains 15 replies, has 3 voices, and was last updated by  Jenny S 1 year, 6 months ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #22569

    Jenny S
    Participant
    Post count: 18

    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

     

    #22654

    Sridhar Katakam
    Participant
    Post count: 987

    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?


    #22694

    Jenny S
    Participant
    Post count: 18

    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!

     

    #22726

    Sridhar Katakam
    Participant
    Post count: 987

    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


    #22748

    Jenny S
    Participant
    Post count: 18

    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

     

     

     

    #22812

    Sridhar Katakam
    Participant
    Post count: 987

    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.


    #22939

    Jenny S
    Participant
    Post count: 18

    DONE. Please check. Thank you

    #23047

    Sridhar Katakam
    Participant
    Post count: 987

    [css]
    .archive .post-photo {
    display: none;
    }
    [/css]

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


    #23092

    Jenny S
    Participant
    Post count: 18

    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

    #23096

    Sridhar Katakam
    Participant
    Post count: 987

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


    #23099

    Jenny S
    Participant
    Post count: 18

    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

    #23101

    surefirewebserv
    Participant
    Post count: 69

    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

    #23103

    Sridhar Katakam
    Participant
    Post count: 987

    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.


    #23107

    Jenny S
    Participant
    Post count: 18

    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

     

    #23234

    Sridhar Katakam
    Participant
    Post count: 987

    Add this CSS code:

    [css]
    .single-post .post-photo {
    margin-left: 0;
    }
    [/css]


Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.