How to have different orientations depending on device?

Thanks for the reply ! Tried that too, but it seems not making much difference unfortunately