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
Reply To: Hamburger Menu – Divider - 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: Reply To: Hamburger Menu – Divider (/showthread.php?tid=494)



Reply To: Hamburger Menu – Divider - muhammedc - 03-09-2017

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 To: Hamburger Menu – Divider - mudmin - 03-09-2017

I've never tried, but this is what people say on stack overflow.
http://stackoverflow.com/questions/14478091/bootstrap-divider-for-responsive-navigation

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





Reply To: Hamburger Menu – Divider - muhammedc - 03-10-2017

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 To: Hamburger Menu – Divider - mudmin - 03-10-2017

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 To: Hamburger Menu – Divider - muhammedc - 03-10-2017

Perfect! That worked! Smile

Thanks buddy


Reply To: Hamburger Menu – Divider - mudmin - 03-10-2017

No problem! I kinda got lucky on that one.