Support » Plugin: Weekly Class Schedule » How to get different layouts on different screens?

Viewing 2 replies - 1 through 2 (of 2 total)
  • sremy

    (@sremy)

    My suggestion would be to create two divs on the page with separate IDs then in the css for pc display:none; the mobile div, and vica-versa.

    So the html would be:

    <div id="PCSchedule">
    [wcs]
    </div>
    <div id="MobileSchedule">
    [wcs layout=list]
    </div>

    and then on your css for your main theme you add

    #MobileSchedule{
       display:none;
    }

    and on your mobile theme you add

    #PCSchedule{
       display:none;
    }
    aggrde

    (@aggrde)

    Thank you sremy, you’re solution worked perfectly for me!! I was searching all over and couldn’t find the answer so thank you again.

    If you have time, please see another question below that I have opened:
    http://wordpress.org/support/topic/change-background-color-on-all-pages-apart-from-home-page?replies=1#post-4338824

    I would greatly appreciate it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get different layouts on different screens?’ is closed to new replies.