Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!

    #69807

    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.

    Regards,

    Devin

    #69808

    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!!

    #69809

    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.

    #69810

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

    comment_form();

    to

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

    hope this will help

    ‘notify me of replies’ checkbox is probably some plugin

    #69811

    Thanks for the assist VBM :)

    #69812

    @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: http://shop.adamocollection.com/2012/03/30/my-mind-the-love-story-official-after-party/ I don’t have any other custom plugins besides Jetpack and WooCommerce.

    Thank you!

    #69813

    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.

    Regards,

    Devin

    #69814

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

    #69815

    Hi!

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

    Regards,

    Chris

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

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