2 WordPress questions

emma90

Newbie
Joined
Apr 8, 2015
Messages
7
Reaction score
0
  1. I tried every single possible way to remove my feature images from my single posts while keeping the images when you visit my home page.
First of all I tried to use the following code:


.single-post .attachment-post-thumbnail {
display: none;
}

Along with many other in my style.css or single post file without any success.
This is in my single.php file:



<?php get_header();?>

<divclass="container">

<divid="content">

<div id="main" <?php if(get_theme_mod('sp_post_layout')=='full'):?>class="fullwidth"<?php endif;?>>

<?php if(have_posts()):while(have_posts()): the_post();?>

<?php get_template_part('content');?>

<?php endwhile;?>

<?php endif;?>
<?php if(get_theme_mod('sp_post_layout')=='full'):else:?><?php get_sidebar();?><?php endif;?>
</div>


<?php get_footer();?>

Let me know what part you need from my CSS perhaps if you could help? I am really desperate to solve this :(
2.
When I visit my blog posts the sidebar is below content and not at the side, my website is not live yet so I cannot show you that but if you could help I would really appreciate it.
Betty


 
Back
Top