vcsharp
  •  vcsharp
  • 88.4% (Honored)
  • YAF Commander Topic Starter
2018-10-06T03:35:05Z
I would like to make some minor changes in UI like display less information or less topics per page etc. for very small devices, but for this I should know the screen width.

Question : Is there some api in YAF to know screen width in code-behind?
Sponsor
Zero2Cool
2018-10-08T17:53:10Z
YAF is starting to use Bootstrap, so you can apply the hidden class elements to hide a div depending on resolution. You'll want to check the /controls for this and also /pages might have something too.

I think TopicLine control might be what you're seeking.

https://github.com/YAFNE...notherForum.NET/controls 

.And for bootstrap, this area should help you.
https://getbootstrap.com...s/4.1/utilities/display/ 

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved