badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Change the first slider

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #80232
    lucasmulhoa
    Participant

    Hello,

    I want to change the first post slider of my theme. My intention is that show the last 5 posts and below, the others post without repeat the sames posts in the post slider.

    So, the slider will show the first five recents posts, and below will start showing the 6th post onwardWebsite.

    Is possible?

    Tks

    #80308

    Hi lucasmulhoa,

    Sorry you need to hire a developer to customize the code for you as we recommend you to make the child theme first then customize the code so that you won’t loose the customized code when updating the Theme to New Version in future.

    Thanks

    #80322
    lucasmulhoa
    Participant

    Hi,

    So, there is not a CCS code that I can user to show from the 6th publication?

    Tks

    #80393

    Through the CSS you can just hide the posts. That means if you hide the first 5 posts then for the first page (Page 1) you will only get to see the remaining 5 posts out of 10 posts ( 10 posts is a default value, you can change it from “Settings > Reading”) but for the other pages you will get the 10 posts as it should be.

    If its ok for you then please go to “Appearance > Customize > Additional CSS” and paste the below Custom CSS code.

    body:not(.paged) .site-main .post-wrap .post-col:nth-child(1),
    body:not(.paged) .site-main .post-wrap .post-col:nth-child(2),
    body:not(.paged) .site-main .post-wrap .post-col:nth-child(3),
    body:not(.paged) .site-main .post-wrap .post-col:nth-child(4),
    body:not(.paged) .site-main .post-wrap .post-col:nth-child(5) {
    	display: none;
    }

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.