Headlines section on Main Page does not display on mobile

Any questions related to version 2 or version 3 should be ask here. / Toutes les questions sur la version 2 ou la version 3 devraient être demandées ici.
Post Reply
ynohtna
The Addict / Le Drogué
Posts: 770
Joined: Mon Aug 14, 2006 5:15 pm
Location: Vancouver, BC
Contact:

Headlines section on Main Page does not display on mobile

Post by ynohtna »

Does the headline section of the Main page for dynamic web show anywhere when browsing on mobile devices?

I can get the today and tomorrows games to show on the left side, the middle news section I don't use... and the right side with head lines don't show.
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14757
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Headlines section on Main Page does not display on mobile

Post by SimonT »

Hi. Mobile have different and smaller screen size. There is code in the webpage to hidden certain section when the screen resolution is too small. Look at this section to help you.

Code: Select all

If ($LeagueGeneral['OffSeason'] == "True"){
	echo ".STHSIndex_Score{display:none;}";
	echo ".STHSIndex_Top5Table {display:none;}";
	echo "@media screen and (max-width: 890px) {.STHSIndex_Top5 {display:none;}}";
}else{
	echo ".STHSIndex_Top20FreeAgents {display:none;}";
	echo "@media screen and (max-width: 890px) {.STHSIndex_Score{display:none;}}";
	echo "@media screen and (max-width: 1210px) {.STHSIndex_Top5 {display:none;}}";
}
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
ynohtna
The Addict / Le Drogué
Posts: 770
Joined: Mon Aug 14, 2006 5:15 pm
Location: Vancouver, BC
Contact:

Re: Headlines section on Main Page does not display on mobile

Post by ynohtna »

ok, is it horrible to just let us scroll?
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14757
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: Headlines section on Main Page does not display on mobile

Post by SimonT »

The webpage doesn't look good when you try to show all of content that fit on 20 inch screen into a 4.7 inch screen.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Post Reply