Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1054494

    I’m using left sidebar with a menu widget. Whenever I click on a “child” page in the navigation, the entire block (parent and children pages) indents.

    https://gyazo.com/1b5debf2e79bd50cce50bcbb39e7816f

    Here is an animated gif showing what I mean. I’m clicking between Civil Litigation: Insurance Defense and Business Law: Corporate Matters. Notice how the entire block indents when I click.

    The website is being built here:

    How do I make it so the block does not indent when I click on the child page?

    Thank you!

    #1054495
    This reply has been marked as private.
    #1055085

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    /* CSS - */
    
    
    #top .sidebar_left.sidebar_align_left .widget_nav_menu ul:first-child>.current-menu-ancestor {
        padding-left: 0px;
    }
    
    
    

    Best regards,
    Vinay

    #1055312
    This reply has been marked as private.
    #1055328

    Hi,

    I’m not able to access your url.

    Best regards,
    Jordan Shannon

    #1055336
    This reply has been marked as private.
    #1055338
    This reply has been marked as private.
    #1055347

    Hi,
    I took a look at your menu and the first screen capture you posted, in the first image the parent item was moving over to the right,
    such as “civil litigation” and “business law”
    but when I check it with Chrome, Firefox, & Edge, the parent items are not moving. You last image seems to also support this.
    2019-01-17-222205
    Does this mean it’s solved now?

    Best regards,
    Mike

    #1055353
    This reply has been marked as private.
    #1055451

    Hi,
    Thanks for explaining, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .sidebar .widget_nav_menu ul:first-child>.current-menu-ancestor {
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important; 
    }

    To change the font of the parent items, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    li.menu-item-has-children>a {
    font-weight: bolder !important;
    color: red !important;
    }

    please adjust the styling to suit, I included the color red to demonstrate which menu items are effected.
    2019-01-18-064504
    Best regards,
    Mike

    #1117834

    Hi Mike,
    I have a same issue at this sidebar menu. I’d like that the current page link is aligned withe the other links, without background color.

    What can i do?

    #1117842

    I found other suggestions in another post, and I solved it!

    #1117940

    Hi sere,

    Great, I’m glad that you found a solution and thanks for the update. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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