Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #903033

    Hi there,

    I followed the instructions on this thread: https://kriesi.at/support/topic/move-date-and-author-meta-to-under-title/

    Essentially I’m trying to move the date from below the entire post to below the headline in three locations:
    1) The actual post
    2) The main blog page
    3) Any blog feed widgets dropped in by the Avia layout builder

    What’s happening is there’s a HUGE gap now between the headline and the date. It doesn’t apply to the blog post, the date is still displaying at the bottom. Lastly, the blog widget also has a HUGE gap between the title and date.

    Links and logins below.

    #904201

    Hey kellyCraftMedia,

    Please add

    .html_elegant-blog #top .post-entry .post-meta-infos { margin-top: 0px !important; }

    And let us know if that works out.

    Best regards,
    Basilis

    #904390

    I added that code to my quick CSS but it didn’t do anything.

    #904392

    Hi,

    The code above looks like it was to fix this issue:

     the blog widget also has a HUGE gap between the title and date.

    Did it not work for that either?

    Best regards,
    Jordan Shannon

    #904519

    No, unfortunately it did not work for either problem. I cleared the website cache to make sure.

    #905317

    Hi,

    Looks like you managed to move the date below the headline except for the single post page. Please add the following css code to remove the space above the date.

    .html_elegant-blog #top .post-entry .post-meta-infos {
        margin-top: 0;
    }

    For the single post page, please edit the includes > loop-index.php file. Look for this code around line 218.

    echo "<time class='date-container minor-meta updated' >".get_the_time(get_option('date_format'))."</time>";
    

    Move it right below this code. ( line 189 )

    echo strpos($blog_global_style, 'modern-blog') === false ? $cat_output.$title : $title.$cat_output;
    

    Best regards,
    Ismael

    #905711

    Great! That worked but the date is aligned left instead of center – how do I update that?

    Couple of other minor things:
    1) There’s still a LOT of blank space on the main news page between the date and the featured image, I believe where the post meta info would go (but is hidden in my settings). Can I remove that?
    2) Is it possible to remove the featured image only on the Blog Post content element I’ve dropped into my home page under Latest News? There’s still quite a bit of space between the headline and the date on that widget, but I’m thinking if I just remove that image it’ll help.

    Sorry for all the little tweaks… didn’t realize it would be this complicated but now I’m knee deep in it!

    Thanks!

    #906147

    Hi,

    Thank you for the update.

    1-2.) You don’t need to remove the image. Just add the following css code to decrease the space between the image and the date.

    .html_elegant-blog #top .post-entry .date-container {
        width: 100%;
        text-align: center;
        display: block;
    }
    
    #top .fullsize .template-blog .post-meta-infos {
        display: none;
    }

    It will also center align the date container.

    Best regards,
    Ismael

    #912029

    Thank you Ismael! That worked.

    If I want to remove the image from that home page widget… what’s the best way to do it?

    Thanks!

    #912068

    Hi,

    This should work for the home page.

    #top.home .fullsize .template-blog .big-preview {
        display: none;
    }
    

    Best regards,
    Ismael

    #912075

    As always – you all ROCK!

    We can close out this thread. THANK YOU!!!

    #912114

    Hi,

    Thanks for the kind words, glad we could help :-)

    I’ll close this for now, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

    #912115

    Hi,

    Forgot to close :-)

    Best regards,
    Rikard

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Moving blog post Date + Removing extra space’ is closed to new replies.