The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Need help with content under nav - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Need help with content under nav (/showthread.php?tid=1112)



Need help with content under nav - Abdel112 - 08-11-2018

Hey all 

I downloaded your software as it seems to be the perfect fit for what i need but for some reason the navigation is over the top of the content on a clean install. Any idea how i can fix this as iv tried a few things but can't seem to fix it.

Example 
[Image: 2f517e803b614752d881b9954f8f063c.png]

https://gyazo.com/2f517e803b614752d881b9954f8f063c

Any help would be grateful 

Thanks


RE: Need help with content under nav - dendai - 08-14-2018

There's a lot of ways to fix this. Depends on how you are presenting the nav. For me, my nav is fixed height, and I have a custom collapse script that pulls in elements on scroll and squishes the whole thing down to yet another custom size. On account of that, I use a margin-top on the <body> and modify it on collapse.
Code:
body {
 margin-top: 80px;
}

nav {
 height: 80px;
 position: fixed;
}

sort of like that.