Support » Plugin: Cactus Masonry Classic » Rearrange order of title, excerpt and category

Viewing 1 replies (of 1 total)
  • Plugin Author


    Hey there chtoma27587,

    Option 1
    This is not a built in feature, but it can be achieved with CSS flex.

    The following CSS will allow you to change the order of the elements to match your requirements. It does rely on CSS flexbox though, so the very outdated ie9 browsers (and earlier) will not function correctly using this method.

    div.cactus_masonry_databox {
        display: -webkit-box !important
        display: -ms-flexbox !important;
        display: -webkit-flex !important;
        display: flex !important;
        flex-direction: column;
    div.cactus_masonry_databox > div {
        -webkit-box-flex: 0;
        width: 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    div.cactus_masonry_databox > .cm_categories {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    div.cactus_masonry_databox > .cm_title {
        -webkit-box-ordinal-group: 2;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    div.cactus_masonry_databox > .cm_excerpt {
        -webkit-box-ordinal-group: 3;
        -moz-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;

    Option 2
    Another option is to modify the plugin to display the results in the order you require. As there are unlikely to be any major updates coming out, you can easily modify the masonry-post-gallery.php file within the plugin’s directory. You’ll want to look towards line 497.

    If you do this, also change the version number at the top of the file, and the version number at the top of the readme file, to something large. This way future updates won’t undo your changes.

    I hope this helps,


Viewing 1 replies (of 1 total)
  • The topic ‘Rearrange order of title, excerpt and category’ is closed to new replies.