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
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reply To: Hamburger Menu – Divider
#1
Hi

Sorry, but I mistakenly posted this to the wrong group earlier...

Is it possible to use a divider in the hamburger menu?

I’ve tried
Code:
<li class="divider"></li>
but that doesnt show up on the hamburger menu…

Thanks
  Reply
#2
I've never tried, but this is what people say on stack overflow.
http://stackoverflow.com/questions/14478...navigation

Particularly, the hamburger menu in the lower right quadrant of this jsfiddle...
http://jsfiddle.net/shail/zqNzk/6/


  Reply
#3
Hi

I stumbled across this post before posting here... I tried that by adding the CSS code there to the custom.css file in UserSpice. I then added a line in the navigation.php to reference the custom.css stylesheet and used
Code:
<li class="divider"></li>
... but still nothing...

on the jsfiddle mentioned above, they are using
Code:
<li class="divider"></li>
and no CSS and it is showing up as a divider... but in UserSpice, with or without the CSS - Nada...

Any further ideas that I could try? or am I missing something on the above...

Thanks @muadmin
  Reply
#4
I was able to get the line in by closing out the existing div and creating another one just like it. So, I went into usersc/includes/navigation.php and did this...
https://hastebin.com/cuvixefina.js

Which makes it look like this...
http://puu.sh/uCmI0/32c78424ec.png

I hope that helps.
  Reply
#5
Perfect! That worked! Smile

Thanks buddy
  Reply
#6
No problem! I kinda got lucky on that one.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)