BrickHunters wrote:Hello,
Thank you for your reply. It is good to have that cleared out.
Now for the difficult part: I have little to no knowledge of programming in the C# language. So far I've been doing great on my own website adjusting CSS files and I got that covered.
Perhaps I would be able to figure something out in these razor files. In which file should I be doing my tests and could you please steer me in the right direction? I am a swift learner :)
Thank you
Hi,
The correct file which is displaying the Mega Menu is the
\Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Views\MegaMenu\MegaMenu.cshtml.
Inside it you will find this code, which is showing the categories dropdown. As you said, you do not need it, so you can remove it:
if (Model.Settings.EnableCategories)
{
if (isMegaMenuResponsive)
{
@Html.Action("GetCategoriesResponsive", "MegaMenu", Model.Categories)
}
else
{
@Html.Action("GetCategories", "MegaMenu", Model.Categories)
}
}
On its place you can write your own mark-up, which should follow our menu structure, showing the products you want by hard-coding them. I believe this will also require additional styling, because the menu does not styling for products.
I hope this helped you. Please write if you need any further help!