TinyPortal

Development => Support => Topic started by: jernatety on August 14, 2018, 11:09:33 PM

Title: Front page is all screwed
Post by: jernatety on August 14, 2018, 11:09:33 PM
Right column isn't responsive today. Not sure when or why it happened.

https://www.youthhockeyinfo.com
Title: Re: Front page is all screwed
Post by: lurkalot on August 14, 2018, 11:32:19 PM
Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.

Failing that, what else have you changed in the last couple of days?
Title: Re: Front page is all screwed
Post by: jernatety on August 15, 2018, 12:59:58 AM
Quote from: lurkalot on August 14, 2018, 11:32:19 PM
Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.

Failing that, what else have you changed in the last couple of days?

Hi @Mick. I had to uninstall TP. Both Arantor and @Mick over at SMF found the problem. They said this code below was injected into the index.template file. I couldn't find that code in that file but they said it's Tiny Portal causing the problem. So I uninstalled and sure enough that was the problem. My site is responsive again on mobile.


/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
   min-width:900px!important;
}
}



EDIT: I did initially uninstall it but re-installed it at the behest of the SMF members so you guys could look at it and try to see if you know what the issue is.

Thank you!
Title: Re: Front page is all screwed
Post by: lurkalot on August 15, 2018, 01:22:56 AM
Quote from: jernatety on August 15, 2018, 12:59:58 AM
Quote from: lurkalot on August 14, 2018, 11:32:19 PM
Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.

Failing that, what else have you changed in the last couple of days?

Hi @Mick. I had to uninstall TP. Both Arantor and @Mick over at SMF found the problem. They said this code below was injected into the index.template file. I couldn't find that code in that file but they said it's Tiny Portal causing the problem. So I uninstalled and sure enough that was the problem. My site is responsive again on mobile.


/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
   min-width:900px!important;
}
}


Thanks for the report.  What I don't understand though, is this bit of code hasn't changed between 1.5.0 and 1.5.1 so it seems strange that it only started playing up today.  Hopefully tino can come up with some ideas as to what's happening here.
Title: Re: Front page is all screwed
Post by: jernatety on August 15, 2018, 01:25:02 AM
Quote from: lurkalot on August 15, 2018, 01:22:56 AM
Quote from: jernatety on August 15, 2018, 12:59:58 AM
Quote from: lurkalot on August 14, 2018, 11:32:19 PM
Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.

Failing that, what else have you changed in the last couple of days?

Hi @Mick. I had to uninstall TP. Both Arantor and @Mick over at SMF found the problem. They said this code below was injected into the index.template file. I couldn't find that code in that file but they said it's Tiny Portal causing the problem. So I uninstalled and sure enough that was the problem. My site is responsive again on mobile.


/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
   min-width:900px!important;
}
}


Thanks for the report.  What I don't understand though, is this bit of code hasn't changed between 1.5.0 and 1.5.1 so it seems strange that it only started playing up today.  Hopefully tino can come up with some ideas as to what's happening here.

We responded simultaneously. I edited my post to let you guys know I reinstalled 1.5.1 so you can take a look and hopefully figure out what happened or is happening. Its weird. Everything worked since upgrade but then all of a sudden stopped being responsive this afternoon.
Title: Re: Front page is all screwed
Post by: tino on August 15, 2018, 06:59:54 AM
My guess without looking in to it is you've told TinyPortal to not be responsive in the settings.

Title: Re: Front page is all screwed
Post by: lurkalot on August 15, 2018, 07:06:16 AM
Quote from: tino on August 15, 2018, 06:59:54 AM
My guess without looking in to it is you've told TinyPortal to not be responsive in the settings.

tino, strangely enough I thought that too, although the theme didn't look like it was displaying properly, or as it should in that mode.  I nearly suggested it over at SMF, but then didn't. Reason probably because jernatety said there was no changes made, apart from upgrading to 1.5.1 a couple of days back. 

Think it's worth checking that setting though.  ;)
Title: Re: Front page is all screwed
Post by: @rjen on August 15, 2018, 07:16:45 AM
I would suggest the same..

First check the settings...

(https://www.tinyportal.net/docs/gallery/34_14_08_18_4_28_37.png)

See that the theme is indeed set to be responsive (tickbox should NOT be checked)

Correct setting and try again....

If that does not work, try to delete all settings with "Deselect all themes" , [Save] and set them again, and then [Save].

Maybe 'somehow' the upgrade has some efect on this setting...

Let us know how it turns out...
Title: Re: Front page is all screwed
Post by: jernatety on August 15, 2018, 09:35:41 AM
Hi, thank you everybody that is what it was, but I don't know how that got selected? I took your instruction and went to de-select the option but every time I de-selected and saved it would go right back to selected. I emptied cache and it still did the same thing. The only way it de-selects is by using the de-select all themes check box.
Title: Re: Front page is all screwed
Post by: @rjen on August 15, 2018, 09:39:36 AM
Quote from: jernatety on August 15, 2018, 09:35:41 AM
Hi, thank you everybody that is what it was, but I don't know how that got selected? I took your instruction and went to de-select the option but every time I de-selected and saved it would go right back to selected. I emptied cache and it still did the same thing. The only way it de-selects is by using the de-select all themes check box.

That's how the setting works (not sure why, but you have to deselect all, and start over)
Title: Re: Front page is all screwed
Post by: jernatety on August 15, 2018, 07:03:13 PM
Quote from: @rjen on August 15, 2018, 09:39:36 AM
Quote from: jernatety on August 15, 2018, 09:35:41 AM
Hi, thank you everybody that is what it was, but I don't know how that got selected? I took your instruction and went to de-select the option but every time I de-selected and saved it would go right back to selected. I emptied cache and it still did the same thing. The only way it de-selects is by using the de-select all themes check box.

That's how the setting works (not sure why, but you have to deselect all, and start over)

Yeh, I'm going to steer clear of that setting. Still don't know how it got selected in the first place.