Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #553811

    Sorry for bothering you again folks:

    Q1. I created a custom menu for My Account (Mein Konto) in the sidebar using a widget http://www.deboman.com/Wordpress/?product_cat=vorlagen
    Problem: There are borders between the menu items which I would like to remove. Non of the many shortcodes available here in the support forum worked. The last one (of many) I tried
    #top .widget_nav_menu li.menu-item a{
    padding: 1px 1px;
    border: none !important;
    }

    Q2. When hover over the My Account-menu items I would like to have the same behavior as for the Product category menu (underlined, different color). How to expand the code below to enforce this behavior?

    Q3: In the same sidebar I have the Product Category. When selecting the main menu/category (eg. Vorlagen & Tools) the submenu collapses and the whole menu structure gets the “active color” (and bolded). However, only the selected/active main menu shall get the new color, bold (and the submenus not). Currently used code for Q2 & Q3:

    #top .widget_nav_menu li.current-menu-item a{
    color: #2997ab!important;
    font-weight: bold!important;
    }
    .current-cat a {
    color: #2997ab!important;
    font-weight: bold!important
    }

    Thx again

    Manfred

    #553992

    Hey Manfred!

    1- Seems like you figured this one out? :)
    2- Please add following code to Quick CSS

    ul#menu-submenu li:hover a {
        text-decoration: underline;
    }

    3- Please change your code to following one

    #top .widget_nav_menu li.current-menu-item > a{
    color: #2997ab!important;
    font-weight: bold!important;
    }
    .current-cat > a {
    color: #2997ab!important;
    font-weight: bold!important
    }

    Best regards,
    Yigit

    #554064

    Hi Yigit

    Q1: Border issue not yet fixed. You can obviously see them only on higher resolution screens (eg on my retina display, see attached screenshot). The borders are always on the top / bottom of the activated menu item
    Borders between menu items

    Q2, Q3 works perfectly!! Great, Thank you!

    #554510

    Hey!

    Can you please post a screenshot and show the issue? I tried changing screen resolution to 1920x1200px but still no border is visible to me

    Regards,
    Yigit

    #554529

    Hope you can see it …

    #554530

    Border

    Hope you can see it …

    #554537

    Hi!

    Please try flushing browser cache and refresh your page a few times. If that too does not help, please add following code to Quick CSS

    ul#menu-submenu, ul#menu-submenu * {
        border: none!important;
    }

    Cheers!
    Yigit

    #554583

    Flushing cache and code did not solve this small issue. Maybe you have another idea?
    Thanks for all your support

    #556513

    Hey!

    you are using an old version of WordPress. Please upgrade and let us know if you still need help afterwards.

    Best regards,
    Andy

    #556596

    I upgraded to new WP version. The issue still exists.

    #557329

    Hey!

    Please use this instead:

    .sidebar .widget_nav_menu ul:first-child>.current-menu-item, .sidebar .widget_nav_menu ul:first-child>.current_page_item, .sidebar .widget_nav_menu ul:first-child>.current-menu-ancestor {
        box-shadow: 0;
    }

    Regards,
    Ismael

    #560438

    Thanks Ismael, but it did not change anything. I give up on this..

    #560968

    Hi!

    I checked the site and I don’t see the borders anymore. Please remove browser cache or hard refresh the page.

    Best regards,
    Ismael

    #561121

    Strange, on my screens the lines still exists, even after refreshing the page. Never mind, I will live with it.

    But could you please provide the CSS code for decreasing the space between the menu items in the sidebar?

    You might then please close the issue.

    Thanks a lot for all your help!!

    #561292

    Hey!

    Please add following code to Quick CSS

    ul#menu-submenu a {
        padding: 0;
    }

    Best regards,
    Yigit

    #561352

    Thanks a lot!

    And, a miracle happened: I found myself the right coding for the strange border issue. For anyone who might need this too:

    .sidebar .widget_nav_menu ul:first-child>.current-menu-item, .sidebar .widget_nav_menu ul:first-child>.current_page_item, .sidebar .widget_nav_menu ul:first-child>.current-menu-ancestor {
    box-shadow: 0px 0px 0px 0px ; }

    In my case it was defaulted as “box-shadow: 0px 0px 1px 0px”

    Amazing …

    #561356

    Hey!

    Glad you figured it out!
    Let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Sidebar widget custom menu: remove border between menu items’ is closed to new replies.