Results 1 to 10 of 357

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by mydanilo View Post
    I would like to modify the mega menu to have a few simple (maybe hard coded) links without drop down. I have some Ezpages that need to be top level links. For example I would like to add an FAQ link.
    Sterling Grand has now: Home - Shop - Brands - Info - Contact
    I want to add to top level: Home - Shop - Brands - Info - Contact - FAQ

    As a second step I'd like to add more top level links and could do without the search box so I have space for more links.

    Is there a simple way to achieve this as there are no drop downs involved?
    To answer my own question. I found it in Sterling Grand thread:
    in tpl_mega_menu.php wherever the link needs to go.
    PHP Code:
    <li><a href="your url here">your link name here</a></li
    Live and learn... the Zen way.

  2. #2
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    How would I go about disabling the menu for mobile devices? I am at a loss, I read somewhere in this thread someone was doing it with @media but I have no idea how to do that. My site uses twitter bootstrap I believe. You can check it out at www.oldworldarchery.com

  3. #3
    Join Date
    Jul 2012
    Posts
    347
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    instead of showing all categories in one drop down/column can we show in multiple drop down/columns using mega menu like horizontal dropdown?

  4. #4
    Join Date
    Jan 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    I'm having a problem with IE.
    I have an iframe in the "Location" dropdown div on the menu and when I mouseover it in IE it closes the Location tab. It does not do this in other browsers and works properly.

    below is that code

    can someone help me?

    thanks

    /*bof customer service*/
    define('HEADER_TITLE_LOCATION','Location');
    define('TITLE_LOCATION','Dr suite, TX');
    define('TEXT_CONFIDENCE','<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3348.576771873294!2d-96.62542988528068!3d32.935778483181444!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3 m3!1m2!1s0x864c1da7b650fa0f%3A0x1e0930eb331249d!2s2376+Dr+%23106A%2C+TX+!5e0!3m2 !1sen!2sus!4v1462900552387" width="550" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>');

    Click image for larger version. 

Name:	pure_mega.jpg 
Views:	349 
Size:	52.2 KB 
ID:	16397

  5. #5
    Join Date
    Mar 2017
    Location
    auckland
    Posts
    10
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Hi folks - very nice menu & it works fine

    However I want my site to have an Amazon like look & the Amazon Mega Menu has a white background and displays a dark lightbox effect covering everything except the menu & header

    I wonder does anybody have the CSS code to do this?

    I assume its a Z-layer with opacity & layer is a depth below the header & menu which displays on hover?

    I would like to get it working this afternoon fingers crossed

  6. #6
    Join Date
    Mar 2017
    Location
    auckland
    Posts
    10
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by gareththomasnz View Post
    Hi folks - very nice menu & it works fine

    However I want my site to have an Amazon like look & the Amazon Mega Menu has a white background and displays a dark lightbox effect covering everything except the menu & header

    I wonder does anybody have the CSS code to do this?

    I assume its a Z-layer with opacity & layer is a depth below the header & menu which displays on hover?

    I would like to get it working this afternoon fingers crossed
    Heres my additional CSS:
    Code:
    /*LightBox Effect*/
    
    .black_overlay{
    	display: none;
    	position: absolute;
    	top: 0%;
    	left: 0%;
    	width: 100%;
    	height: 100%;
    	background-color: black;
    	z-index:1001;
    	-moz-opacity: 0.8;
    	opacity:.80;
    	filter: alpha(opacity=80);
    }

  7. #7
    Join Date
    Mar 2017
    Location
    auckland
    Posts
    10
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Not working yet

    I added the following to tpl_mega_menu.php

    Code:
    <div id="mega-wrapper" "javascript:void(0)" onclick = "document.getElementsByClassName('mega-menu').style.display='block';document.getElementById('fade').style.display='block';"><!-- bof mega-wrapper -->
    
        <ul class="mega-menu menu_red" "javascript:void(0)" onclick = "getElementsByClassName('mega-menu').style.display='none';document.getElementById('fade').style.display='none';"><!-- bof mega-menu -->
    And the following line to tpl_header.php

    Code:
    		  <div id="fade" class="black_overlay"></div>
    After the code that adds the mega menu

    If anybody has suggestions? obviously it must work on hover not click but I want to get it at least to display at all for a start

 

 

Similar Threads

  1. Help with Mega Menu css customization
    By swdynamic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jul 2013, 01:21 AM
  2. v139h Mega Menu Mess
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Nov 2012, 07:58 PM
  3. v150 Mega Menu assistance
    By Fancyfrills in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 24 Aug 2012, 06:16 PM
  4. Horizontal Drop Menu sort order of mega-menu
    By familynow in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Oct 2011, 04:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg