Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #10913

    On the blog, what coding or settings can I use to change either the width of a post title to span over the left column/area of the page, and/or shifting the ‘number of comments, category, and author’ box higher up so it is on the same plane as the title?

    Thank you!


    Hi aristechmedia,

    The easier of the two is to have the title span the full width of the blog column. You’ll need to open three php files located in the includes folder of your theme files: format-standard.php, format-gallery.php and format-link.php

    In each of these, the structure of the blog type entry is determined. What you’ll need to do in each files is search for:

    <h1 class='post-title offset-by-three'>

    and change it to

    <h1 class='post-title'>

    This will get rid of the left side padding class for each of those post types.




    Works perfectly! Only question is ‘how do I shift the date to the left as well instead of being centered’?

    Also, why I have you, what file do I edit to change/remove text found in the comments section, such as the HTML dummy text and the ‘notify me of replies’ buttons and lines?

    Thank you!!


    1) You need to remove following line in format-standard.php:

    <span class='date-container minor-meta meta-color'><?php echo get_the_date(); ?></span>

    and insert it before:

    <h1 class='post-title'>

    2) Not sure. This text is probably part of a plugin. The theme related code can be found in includes/comments.php.


    For 2. in comments.php, somewhere at the line 109 change:



    comment_form(array('comment_notes_after' => ''));

    hope this will help

    ‘notify me of replies’ checkbox is probably some plugin


    Thanks for the assist VBM :)


    @dude – When I tried replacing that line of code, it made all the body text of the blog posts the same font and height at the title text of header blog post. So how do I fix that?

    @vbm – I changed that line, but still nothing: (Purchase code hidden if logged out) -official-after-party/ I don’t have any other custom plugins besides Jetpack and WooCommerce.

    Thank you!


    Hey aristechmedia,

    I think for the date, you could just add the following to your Quick CSS or custom.css:

    .template-blog .date-container {
    left: 0px !important;

    I responded to your other post about the additional text on the comments and I’m betting its Jetpack that added the additional comment options.




    That solutions works like a charm. Thank you! :)



    Great, I’ll mark this topic as solved :)



Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Blog Title Width’ is closed to new replies.