in the common/ folder you will see 3 header files. Find the block of code that you want added to this template for all 3 files. But also remember to pull out each css instance in the 4 stylesheets...
Type: Posts; User: yaritai
in the common/ folder you will see 3 header files. Find the block of code that you want added to this template for all 3 files. But also remember to pull out each css instance in the 4 stylesheets...
Got it. Just wanted to mention the fix in case anyone was developing a site and depended on the switches to test the layouts. Just did not want anyone to waste their development time to only find...
Just wanted to add that since the session display mode is not set unless clicking the switches, I think the if statements should be changed to:
if ($detect->isMobile() && !$detect->isTablet()...
Just did a quick check and it seems the session for display mode is not set upon entering the site. I did a quick test by installing your 2.1 sql file to allow for the switches in all 3 header...
Hi rbarbour,
I will give my input as I looked into your code for 2.1 a while back to do a small task for a friend. From what I did, the issue is not with the call to mobile detect as it is...