WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen
[resolved] Spacing tweaks + removal of comments (7 posts)

  1. geoff.smith
    Member
    Posted 5 months ago #

    I'm trying to do a few things with the TwentyThirteen theme v1.1, but am just banging my head agains the wall.

    1) I want to remove the "Comments are closed" text that is in each post. I have installed the Remove "Comments are closed" Plugin but the text remains. And what's even more odd is that on my site the text in question says "Comments are closed" but in the comments.php file the code says "'Comments are closed." (note the full stop).
    2) Each post is comprised of (screenshot):
    1st line: Post Title
    2nd line: Author's name, date/time, categories
    3rd line: Post text
    4th line: "Comments are closed" text

    I want to modify the spacing between the end of one post and the beginning of other, and also move the author's name, date/time, and categories to a different line. What file to I need to modify (and how) to make this happen?

    Many thanks in advance for your help.

    Cheers

  2. CrouchingBruin
    Member
    Posted 5 months ago #

    I hope you are making changes through a child theme and not the actual theme files, themselves.

    Can you please provide a link to your site? It is too hard to tell what needs to be done just from a screen shot, especially if you've already made coding changes or if a plugin that you've installed has made changes.

  3. geoff.smith
    Member
    Posted 4 months ago #

    link to site is http://www.mintcar.com

    Cheers

  4. CrouchingBruin
    Member
    Posted 4 months ago #

    1) I want to remove the "Comments are closed" text that is in each post.

    I see you are using the blog-in-blog plugin. Go to Settings > Blog-in-Blog and click the Template tab. Go down to the bottom of the template and you should see where to remove the line that displays %post_comments%.

    I want to modify the spacing between the end of one post and the beginning of other ...

    You can do this by adding some CSS, but remember to either use a child theme or a CSS plugin so your changes aren't lost in case the theme gets updated:

    .entry-content .post {
       clear: both;
       margin-top: 40px;
    }
    .post-bodycopy img {
       margin-bottom: 50px;
    }

    The last rule adds some spacing after your post images.

    ... also move the author's name, date/time, and categories to a different line.

    Again, you should be able to move that line around from the Blog-in-Blog template.

  5. geoff.smith
    Member
    Posted 4 months ago #

    Thanks very much for your help - really appreciate it!

    I'm in the process of trying to modify the CSS to update some more spacing, but have a bit of a more pressing issue in that the first entry on each page is fine, but all further posts on the page are flush left. What gives?

    Thanks!

  6. CrouchingBruin
    Member
    Posted 4 months ago #

    OK, the modified Blog-in-Blog template is a bit screwed up. The closing H2 tag should be put after the closing DIV tag for the post-headline, not before it. That is, instead of this:

    <div class="post">
    <!-- Post Headline -->		
    
    <h2>
    <div class="post-headline">
    <div style="float:left; margin:7px"> </div>
    <a title="Permanent Link to %post_title%" rel="bookmark" href="%post_permalink%" id="%post_id%" >%post_title%</a>
    </h2>
    </div>
    <!-- Post Body Copy -->

    it should look like this:

    <div class="post">
    <!-- Post Headline -->		
    
    <h2>
    <div class="post-headline">
    <div style="float:left; margin:7px"> </div>
    <a title="Permanent Link to %post_title%" rel="bookmark" href="%post_permalink%" id="%post_id%" >%post_title%</a>
    </div>
    </h2>
    <!-- Post Body Copy -->
  7. geoff.smith
    Member
    Posted 3 months ago #

    Brilliant - thank you so much for your assistance! Really appreciate it!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.