Skip to content

Featured Post Slider Issue with Page Orientation Change #5

Description

@PrinterzPk

Steps to Reproduce:

1- In portrait mode, open the main page on a mobile web browser. Let’s assume the count of featured posts displayed at a time are two.

2- Change the orientation to Landscape mode by rotating the device. Now the page will show more featured posts at a time for example four.

3- Now rotate the device back to the Portrait mode.

Issue:

After executing step 3 above, the page will continue to show four featured post at a time rather than two.

It should go back to the number of featured posts to display as per the value set for slidesToShow corresponding to the breakpoint in the JS file.

The format of the text on top of each post in the slider is also messed up.

The same issue can be reproduced on a Desktop browser if the mobile device view of the main page is opened in Portrait mode and then the above steps are repeated. Images are attached (Chrome browser).

Same issue is also reproducible if the theme is run locally.

Step1
Step2
Step3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions