test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Mo0nlight Moderator
    #1073543

    Hi.

    If you want to make the list layout to be your default view.

    Edit the file.
    components/com_jamegafilter/assets/js/script.js
    Look for

            // default value.
            jQuery('.jamg-layout-chooser>span[data-layout="grid"]').addClass('active');

    Change to.

            // default value.
            jQuery('.jamg-layout-chooser>span[data-layout="list"]').trigger('click');

    Remember that after you enter the website and change the layout.
    The browser will remember the type of view in your last state.

    furdoszobasziget Friend
    #1073771

    Hi Mo0nlight,

    thank you very much, it’s work!

    Best regards,
    Csaba

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  furdoszobasziget 7 years ago.

The topic ‘Can there be a default view list and not a grid?’ is closed to new replies.