Change default order posts in search results page

  • Josh
    Josh
    Super Guru
     
    13,887 points

    Hello Richard,
    Try the below code under Theme Setup >General Setup >Custom css

    ul.orderby li:first-child {
    display:none;
    }
    ul.orderby li:nth-child(1) {
    display:none;
    }
    ul.orderby li:nth-child(2) {
    display:none;
    }
    ul.orderby li:nth-child(3) {
    display:none;
    }
    ul.orderby li:nth-child(7) {
    display:none;
    }



    Richard
    Newbie
     
    29 points

    ul.orderby li:first-child {
    display:none;
    }
    ul.orderby li:nth-child(1) {
    display:none;
    }
    ul.orderby li:nth-child(2) {
    display:none;
    }
    ul.orderby li:nth-child(3) {
    display:none;
    }
    ul.orderby li:nth-child(7) {
    display:none;
    }
    //added this code for the expires label
    ul.orderby li:nth-child(9) {
    display:none;

    /*thank you josh for a great help*/


    Josh
    Josh
    Super Guru
     
    13,887 points

    You’re welcome Richard.Have a great day :)


Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.