WordPress.org

Forums

[resolved] Remove blank space above image in post (9 posts)

  1. CaptainAskew
    Member
    Posted 1 year ago #

    Hi everyone!

    After spending 24hours googling and trying out different answers given to other people with a similar issue, I am asking you guys to help me out.

    I've created a test post at my website, using the theme Hatch, here: http://myjulin.com/2012/05/27/test-2/

    and all I want is for the test image (the grey box) to be next to the text on the right, not under it leaving a big blank space.

    I've been searching the wordpress forum for help, but what solved the problem for others did not work for me. It might very well be a user issue, not a code one.

    Thank you in advance!

  2. CaptainAskew
    Member
    Posted 1 year ago #

    Managed to fix the issue of moving my image up top by trial and error. Now, is there a way to fix it without removing the text that's usually next to it? That says when it's poster, author and such?

  3. CaptainAskew
    Member
    Posted 1 year ago #

    Actually, I'll make due with this for now.

  4. ashields
    Member
    Posted 1 year ago #

    in the post.php i removed these 2 lines
    <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'single-thumbnail', 'link_to_post' => false, 'image_class' => 'featured', 'attachment' => false, 'width' => 640, 'height' => 360, 'default_image' => get_template_directory_uri() . '/images/single_image_placeholder.png' ) ); ?>

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No! Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

  6. ashields
    Member
    Posted 1 year ago #

    ok then how do you recommend removing the blank space on each post page? from CaptianAskews post he answered by himself which did not tell me anything

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    By editing your theme's CSS.

  8. ashields
    Member
    Posted 1 year ago #

    thanks for the answer, can you maybe tell me which line i need to edit?

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No - it varies from theme to theme. Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

Topic Closed

This topic has been closed to new replies.

About this Topic