Secondary menu, submenu does not work

5 replies·opened Oct 18, 2020
F
flymacOct 18, 2020

Hello,

on this page: http://themes.semicolonweb.com/html/canvas/index-onepage-2.html

in the secondary menu (green color) I cannot insert any submenus.
For example: in the first "Start" menu

<li class="page-menu-item"><a href="#"><div>Start</div></a></li>

i tried like this but it doesn't work:

<li class="menu-item"><a class="menu-link" href="#"><div>Start</div></a>
<ul class="sub-menu-container">
<li class="menu-item"><a class="menu-link" href="#">Sub menu 1</a></li>
<li class="menu-item"><a class="menu-link" href="#">Sub menu 2</a></li>
<li class="menu-item"><a class="menu-link" href="#">Sub menu 3</a></li>
</ul>
</li>

Thanks for any help or suggestions

S
SemiColonWebSTAFFOct 18, 2020

Hello,

The Codes you are using are incorrect! Page-Menus use different classes!

Use the following codes:

<li class="page-menu-item"><a href="#"><div>Start</div></a>
	<ul class="page-menu-sub-menu">
		<li class="page-menu-item"><a href="#"><div>Sub-Menu 1</div></a></li>
		<li class="page-menu-item"><a href="#"><div>Sub-Menu 2</div></a></li>
	</ul>
</li>

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

F
flymacOct 19, 2020

Hello,

works great, thanks!

Last question: http://themes.semicolonweb.com/html/canvas/index-onepage-2.html

I have removed "Explore CANVAS", I want to center the menu, is help possible?

This is the code:

<div id="page-menu">
			<div id="page-menu-wrap">
				<div class="container">
					<div class="page-menu-row">

						<nav class="page-menu-nav one-page-menu">
							<ul class="page-menu-container">
<li class="page-menu-item"><a href="#"><div>Start</div></a>
	<ul class="page-menu-sub-menu">
		<li class="page-menu-item"><a href="#"><div>Sub-Menu 1</div></a></li>
		<li class="page-menu-item"><a href="#"><div>Sub-Menu 2</div></a></li>
	</ul>
</li>
							</ul>
						</nav>

						<div id="page-menu-trigger"><i class="icon-reorder"></i></div>

					</div>
				</div>
			</div>
</div>

Thanks again

S
SemiColonWebSTAFFOct 19, 2020

Hello,

This is Definitely Possible! Simply remove the .page-menu-title DIV and then replace the following code:

<div class="page-menu-row">

with this:

<div class="page-menu-row justify-content-end justify-content-lg-center">

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

F
flymacOct 20, 2020

Thanks, it works great!

Thanks again :)

S
SemiColonWebSTAFFOct 20, 2020

Hello,

Very Happy to Help!

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard