New Landing How can we help? Themeforest Theme Support Neighborhood Hide duplicate dropdown menu link

Viewing 15 posts - 1 through 15 (of 15 total)
  • #80969
    jared
    Member
    Post count: 16

    I want to hide “login” from the top menu, but keep it to the right of the logo. I also want to hide the “subscribe” dropdown link next to the logo. But keep it in the top bar.

    I would also like to change the word “subscribe” to say “Subscribe to our newsletter!”

    http://goofballandsuperduck.com/

    #81006
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi there

    1) Add this custom css:

    .header-right .header-menu .menu > li:last-child {
      display: none;
    }

    2) Go to includes/swift-framework/sf-content-display/sf-header.php and find line 672. Where is says “SubscribeBS” change it to “Subscribe to our newsletterBS”

    – Kyle

    #81260
    jared
    Member
    Post count: 16

    That worked the problem is I want to hide the subscribe from the right menu, keep “my account”. And I want to hide everything BUT the “Subscribe” form the top left menu.

    Thanks

    #81265
    Melanie – SUPPORT
    Member
    Post count: 11032

    Okay, change last-child to first-child, that should remove the subscribe from the right.

    .top-menu li:last-child {
    display: none;
    }

    will hide the login from the left!

    #81268
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ahh sorry, change the css to:

    .header-right .header-menu .menu > li:last-child {
      display: none;
    }
    .top-menu .menu li:last-child {
      display: none;
    }

    – Kyle

    #81277
    jared
    Member
    Post count: 16

    That fixed part of it. The issue I’m having is when logged in the top menu is showing “sign out” I’d like to hide that. Also the right menu I’d love for the order to be “my account” and then “sign out”.

    #81351
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok try this:

    .header-right .header-menu .menu > li {
      display: none;
    }
    .top-menu .menu li {
      display: none;
    }
    .header-right .header-menu .menu > li:first-child {
      display: inline-block;
    }
    .top-menu .menu li:first-child {
      display: inline-block;
    }

    – Kyle

    #81913
    jared
    Member
    Post count: 16
    This reply has been marked as private.
    #82264
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I don’t see the CSS that I gave you in your custom css?

    – Kyle

    #82409
    jared
    Member
    Post count: 16

    I just pasted it right now again, and it’s still just showing the “newsletter” in the right, “my account” and “login” are no longer showing.

    #82562
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Where are you pasting the CSS? When I go to Theme Options > General, then go to the custom css box it is not there

    – Kyle

    #82862
    jared
    Member
    Post count: 16

    It keeps deleting my css. I had css to center the menu too and that disappeared. Have you ever had this problem? I just re-pasted the code above and only the “newsletter” showing. I need “newsletter” to be hidden on the right, and just have “my account and Logout” on the right.

    #82942
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    For some reason the CSS in not in your theme options, however it is still applying in the front end.

    This should work:

    .top-menu .menu li {
      display: none;
    }
    .top-menu .menu li:first-child {
      display: inline-block;
    }
    .header-right .header-menu .menu > li:first-child {
      display: none;
    }
    

    – Kyle

    #83236
    jared
    Member
    Post count: 16

    The top left bar is fine, it’s only showing “newsletter” which is what I want. But the right menu is only showing “newsletter” too and that’s not what I want. I want the right menu to only be “my Account” and “login/logout”. I’ve attached an image showing.

    #83333
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That’s because the previous CSS I gave you is still there (see screenshot)

    You need to remove:

    .header-right .header-menu .menu > li {
      display: none;
    }
    .top-menu .menu li {
      display: none;
    }
    .header-right .header-menu .menu > li:first-child {
      display: inline-block;
    }
    .top-menu .menu li:first-child {
      display: inline-block;
    }

    – Kyle

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register