This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Sidebar for single posts below featured image

11 years ago · Last reply by Andrew Misplon 11 years ago

Hello,
I want to use the ‘Custom Sidebars’ widget to create sidebars for single posts, but I want the featured image to be positioned above both the sidebar and the content. Is there any way for me to do that?
Thanks in advance,
Alex

URL: http://sportsglory.ru/%D1%88%D0%B5%D1%81%D1%82%D1%8C-%D1%88%D0%B0%D0%B3%D0%BE%D0%B2-%D0%BD%D0%B0-%D0%BF%D1%83%D1%82%D0%B8-%D0%BA-%D1%83%D1%81%D0%BF%D0%B5%D1%88%D0%BD%D0%BE%D0%BC%D1%83-%D1%81%D0%BF%D0%BE%D0%BD%D1%81%D0%BE/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 11 years, 4 months ago

    Hi Alexandr

    Thanks for running Vantage.

    This is unfortunately not easily achieved within the template. At a glance you’d need to place content-single.php in your child theme and remove these lines:

    <?php if( has_post_thumbnail() && siteorigin_setting('blog_featured_image') ): ?>
    	<div class="entry-thumbnail"><?php the_post_thumbnail( is_active_sidebar('sidebar-1') ? 'post-thumbnail' : 'vantage-thumbnail-no-sidebar' ) ?></div>
    <?php endif; ?>
    

    You’d then need to place that same code within single.php, also contained in your child theme. In single.php you’d need to try placing that code above the primary div on line 11.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread