Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #836714

    I am having a problem, in that when I view my site in mobile, there is an overlay of the search icon (mag glass), rather than listing it as another menu item.

    You can preview the issue at http://dev.mediabox.ca/3/ but it looks like this:

    icon overlay

    It even shows two scroll bars which is really strange, and the vertical separator which I’d rather not see in mobile mode.

    Separate but while on the subject (please let me know if I should start a separate thread), I am also using WPML and I would rather not see the flags in the menu. They are turned off in WPML settings and I am already suing your code:

    #top #avia-menu .av-language-switch-item {
    display: none;
    }

    to remove them from display in the non-mobile version of the site. Clearly that code does not have an effect on the hamburger menu :-\

    Thanks in advance!
    Gabriel

    #836762

    Hey GabrielSenn,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Best regards,
    John Torvik

    #837038
    This reply has been marked as private.
    #837413

    Hi GabrielSenn,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 475px) {
      .av-burger-overlay-active #top #menu-item-search {
       display: none !important;
    }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #837508

    Hello Victoria,

    While that works, it removes the search option all together, rather than list it. For my needs at the moment that will do.

    What about the flag icons though? Any suggestions about that?

    Thanks.

    #839243

    Hi GabrielSenn,

    What about them? Do you want to hide them for mobile?

    Best regards,
    Victoria

    #839319

    That is correct Victoria.

    #839506

    Hi GabrielSenn,

    Can you give them some class? Hard to target them the way they are now.

    Best regards,
    Victoria

    #839522

    You gave me a partial answer in your question :) They do have a class, it is “language_flag”

    I’ve tried:

    .language_flag {
    display: none;
    }

    and it removes the flags, but, it keeps the dividing lines above and below. Any suggestions? (please note that I do want to keep the dividing lines between the other menu items)

    #839829

    Hi GabrielSenn,

    I am not seeing the classes on a mobile menu

    View post on imgur.com


    That’s why I asked about it. The menu for mobile is a “clone” of the normal and it is a bit different.

    Best regards,
    Victoria

    #839935

    Does this help?

    class

    #840868

    Hi GabrielSenn,

    Those classes are too deep. Let’s try this:

    
    .av-active-burger-items:nth-child(8), .av-active-burger-items:nth-child(9) {
      display: none;
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #840898

    Thank you Victoria, that worked.

    FYI, I had to use it together with:

    .language_flag {
    display: none;
    }

    In order to ensure the icons did not show up at all.

    For anyone visiting this thread for reference, the final code for me needed to be:

    /* Remove flags from the menu & hamburger menu */

    .language_flag {
    display: none;
    }

    .av-active-burger-items:nth-child(8), .av-active-burger-items:nth-child(9) {
    display: none;
    }

    I am assuming that the values child(8) and child(9) are to do with the position in the menu, and that if I was to add or remove menu items I may need to change those values. Correct?

    #841430

    Hi GabrielSenn,

    Yes, you’re correct. You will need to update the number if the menu changes.

    Glad we got things working for you :)

    Best regards,
    Victoria

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