Double "Search" option for Off-Canvas Menu

Discussion in 'Closed Reports' started by jflory7, Aug 26, 2015.

  1. jflory7

    jflory7 Customer

    Before submitting a bug report we usually recommend trying to replicate the problem on a default XenForo style(if applicable) to eliminate the possibility of it being a bug related to our styles.


    Website address (optional): crystalcraftmc.com
    Bug Report Details:
    When using the off-canvas menu, it appears that the search option appears twice. Tested from an HTC One M8 using Firefox for Android.
    [​IMG]
     
  2. Russ

    Russ Designer

    Should of thought of that :D, the search should of been an option in the off-canvas menu.

    EXTRA.CSS:

    Code:
    Copy Source
    .xbOffCanvasOpen .navTab.searchMini {
    display: none !important;
    }
    
    EDITED*** Use this


    I have some options planned for the menu which this will be one of them(enable/disable the search).
     
    jflory7 likes this.
  3. kaieivindm

    kaieivindm Customer

    Hi @Russ and @Steve

    Seems like I have 2 search bars after upgrading to 1.5.0? In the new mobile menu.
    Enabled

    Søk = Search.

    Had to use quick search location 3, else I had 2 search bars next to one another in in Chrome as well on the desktop.

    View attachment 2373
     
  4. kaieivindm

    kaieivindm Customer

    No idea how I created two threads :(
     
  5. Russ

    Russ Designer

    Fixed, also moved it to styles area(we're working on a little revamp to better suit for our add-on side of things :).

    Merged threads :)
     
    kaieivindm likes this.
  6. kaieivindm

    kaieivindm Customer

    Thanks a million! Only bug I found so far :)
     
    Russ likes this.
  7. jflory7

    jflory7 Customer

    Awesome, thanks, just applied this to my forum!
     
    Russ likes this.
  8. kaieivindm

    kaieivindm Customer

    @Russ that extra.css line did not help me and my mobile version.
     

    Attached Files:

  9. Russ

    Russ Designer

    You may have an older class on your navigation possibly... Can you inspect the element in a browser to see the class?

    Default is I think .searchMini which gets hidden, yours may be a different name:

    Screenshot_19.png
     
  10. kaieivindm

    kaieivindm Customer

    @Russ dont know if this was smart or not... but only way I could fix it, was to add this:

    Code:
    Copy Source
    .xbOffCanvasOpen .navTab.xbOffCanvasExtraLink {
    display: none !important;
    } 
    into:
    xb_offcanvas_menu.css

    I tried in EXTRA.CSS as well, but no luck at all.
     
  11. Russ

    Russ Designer

    So did that fix work for you? Next release I'll have some options for the mobile menu
     
  12. kaieivindm

    kaieivindm Customer

    Yes that fixed it for me. (y)
     
    Russ likes this.
  13. jflory7

    jflory7 Customer

    Also, to follow up, this actually didn't work for me either. What @kaieivindm posted worked for me also.
     
    Russ likes this.
  14. Russ

    Russ Designer

    This is technically fixed in the next version, we've approached the Off-Canvas slightly different
     
    jflory7 likes this.
  15. Russ

    Russ Designer

    Fixed in 1.5.1
     
    jflory7 likes this.

Let's work together on your next project

Contact us today to talk about how we can help you