Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Sir Osis of Liver on March 20, 2023, 01:39:16 PM

Title: Remove linktree in mobile view?
Post by: Sir Osis of Liver on March 20, 2023, 01:39:16 PM
Been tinkering with one of Diego's themes and am undecided about removing linktree.  In mobile view it wraps and gets behind other elements.  Can make more space for it, but looks crappy.  I've removed it from other responsive themes, no complaints.  Any opinions on this?
Title: Re: Remove linktree in mobile view?
Post by: Arantor on March 20, 2023, 02:30:10 PM
Collapse it so there's only the first element, shown by default along with a way to expand it vertically. I even posted code not that long ago for doing it.
Title: Re: Remove linktree in mobile view?
Post by: Diego Andrés on March 20, 2023, 02:41:31 PM
If it's Namex it already collapses it and includes the button to show/hide the rest on mobile., it doesn't hide the first element so that users can go back to the index.
You could hide the first element too, just tweak the css.
Title: Re: Remove linktree in mobile view?
Post by: Sir Osis of Liver on March 20, 2023, 09:44:27 PM
It's BlueShame, you can see it here (https://nccft.advmax.com/index.php).  I just don't see that the linktree is necessary in mobile view.  It's a linear feature and can be quite long, if it's wrapped to three or four lines it looks crappy, adds clutter, and isn't very useable.  Collapsing it wouldn't be much different from removing it.  You can still navigate back with browser back, or use menu to get back to home.  I use linktree quite a bit on desktop, but don't use a phone, so it's hard to judge if anyone would miss it.
Title: Re: Remove linktree in mobile view?
Post by: Diego Andrés on March 21, 2023, 09:42:03 AM
Not much harm in removing it for mobile.
You could also try keeping only the first and last element, will definitely save up space.