Sidebar for single posts below featured image
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
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi 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.