• Resolved reneass

    (@reneass)


    Hello,
    Two questions:
    1. Is there a way to add a description snippet to fall right below a blog post title and above the image?
    2. My images are huge in the front page post slider. My images are 600 x 600 because I do not want to use horizontal images–everything else uses vertical or square images. How can I get these images to appear correctly?
    Thanks so much for your help!
    Renea

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Renea,

    Thank you for getting in touch with us.

    1. The only way to do this is by adding some meta box to post and then modify theme single.php file.

    2. The recommended image size for slider is 1200x550px. Your images are 600x600px so script in slider try to resize them to full width which is 1140px. Because the hight of the image is the same as width the height is resized to almost 1100px.
    We can change the image width to 600px (or 100%) however this will break the slider layout. Slider shows up one image at a time so it must have at least the width of the container to fit.
    I hope it is clear.

    Thank you for your time in this.

    Best regards

    Thread Starter reneass

    (@reneass)

    I am really interested in getting that description snippet to fall below the title and before the image. From my understanding, that would help SEO and the reader experience since it would fall “above the fold.” Is what you described something I could do myself, and if so what would be the process?

    Again, thanks for your help.

    Theme Author lyrathemes

    (@lyrathemes)

    @reneass Can you please show us using a screenshot what description snippet you’re referring to?

    Thread Starter reneass

    (@reneass)

    Thanks for the reply. Here is a link of a post from The Wholesome Dish. I wish I could do something like this to give a description that would fall below the title and above the image which would be “above the fold.” Thanks!
    Renea Starr

    Thread Starter reneass

    (@reneass)

    jarektheme

    (@jarektheme)

    Hi @reneass,

    Please go to your post and click “Screen Options” at the top of the page. When top bar will open enable Excerpt options which allows you to add the excerpt to your post.

    After that open single.php file on your server and find these lines:

    <?php $title = get_the_title(); ?>
    <?php if($title == '') { ?>
    <h1 class="entry-title"><?php esc_html_e('Post ID: ', 'kale'); the_ID(); ?></h1>
    <?php } else { ?>
    <h1 class="entry-title"><?php the_title(); ?></h1>
    <?php } ?>

    and add this below:

    <div class="entry-desc"><?php the_excerpt(); ?></div>

    This display the excerpt on every post just below post title. Please note that you need to repeat that after next theme update.

    Hope that helps.

    Best

    Theme Author lyrathemes

    (@lyrathemes)

    Hello @reneass,

    I am assuming that we were able to help you solve this issue? Please don’t hesitate to reach out again if you need further help. I am going to go ahead mark this ticket as resolved for now.

    Best,
    LyraThemes

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Description Snippet & Front Page Post Slider’ is closed to new replies.