Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #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 regards

    #680688

    Hey 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,
    Vinay

    #680720

    Hello,
    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
    g

    #682027

    Hi!

    We need a link to your site aswell.

    Best regards,
    Josue

    #682682

    Hello 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 Question

    Thank’s you
    Have a nice day
    g

    #682687

    Hi,

    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,
    Yigit

    #682692

    Thank 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
    g

    #682695

    Hi 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,
    Yigit

    #682712

    At 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

    #682716
    #682735

    Now, 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

    #682743

    Hi!

    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,
    Yigit

    #682755

    Sorry 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 aligned

    #683231

    Hello,
    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’s

    #684566

    Hi,

    I can’t find the element on the link you’ve provided. Can you provide us a precise one please?

    Best regards,
    Andy

    #684591

    Hello 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ène

    #685000

    Hi,

    login is not working and again: can you provide us a precise link where we can inspect the elements in question please?

    Best regards,
    Andy

    #685034

    Bonjour 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’s

    #685110

    Hi,

    thanks for the precise link. Use this code inside Quick CSS field:

    a.avia-parent-title {
    display: none;
    }
    

    Best regards,
    Andy

    #685187

    Thank 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.

    #685691

    Hi,

    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

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.