Close

Mega Menu Topics Drop Down

metta123
10 years ago
#2978 Quote
Avatar
  • 3
I'm using this feature and getting on well with it. I've create Topic menu which has a drop down which has the topic page contents in the drop down. What I want to do is have just a little of the actual topic pages content in the drop down. So if a user actually clicked on Topics they would be redirected to the topics page where there is a load more content thats not displayed in the dropdown.

Any ideas on how to achieve this? Along the lines of the beloew code.


<div class="row topic-wrapper">
<div class="box">
<p>In dropdown</p>
</div>

<div style="color: yellow;">Not in dropdown!</div>

IvanStoyanov
10 years ago
#2979 Quote
Avatar
  • Moderator
  • 269
metta123 wrote:
I'm using this feature and getting on well with it. I've create Topic menu which has a drop down which has the topic page contents in the drop down. What I want to do is have just a little of the actual topic pages content in the drop down. So if a user actually clicked on Topics they would be redirected to the topics page where there is a load more content thats not displayed in the dropdown.

Any ideas on how to achieve this? Along the lines of the beloew code.


<div class="row topic-wrapper">
<div class="box">
<p>In dropdown</p>
</div>

<div style="color: yellow;">Not in dropdown!</div>



Hi metta123,

To implement this feature you can do the following:


<div class="row topic-wrapper">
<div class="box">
<p>In dropdown</p>
</div>

<div class="not-in-menu">
<div style="color: yellow;">Not in dropdown!</div>
</div>


Notice that I have added
<div class="not-in-menu">
wrapper around the code, that will not be shown in the Nop Mega Menu.

Also you should add the following css code to the .css file of your theme or the Nop Mega Menu plugin:


.mega-menu .not-in-menu {
display: none;
}


Best regards,

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
metta123
10 years ago
#2980 Quote
Avatar
  • 3
It worked, that was brilliant. Thank you very much for your excellent assistance.
metta123
10 years ago
#2982 Quote
Avatar
  • 3
What about just displaying in the mega menu and not in the corresponding page?
IvanStoyanov
10 years ago
#2988 Quote
Avatar
  • Moderator
  • 269
metta123 wrote:
What about just displaying in the mega menu and not in the corresponding page?


Hi metta123,

Can you give us a more detailed description of what you are trying to accomplice?

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!