• Closed
  • Nate Goode
    Spectator
    August 18, 2015 at 9:46 am #19915

    Hello,
    Glad you guys are back up and running.
    I have a couple questions about the blog shortcode:

    On occasion, when a page with the blog shortcode (grid mode) loads, it orphans the first post on its own row, although it only takes up one column, and loads any other posts on the 2nd column and lower. Is there a way to fix this?

    Is there a native way to colour the background of the relevant posts in the shortcode (grid again)? I thought I saw an option for it, but for the life of me can’t find it now. I’ve used CSS to colour the background .post-content-wrapper, but this leaves a thin strip transparent at the bottom of each post (inside the border).

    And last blog question: Are sticky posts supposed to be at the top of these blog shortcode calls (still grid)? We had a sticky that stayed up for a while, but now it’s going by date as though it weren’t sticky. Is it working as expected? Is there a fix for this?

    Finally (not about the blog), is there a way to set the page template default to the 100% width? We mostly don’t use sidebars, and would like to have that be our default if possible.

    Thanks guys, and again, glad you’ve ironed out whatever was going on what that DB error!

    Denzel Chia
    Moderator
    Posts: 2656
    August 18, 2015 at 10:26 am #19919

    Hi,

    Please post your website url to the pages that you are having issues.
    We need to take a look in order to provide possible solutions.

    Thanks!

    Nate Goode
    Spectator
    Posts: 6
    August 18, 2015 at 10:31 am #19921
    This reply has been marked as private.
    Imran
    Spectator
    Posts: 402
    August 18, 2015 at 9:33 pm #19944

    Hi Nate,

    Thanks for writing in!

    Firstly upon checking, the first post hasn’t been shown alone in the first row and neither the remaining posts shifts down after. However, please provide some screenshots with the issue.

    In regard to setting the background on your relevant posts, so you can use the custom code which you’ve used before and to eliminate the extra space under the post inside of the border, you can use the following code under Appearance > Theme Options > Custom Css:

    .t4p-blog-grid .post, .t4p-blog-timeline .post, .timeline-layout .post {
    padding-bottom: 0px!important;
    }

    Lastly, the “regular times” post doesn’t seem to be sticky at my end, so would you mind confirming that you’ve chosen sticky option for the post.

    For achieving the full width page layout, you can try adding the following code into your custom CSS field:

    #main .alora-row {
    max-width: 100% !important;
    }

    Thanks.

    Nate Goode
    Spectator
    Posts: 6
    August 19, 2015 at 2:31 am #19947

    Hello, the code stuff worked great!

    I’ll grab a screenshot when the orphaned post issue comes up again; as I said, it doesn’t always happen, but I’ll copy it next time.

    The sticky post is definitely sticky. I turned it off and on, and it still doesn’t stick. I even created a new post to test stickiness and it too got sorted by date only, not sticky.

    Thanks

    Denzel Chia
    Moderator
    Posts: 2656
    August 19, 2015 at 9:40 am #19951

    Hi,

    I just tested the sticky post in my localhost.
    The sticky post is working properly with the blog shortcode.

    I see that you have a comment in your webpage source code that begins with w3tc, which leads me to believe that you are using a cache plugin. You need to clear cache after updating, in order for new content to appear.

    This is a screenshot of my sticky post, which I changed to a date in 2007 just to make sure that it is sticky. http://prntscr.com/86c9ir

    This is a screenshot of the blog shortcode, which is working properly.
    http://prntscr.com/86c9qx

    The following is the shortcode I used for testing.

    [blog number_posts="10" cat_slug="" title="yes" thumbnail="yes" excerpt="yes" excerpt_words="35" meta_all="yes" meta_author="yes" meta_categories="yes" meta_comments="yes" meta_date="yes" meta_link="yes" paging="yes" scrolling="infinite" strip_html="yes" layout="grid"][/blog]

    Thanks!

    Nate Goode
    Spectator
    Posts: 6
    August 21, 2015 at 11:30 am #20015

    Hello and thanks for looking,
    Yes, the host has a cache, but I clear it regularly.

    I did some more testing, and it appears that the sticky issue is related to the use of categories. It returns to working fine if the cat-slug field is blank, but if limited to certain categories, the sticky stops working. Is there a way around this, or should I limit to using exclude categories to keep things off of this feed?

    Thanks.

    Denzel Chia
    Moderator
    Posts: 2656
    August 21, 2015 at 6:12 pm #20033

    Hi,

    Sorry, I have no suggestions.
    Please use exclude categories if it works properly for you.

    Thanks!