
-
AuthorPosts
-
September 1, 2016 at 12:13 pm #680657
Hello,
I would like to know how I can remove the current item in a sidebar menu.
It makes duplicate (double emploi) with the title.
Best regardsSeptember 1, 2016 at 1:16 pm #680688Hey gmpublique,
Would you mind posting us a link to your site where we can inspect the element and if possible a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)
Best regards,
VinaySeptember 1, 2016 at 2:14 pm #680720Hello,
as described on the attached screenshot,
in Child pages sidebar menu, I would like
First : Remove the curent item text
Second : Display the parent page title (text+link) (only on the child pages I found a code in the forum but it displayed the Parent title in the sidebar menu of the parent page as well… )Thak’s for your help
gSeptember 5, 2016 at 9:03 am #682027Hi!
We need a link to your site aswell.
Best regards,
JosueSeptember 6, 2016 at 3:43 pm #682682Hello Josue,
I previously sent an access to the dev site version but apparently, you didn’t recieve it…
Please find the code in Private Content and let me know if you have all you need to answer to my QuestionThank’s you
Have a nice day
gSeptember 6, 2016 at 3:55 pm #682687Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.main_color .widget_nav_menu ul:first-child>.current_page_item { display: none; }
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
Best regards,
YigitSeptember 6, 2016 at 4:04 pm #682692Thank you Yigit! That’s work perfectly.
Now, next step is to Add the Parent page title and link on the Child pages menu (only on them, not on the parent page of course)
I tried a code found on the forum but it add the parent page title and link on the parent page too… nicht gut ; – )Thank’s a lot
gSeptember 6, 2016 at 4:08 pm #682695Hi G!
I am not sure if i understood the changes you would like to make. Could you please elaborate a bit more? It is not really understandable from your screenshot as well :/
Best regards,
YigitSeptember 6, 2016 at 4:36 pm #682712At first, sorry for my poor English ; – )
My goal is to display the tittle of the parent page above the item of the menu items in the sidebar, but only on Child pages. Not on the Parent page itself.
Is it more understable said like it or did you need more information?
I have found the code for it in your forum (#575658) and it’s working and display the parent page title and link in nested menu but the problem is that display this item also on the parent page itself… I tried to solve this isssue without success….Thank’s
September 6, 2016 at 4:40 pm #682716Hey!
Please refer to this post – https://kriesi.at/support/topic/add-parent-page-title-to-automatic-sidebar-menu/#post-660860
Regards,
YigitSeptember 6, 2016 at 5:05 pm #682735Now, same question as posted in #post-660860
HOW to add the link to the parent page on the title?Plus
How to NOT DISPLAY the Title of the Parent page in the sidebar menu of this Parent page itself?Thank’s
September 6, 2016 at 5:15 pm #682743Hi!
I replied to the other thread adding link to the parent title. Please replace the code with the new one and then post the link to your parent page where you would like to remove parent menu from sidebar.
Regards,
YigitSeptember 6, 2016 at 5:38 pm #682755Sorry but i don’t understand what you mean Yigit…. and then post the link to your parent page where you would like to remove parent menu from sidebar.
In each parent pages, i want to remove the title of this parent page in the submenu in the sidebar. (cf. screenshot)Thank you for your help, it’s important for me to know and understand how to achieve it
Please replace the code with the new one The code is working verry well.
We get the link on the title of the parent page and with css code now it’s left alignedSeptember 7, 2016 at 4:06 pm #683231Hello,
Sorry to disturb you again and again but I really need to know how i could [Remove – Do not display] the parent page title in the nested menu on the parent page itself.Please ask for more information if the attached screenshot is not clear enough to explain this issue.
Thank’sSeptember 10, 2016 at 8:25 pm #684566Hi,
I can’t find the element on the link you’ve provided. Can you provide us a precise one please?
Best regards,
AndySeptember 10, 2016 at 10:02 pm #684591Hello Andy,
Thank you to have a look on the screenshot and/or directly on the Website in dev mode (see private data)The issue is relativly simple:
Adding the title of the parent page in the sidebar menu for the Child pages, that displays the title and the link of this parent page on the parent page itself. The question is How to remove the parent page title in the sidebar menu of this parent page? It makes a duplicate with the title of the page.Thank’s for your help
guylèneSeptember 12, 2016 at 11:43 am #685000Hi,
login is not working and again: can you provide us a precise link where we can inspect the elements in question please?
Best regards,
AndySeptember 12, 2016 at 12:39 pm #685034Bonjour Andy,
Could you please to visit the page linked in PrivateData section. I have created a new admin account for you and checked it… it’s working
Thk’sSeptember 12, 2016 at 2:12 pm #685110Hi,
thanks for the precise link. Use this code inside Quick CSS field:
a.avia-parent-title { display: none; }
Best regards,
AndySeptember 12, 2016 at 3:22 pm #685187Thank you Andy for this code but it doesn’t solved my problem.
The code removes the parent page title in the Parent page submenu, but it removes it as well in the Child pages submenu , where we need to display this parent page title.
September 13, 2016 at 12:36 pm #685691Hi,
that won’t be easily possible. You would need to search for a plugin with such a function. Check out this: http://www.wpbeginner.com/plugins/how-to-add-conditional-logic-to-menus-in-wordpress/
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.