Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1071309

    Hi,

    We found the quick css code (shown below) via your Forum to customise the sort options for portfolio items. Would it be possible to receive the code to replicate this customisation for blog posts please?

    #js_sort_items .inner_sort_button span, #js_sort_items .text-sep {
    font-size: 14px;
    }

    /* create each none active item as a button */
    #js_sort_items a {
    background-color: #FFFFFF;
    padding: 12px 16px 10px;
    border: 1px #333333 solid;
    }

    /* create each active item as a highlighted button */
    #js_sort_items .active_sort {
    background-color: #333333;
    color: #ffffff!important;
    padding: 12px 16px 10px;
    text-decoration: none;
    }

    /* add some space between the new button */
    #js_sort_items a {
    margin-right: 10px!important;
    }

    /* remove the seperator */
    .text-sep {
    display: none!important;
    }

    /* optional centre the buttons */

    .avia-fullwidth-portfolio #js_sort_items {
    text-align: center;
    }

    .av-masonry-sort a { font-size: 16px; }

    #1072390

    Hey,

    Could you please post a link to your page so we can make sure that we are providing you accurate code?

    Best regards,
    Yigit

    #1072666
    This reply has been marked as private.
    #1073024

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    .main_color .av-sort-by-term a.active_sort {
        background-color: #333333;
        color: #ffffff!important;
        padding: 12px 16px 10px;
        text-decoration: none;
    }
    .av-masonry-sort a { margin-right: 10px; }
    .av-masonry-sort a { 
        background-color: #FFFFFF;
        padding: 12px 16px 10px;
        border: 1px #333333 solid;
    }
    
    
    

    Best regards,
    Yigit

    #1073109

    Hi Yigit,

    Absolutely perfect, thank you so much for your quick reply and excellent support.
    Just need to align left but I am sure we can figure that out.
    Many thanks again, much appreciated.

    Best Regards – John.

    #1073145

    Hi,

    Please add following code to Quick CSS as well :)

    #top div.container .av-masonry .av-masonry-sort { float: left; }

    Glad we could help! :)

    Best regards,
    Yigit

    #1073655
    This reply has been marked as private.
    #1073779

    Hi,

    Reading this really made my day John! Thank you so much for being so kind and sharing your appreciation :)

    Please feel free and start a new thread whenever you have a question or an issue.

    Enjoy your weekend!

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Customise sort options for Posts’ is closed to new replies.