WordPress.org

Ready to get started?Download WordPress

Forums

Decode
[resolved] Make header bigger and featured images on actual posts (5 posts)

  1. thedragongoddess
    Member
    Posted 5 months ago #

    Hi~! I wanted to know is there a code I can input into the custom CSS field to make the header image big/box resize? I do not like that tiny icon header. I really love this theme and if I can get a header that is not a tiny icon size, that would help a lot!

    Also I wanted to know is there a code I can input so featured images will show up in the actual post? I notice they show up in the preview but not in the actual post. If there is a code, where inside the functions.php do I put this code? (Or is it the single.php?)

    Thank you for your help! And thank you for this theme!

  2. Scott Smith
    Member
    Theme Author

    Posted 5 months ago #

    1) `.site-logo {
    max-height: 8.5em;
    }`
    This is the default, you can make it bigger easily.

    2) In content-single.php, in a line above <div class="entry-title"... :

    <?php if ( has_post_thumbnail() ) : ?>
    				<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
    					<?php the_post_thumbnail(); ?>
    				</a>
    				<?php endif; ?>

    That should do it.

  3. thedragongoddess
    Member
    Posted 5 months ago #

    I am very Sorry for the late reply. I added the code into content-single but for some reason the featured image does not show. I added the code for the site logo and I've no idea how to make the logo bigger beyond its tiny size. I thought changing the 8.5 to a higher number would work. What on earth am I doing wrong?

    Thank you for the reply.

  4. Scott Smith
    Member
    Theme Author

    Posted 5 months ago #

    Try clearing your cache and making sure any caching plugins are temporarily disabled.

  5. Scott Smith
    Member
    Theme Author

    Posted 2 months ago #

    There is now an option for this "Display a post's featured image on its individual page." in the settings under Reading Options.

Reply

You must log in to post.

About this Theme

About this Topic