Currently, I am in the process of developing a website using PHP and MYSQL. While the responsive design with Bootstrap works well for most pages, there are a few pages where not only do the columns need to rearrange for xs screen sizes, but the content within the divisions also changes.
Here is an example page that looks quite different in the xs version: https://i.sstatic.net/bHkZJ.png
My current approach involves using hidden-xs
to hide the layout on large screens and visible-xs
to show the layout on small screens. However, I am concerned that this method may not be the most optimized as it requires the page to load twice the resources.
Is there a more efficient way to address the issue of different styles and content for various screen sizes, particularly when it only affects a few pages? (If all pages were significantly different, I suppose creating a mobile version on a sub-domain would be the best solution).