Jump to content

Remove Child Links from Top Block menu Source Code


Floobynooby

Recommended Posts

Many Thanks for the reply. If an example of the code was as follows which part would I use for the display none to remove the child and childs/child links (sub categories and sub/sub categories).. Many Thanks.

 

 

<div id="tptntopmenu">
<span class="tglr"/>
<div class="tptnresp-title">Categories</div>
<ul class="tptnmegamenu">
<li>
</li>
<li>
</li>
<li class="sfHoverForce tptnresp-parent-li">
<span class="tptnresp-icon"/>
<a href="http://www  . website .com/19-category3" class="tptnresp-parent">Parent 3</a>
<ul style="display: none;">
<li class="tptnresp-parent-li">
<span class="tptnresp-icon"/>
<a href="http://www  . website .com/228-child1" class="tptnresp-parent">Child 1</a>
<ul style="display: none;">
<li>
<a href="http://www  . website .com/189-childs-child1">Childs child 1</a>
</li>
<li>
<a href="http://www  . website .com/188-childs-child2">Childs child 2</a>
</li>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...