WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<link rel="stylesheet" href="your_project/templates/xxxxx/icofont/css/icofont.min.css">
Your attachement schows no back to top. only social icons.What do you want?
https://help.WebsiteBaker.org/en/designer-guide/multiple-menus.php
<div class="topmenu"> <?php //show_menu(); ?> <?php show_menu2(1,SM2_ROOT, SM2_CURR+1, SM2_TRIM,'<li><a href="[url]" class="[class]" title="[page_title]">[menu_title]</a>', '</li>', '<ul>', '</ul>','','', 0); ?></div>
<div class="footermenu"> <?php //show_menu(); ?> <?php show_menu2(1,SM2_ROOT, SM2_CURR+1, SM2_TRIM,'<li><a href="[url]" class="[class]" title="[page_title]">[menu_title]</a>', '</li>', '<ul>', '</ul>','','', 0); ?></div>
<div class="w3-right w3-hide-small" id="nav" style="margin-right:20px!important;"> <?php $sItemOpen = '<li class="lev[level] [if(level==0){toplevel w3-border-right w3-large }else{w3-border-0}] w3-hide-small [class]"><a href="[url]" class="[class]"><span>[menu_title]</span></a>'; echo show_menu2( $aMenu = 1, $aStart = SM2_ROOT, $aMaxLevel = SM2_ALL, $aOptions = SM2_ALL|SM2_PRETTY|SM2_BUFFER, $aItemOpen = $sItemOpen, $aItemClose = '</li>', $aMenuOpen = '<ul style="max-width:250px;">', $aMenuClose = '</ul>', $aTopItemOpen = false, $aTopMenuOpen = '<ul id="header_menu" class="menu w3-white">' ); ?> </div>
<div class="footermenu"> <?php //show_menu(); ?> <?php show_menu2(1,SM2_ROOT, SM2_CURR+1, SM2_TRIM,'<li><a href="[url]" class="[class]" title="[page_title]">[menu_title]</a>','</li>','<ul>', '</ul>','','', 0); ?></div>
CLASS ATTACHED TO ------------ ------------------------------------------------------- menu-top First menu tag only menu-parent Every parent menu item of the current page. menu-current Only the menu item for the current page. menu-sibling Every sibling of the current page. menu-child Every sub-menu of the current page. menu-expand Every menu item with children. menu-first First item in any menu or sub-menu. menu-last Last item in any menu or sub-menu.
.class .class {}.nav-menu .menu-current {color: #ffffff;}.footermenu .menu-current {color: #000000;}
Sorry, I dont understand what you mean by using the same class. The ID are different, so how can it be reading from the same class. I am sure I am not understanding it correctly. The CSS I generated and attached here is intended to generate basic horizontal footer links with submenus. I know it's wrong, but I'm not sure where it has gone wrong.Thanks.
Quote from: applepie on October 10, 2023, 01:27:06 AMYou use classes and no ID's in your css. Classes start with '.', ID's with '#'https://www.w3schools.com/html/html_id.aspThank you, got it fixed now.
You use classes and no ID's in your css. Classes start with '.', ID's with '#'https://www.w3schools.com/html/html_id.asp