• Resolved hange

    (@hange)


    Hi there,

    First of all, thanks for your support.

    The grid view works fine but the list is a mess. I am using Elementor and OceanWP.
    Could you please take a look?

    Thanks a lot,

    Hange

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    Products list has style display: grid; that cause this issue, plugin do not have different classes to change it for list, but do not change it for grid.

    Regards,
    Oleg

    Thread Starter hange

    (@hange)

    Hi Oleg,

    Thanks for your answer. You are right, I found that there is a class display: grid but when I change it to list, it changes as well to the grid view.

    Is there a better way to solve it? I’m kinda lost.

    Thank you very much.

    Hange

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    You can try to use this custom JavaScript code to add some CSS class

    jQuery(document).on('berocket_lgv_after_style_list', function() {
        jQuery('body').removeClass('br_glv_grid_view').addClass('br_glv_list_view');
    });
    jQuery(document).on('berocket_lgv_after_style_grid', function() {
        jQuery('body').removeClass('br_glv_list_view').addClass('br_glv_grid_view');
    });

    It will add different CSS class to body element:
    For Grid view: br_glv_grid_view
    For List view: br_glv_list_view

    Regards,
    Oleg

    Thread Starter hange

    (@hange)

    Thanks for you help. It’s working now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘List view not working out’ is closed to new replies.