Hello everyone,
I am modifying the Seven Five theme to fit my liking more and [URL=“http://blog.nerdvana.gr/”]this is what I have.
What I want is to remove the “X comments” below the “Posted on” bit. However I just can’t find which file to change. I have tried blog.php and index.php but none of them is the correct one. Any suggestions? I suppose it is a theme file and not a “core” wordpress one, am I wrong?
Furthermore, I managed to align the whole site to the center and have it as it is right now but I am almost certain that I didn’t do it in the correct way but just managed to make it work. I am pasting parts from the style.css file and if you could let me know where my mistakes are I’d appreciate it a lot. 
#header {
border-bottom: 1px solid #CACACA;
width: 1000px;
float: left;
padding: 15px 0 10px 0px;
margin: 0 0 25px 0;
}
#menu {
width: 300px;
float: left;
padding-top: 10px;
}
#menu ul {
list-style: none;
width: 485px;
float: left;
padding: 0 0 0 117px;
}
#menu a {
background: #323232;
font-size: 16px;
font-weight: bold;
color: #FFFFFF;
float: right;
margin: 0 0 0 15px;
padding: 9px 12px 8px 12px;
}
#content {
float: left;
}
.content-item {
width: 1000px;
float: left;
margin: 0 0 20px 0;
padding: 0 0 5px 0px;
border-bottom: 1px solid #CACACA;
}
.last-item {
border-bottom: none;
}
.content-body {
width: 790px;
margin: 0 0 0 0px;
float: left;
}
.entry {
padding-right: 15px;
}
Hi sebkomianos, welcome to the forums
Except for a widget file, the text “Posted on” is in 3 files:
blog,php
index.php
single.php
all with identical mark-up
<div class="content-dets">
<h3>Posted on <?php the_time('M j, Y'); ?></h3>
<ul class="dets">
<li class="comments-link"><a href="<?php the_permalink() ?>#comments" title=""><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
</ul>
</div>
If you want to style it you could try the class “comments-link”
If you want to remove it, you could comment out those parts, or delete them (after saving back-up copies).
Thank you very much for the reply Mittineague!
That’s my problem, although I do change these files, nothing really changes.
Individual posts are fine (as you can see here), my problem is with the first page.
This is how the code looks:
blog.php
<div class="content-item">
<div class="content-dets">
<h3>BlogPosted on <?php the_time('M j, Y'); ?></h3>
</div>
index.php
<div class="content-item">
<div class="content-dets">
<h3>IndexPosted on <?php the_time('M j, Y'); ?></h3>
</div>
single.php
<div class="content-item">
<div class="content-dets">
<h3>Posted on <?php the_time('M j, Y'); ?></h3>
</div>
So, although there is no code for the “X comments” line, it still appears…
Hmmm. It has to be coming from somewhere.
Maybe the widgets/posts.php file?
You are the man!
I didn’t even know there was a posts.php file there…
Thank you veeery veeery veeery much!