inherit
236185
0
Mar 4, 2019 11:36:19 GMT -8
Hero Prinny
16
August 2016
heroprinny
|
Post by Hero Prinny on Aug 10, 2017 15:26:45 GMT -8
So I'm actually trying my hand at making a theme. And going into this, I knew I want something like a push menu sidebar, so it would be more mobile friendly. I knew a push sidebar code resource from some coding dabbling in Jcink, and I wasn't sure if I could add that correct to a theme and to a proboards theme at that. But basically my theme test site, and the push sidebar I'm trying to implement. I stuck the first bit of html code between the </head> and <body> tags in the forum wrapper template. And the second html code part just before the </body> tag. And I'm not entirely sure why the push element of the sidebar isn't working or showing. Am I just sticking the code in the wrong place or is it something else I'm missing? Thank you in advance!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 13, 2017 21:32:49 GMT -8
Hero Prinny , Not sure if you still need help but I would typically stay away from a menu for a different host and I can't tell you if that one you linked to would work, but this push menu is really easy to implement. I have it working on this test site although I hate push menus so made it a slide menu just so it would slide out over my forum rather than push it aside and I did that just by using z-index. The only issue was remaking the little bubbles when you have messages or notifications. I basically copied lines 10 through 32 of the html part on the link I provided (Click the tabs)(you don't want anything else in the html part but 10-32)). Also copied their css and javascript and the javascript I just put at the very bottom of my wrapper template putting <script> and </script> tags around the JS part. Styles could go at the bottom of your style sheet although I currently have the styles in the wrapper template. Now I don't know if you want your regular menu in there like I have but if you do, I just copied starting with the ul part, that is ProBoards default menu, to the closing ul part and just added a 1 after the ul tag class so it didn't render the ProBoards menu styles. This part: <ul role="navigation 1"> I pasted it in place of what they have starting with their ul starting and ending tags and everything inbetween. After that, its pretty much styling it how you like.
|
|
inherit
236185
0
Mar 4, 2019 11:36:19 GMT -8
Hero Prinny
16
August 2016
heroprinny
|
Post by Hero Prinny on Aug 14, 2017 13:58:59 GMT -8
Thank you!
I made a new theme to test that sidebar out and to work on it, and it's basically all I was wanting functionally. Also thank you for the site link, I've never heard of code academy before, but I'm definitely going back to it later!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 14, 2017 22:44:27 GMT -8
Thank you! I made a new theme to test that sidebar out and to work on it, and it's basically all I was wanting functionally. Also thank you for the site link, I've never heard of code academy before, but I'm definitely going back to it later! You're welcome. Glad that worked for you.
|
|