Home Forums WoodMart support forum Blog carousel layout for mobile version.

Blog carousel layout for mobile version.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #127950

    wonglui
    Participant

    I would like the mobile version of the blog carousel can display 2 articles. Your team gave me a solution before. The script is invalid after updating the new version of the woodmart template. The mobile version of the blog carousel only shows 1 post. please help.

    https://xtemos.com/forums/topic/carousel-for-mobile-version/

    add_filter(
    ‘woodmart_blog_shortcode_custom_sizes’,
    function() {
    return array(
    ‘desktop’ => 4,
    ‘tablet_landscape’ => 4,
    ‘tablet’ => 3,
    ‘mobile’ => 2,
    );
    }
    );

    #127975

    Artem Temos
    Keymaster

    Hello,

    Could you please send us where this code is added on your side? It works well for us.

    Kind Regards

    #128001

    wonglui
    Participant

    The script add on function.php.

    Attachments:
    You must be logged in to view attached files.
    #128015

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #128149

    wonglui
    Participant

    I have disabled the extra plugin now.

    #128156

    Artem Temos
    Keymaster

    We don’t see the child theme at all. You need to install and activate it first. Then put the code to the functions.php file in your child theme.

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