This topic has 16 replies, 3 voices, and was last updated 9 years by Gandam.

  • Author
  • #55410
     Gandam
    Participant

    Hi,

    I have another quick query about the featured post in blog page, the default setting display only 3 (page in full-width layout) when I set the “Featured content display type” to carousel, how do I increase number of post to 4 or more? Your prompt reply will be grateful.

    Thanks.

    #55462
     Gandam
    Participant

    Hi,

    I just discovered another issue for blog page and blog archive page, I set the blog page to full width and would like to have 5 post per row and 3 per row for blog archive page as the archive page isn’t in full-width layout, is there an option to change the setting or how do I fix this? I am kinda of stuck at moment, therefore your early reply will be great!! 🙂

    Attachments:
    You must be logged in to view attached files.
    #55485
     sharmstr
    Moderator

    Copy /kleo/featured-content.php to your child and change data-max-items to whatever you want

    COPY CODE
    
    <div class="kleo-carousel-items kleo-carousel-post" data-min-items="3" data-max-items="3">
    

    @abe – How come the max-carousel-items are set to 3 now? Was there an issue with the carousel?

    The blog page uses /kleo/index.php. Copy it to your child theme and edit this line

    COPY CODE
    
    <div class="row responsive-cols kleo-masonry per-row-<?php echo sq_option( 'blog_columns', 3 );?>">
    

    to this

    COPY CODE
    
    <div class="row responsive-cols kleo-masonry per-row-5">
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55557
     Gandam
    Participant

    Hi,
    I have managed changed data-max-items=”4″, but nothing has changed. I have saved the featured-content.php to child theme, is there anything else I am missing? Thanks.

    Attachments:
    You must be logged in to view attached files.
    #55580
     sharmstr
    Moderator

    I noticed that it didnt work right away for me either. I went in to posts and tagged another one as ‘featured’ then it worked.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55592
     Gandam
    Participant

    Hi,
    I am not sure what do you mean by “tagged another one as featured”, tag another post as featured? I have tried to remove all featured tags from posts then tag them again, but still showing 3 posts only, not 4 (as I set to display for 4 in css code), this one is tricky one!!:(

    #55597
     sharmstr
    Moderator

    Yes, that’s what I mean. Give me access I’ll do it for you.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55670
     Gandam
    Participant
    This reply has been set as private.
    #55686
     Abe
    Keymaster

    @sharmstr I think it always have been max 3

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #55692
     sharmstr
    Moderator

    @abe. Strange. Mine wasn’t sliding with 5 posts set to featured. I changed the code and it started loading 5 posts. I’ve since changed it back to 3 max and it still sliding. No caching turned on. Weird.


    @kwellafrica
    , I’ll take a look at your site now.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55694
     sharmstr
    Moderator

    @kwellafrica – its showing 4 now. I think I initially misunderstood your request.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55695
     Gandam
    Participant

    @sharmstr
    Thank you!! What did you to have it displaying 4 posts now??

    #55697
     Gandam
    Participant

    @ sharmstr – It wasn’t displaying 4 posts before you took a look our site. I followed your first guideline to alter data-max-items to our desired no, but that didn’t work by me, really strange!!

    #55698
     sharmstr
    Moderator

    because I didnt understand your request the first time, I told you to change the wrong part of it. It should have been

    COPY CODE
    
    $before_featured = '<div class="row responsive-cols kleo-masonry per-row-4">';
    

    and

    COPY CODE
    
    
    <div class="kleo-carousel-items kleo-carousel-post" data-min-items="4" data-max-items="4">
    

    I thought your issue was that it wasn’t sliding. Sorry.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55703
     Gandam
    Participant

    @sharmstr
    I see, that’s fine, we have it solved anyway. However, is it necessary to add these to css code to any specific php file and save it in kleo child folder? If so, can you give me a bit guideline here again, thanks.

    Ps. Did you add the above code to theme quick css or where?

    #55711
     sharmstr
    Moderator

    No. I changed it in the featured-content.php file.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55712
     Gandam
    Participant

    @sharmstr
    I’ve figured out that you have amended the code directly, thank you for great support again. 🙂

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?