Use Textcrawler to find the keywords you're looking for. admin/view/template/common/header.twig file.
The most generated errors being found on Opencart forum originates from contributed programming.
Regards,
Straightlight
You can remove ANY element from ANY page using simple CSS definition like "display: none". Just need to find out the selector.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
I made a Ocmod extension for you
Add this to your custom CSS file:
.nav .dropdown-menu.dropdown-menu-right li:nth-of-type(n+5) {
display: none;
}
If you don't have custom.css, I'd really recommend you to create it and add to the page. It's a lot easier to solve such issues with CSS rather than having a bunch of one-liner extensions.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Or....can edit header.twig from admin/view/template/common/
And change this:
In this:
Without "having a bunch of one-liner extensions.".
His choice
And change this:
Code: Select all
<li><a href="http://www.opencart.com" target="_blank"><i class="fa fa-opencart fa-fw"></i> {{ text_homepage }}</a></li>
<li><a href="http://docs.opencart.com" target="_blank"><i class="fa fa-file-text-o fa-fw"></i> {{ text_documentation }}</a></li>
<li><a href="http://forum.opencart.com" target="_blank"><i class="fa fa-comments-o fa-fw"></i> {{ text_support }}</a></li>
Code: Select all
<!--<li><a href="http://www.opencart.com" target="_blank"><i class="fa fa-opencart fa-fw"></i> {{ text_homepage }}</a></li>
<li><a href="http://docs.opencart.com" target="_blank"><i class="fa fa-file-text-o fa-fw"></i> {{ text_documentation }}</a></li>
<li><a href="http://forum.opencart.com" target="_blank"><i class="fa fa-comments-o fa-fw"></i> {{ text_support }}</a></li>-->
His choice

It's always a VERY bad practice to edit core files. Instead the one should ALWAYS use VQMod/OCMod extension. But for tasks like moving or hiding an element on the page it is even better to use custom.css file, which also should be added to header with extension.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Who is online
Users browsing this forum: No registered users and 21 guests