Forum Replies Created
-
AuthorPosts
-
NijnParticipant
Hi Pratik, the 3 horizontal bars are the only thing that shows. Fr some reason the tinynav had gotten a color (through custom CSS, no clue why I added that some 100 years ago :-)) that nearly matched the background color of the menu bar(that has been the grey gradient it is right now forever.
I removed the custom CSS lines for the TinyNav class and the issue is solved.NijnParticipantHi Pratik,
Although not quite the answer I was expecting, this is e clear answer to my question, thanks for the swift response!
NijnParticipantOkay, thanks. It is probably some “intelligence” from Windows to alter the size in Edge (I run my laptop at full HD resolution on an 11 inch screen, so Windows might consider that too small:-)).
Thanks for the quick response!NijnParticipantJust to let you all know:
I fixed it by installing a links widget and using one of the widget areas to display it.
Works like a charm!NijnParticipantHi Sakin,
Thanks, I imagined things less complicated than this
I will use another (already present) menu location instead.NijnParticipantDon’t know hwy IE suddenly rendered the menu in the wrong direction. Looks good again. So current site is okay, new menu still doesn’t show up.
NijnParticipantHi Sakin,
I have created a child-theme, and altered the functions.php so it looks as follows:<?php // ** Add menu function catchevolution_below_header_top_menu() { register_nav_menu('Top-Link-Menu',__( 'Menu top for Links' )); } add_action( 'catchevolution_before_header', 'catchevolution_below_header_top_menu', 15 ); // Add custom CSS add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } ?>
I don’t see the secondary menu appear in the HTML code (it’s not on the screen because the display:none is still in the css), and now the regular menu no longer lists the items left to right, but top to bottom (please check http://www.mondzorgtraianus.nl).
Any ideas?NijnParticipantHi Sakin,
Thanks for your reply!
I don’t think I understand you completely; I cannot find any “access-top wrapper ID” in the header.php.
A snippet of the header.php:<header id="branding" role="banner"> <?php /** * catchevolution_before_headercontent hook * * @hooked catchevolution_header_topsidebar - 10 */ do_action( 'catchevolution_before_headercontent' ); ?> <div id="header-content" class="clearfix"> <div class="wrapper"> <?php // *** ADD CUSTOM MENU // *** wp_nav_menu( array( 'theme_location' => 'Top-Link-Menu', 'container_class' => 'Top-Link-Menu-Class' ) ); // *** // *** END OF CUSTOM MENU ADDITION /** * catchevolution_headercontent hook * * @hooked catchevolution_headerdetails - 10 * @hooked catchevolution_header_rightpsidebar - 15 */ do_action( 'catchevolution_headercontent' ); ?> </div><!-- .wrapper --> </div><!-- #header-content --> <?php /** * catchevolution_after_headercontent hook * * @hooked catchevolution_header_menu - 10 */ do_action( 'catchevolution_after_headercontent' ); ?> </header><!-- #branding -->
Have I inserted the code for the custom menu in the right place?
Thanks!NijnParticipantHi Sakin,
The URL for the website is http://www.mondzorgtraianus.nl
I have created a child-theme (catch-Evolution-Child) and altered the header.php in the child-theme to include the additional menu.
I could not get a second instance of the website running, so the additional (curently ugly looking) menu sits in the production site. To hide it from visitors I have altered the CSS to simply not display the additional menu.
The menu is in the class “Top-Link-Menu-Class”.
I want the new menu to look exactly the same as the current top-menu (the one with the options “spoed”, “contact” and “beheer”). The new menu should be on top of the screen, with the current top-menu (spoed, contact and beheer) just below it.
Can this be done by just CSS?
Thanks a lot in advance!NijnParticipantHi Sakin,
That does the trick exactly! This makes navigation on mobile devices a lot easier, thanks a lot for your reply!
NijnParticipantHi Sakin,
Thanks for your quick reply. The url for the site is vriezeweg17.nl/mt. I would like to change the “menu” title of the fixed top menu. -
AuthorPosts