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

    Hi guys
    A few of questions:
    1. I have a language switcher in my fullwidth submenu which threw off the alignment of my menu items. I tried this to align them but it’s not working.
    .mobile_menu_toggle {
    vertical-align: middle;
    }

    2. In mobile view, I’d like to get rid of the “menu” text beside the hamburger icon, and move the icon to right align. Also is there a way to tighten up the mobile menu or not have it cover the whole screen? tried this:
    #top .mobile_menu_toggle .av-current-placeholder {
    display: none!important;
    }

    3. I am trying to disable the scolling zoom on some google maps, by putting this into a code block:
    <div class=”overlay” onClick=”style.pointerEvents=’none'”></div>
    <iframe src=”https://mapsengine.google.com/map/embed?mid=1GHXXb0-fuX96S53OYHZ3BXfXDoM&#8221; width=”100%” height=”480″></iframe>
    and then adding this to css:
    .overlay {
    background:transparent;
    position:relative;
    width:640px;
    height:480px;
    top:480px;
    margin-top:-480px;
    }

    which worked fine the other day, allowing no zoom scrolling until the map was clicked on.
    now the onClick=”style.pointerEvents=’none’ code disappears when I save the page, and all clicking on the map is disabled. What am I doing wrond. ??

    thanks for your help
    Nancy

    • This topic was modified 7 years, 8 months ago by Munford.
    #758884

    Hey Munford,

    1. To align the main menu and language switcher

    #top .av-subnav-menu > li {
        padding: 10px 0!important;
    }
    .menu-item-language {
    	transform:translateY(5px);
    }
    

    2. To remove menu and move the hamburget icon to the right

    /* hide menu text */
    #top .mobile_menu_toggle .av-current-placeholder {
        display:none!important;
    }
    /* Move to right */
    #top .mobile_menu_toggle {
        transform: translateX(40vw);
    }
    /* To tighten the menu space */
    @media only screen and (max-width: 767px) {
    .responsive #top .av-menu-mobile-active .av-subnav-menu > li > a {
        padding: 5px 15%!important;
        }
    .responsive #top .av-menu-mobile-active .av-subnav-menu > li a:before {
        top: 5px;
    }
    }
    

    3. To disable scroll zoom on maps give this plugin a try https://wordpress.org/plugins/wp-google-maps/

    Best regards,
    Vinay

    #759976

    thanks – that worked, but now my mobile menu looks strange, and when I try to fix it, the fullwidth submenu gets messed up. Now I am not sure what is affecting what.

    I see that your “tighten up the space” code is targeting mobiles but don’t understand why. Can you help me with this? I would like to fix the spacing on the mobile menu (too much padding) and either get rid of the arrows, or line them up properly. see here: http://imgur.com/a/jJMYQ

    thanks very much for your help
    nancy

    #762532

    Hi,

    you probably need to make sure that some of the code is not effecting your mobile menu, so use media queries to avoid that: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Best regards,
    Andy

    #769945

    yes I am doing that but it’s not taking my code…
    trying to align the arrows (or get rid of them) and would like it center aligned with less padding.
    could you take another look? right now it looks like this: http://imgur.com/a/umPOn
    thanks
    Nancy

    #770026

    Hi,

    use this code inside Quick CSS field:

    @media only screen and (max-width: 767px) {
    .responsive #top .av-menu-mobile-active .av-subnav-menu > li a:before {
    top: 16px;
    }}

    and adjust if needed.

    Best regards,
    Andy

    #770117

    great, that helped.
    Now I have a problem with the footer just on the page below.
    Can you take a quick look? I am getting a frame around it. Have not changed any css for the footer as far as I know.
    The english page is fine. Same css.
    ??
    Thanks
    Nancy

    #770573

    Hi Nancy,

    I can’t see any frame around the footer on that page using Chrome, in what browser are you seeing that?

    Best regards,
    Rikard

    #770605

    Hi RIkard,
    I see it on Chrome, Firefox.
    Here is an image: http://imgur.com/a/vw2EF
    It’s only on the danish page.
    thanks
    Nancy

    #771709

    Hi,

    Please deactivate all plugins but WPML by “OnTheGoSystems” one by one to check which one is causing this issue and let us know if this solves the problem.
    In addition to that, please let us know if we are allowed to deactivate one or more of your plugins as well for testing purposes :)

    Best regards,
    Andy

    #771743

    Yes you can test it.
    thanks
    Nancy

    #772680

    Hi,

    Please deactivate all plugins but WPML by “OnTheGoSystems” one by one to check which one is causing this issue and let us know if this solves the problem.

    Please update the theme to the latest version. That should fix any issues you are currently experiencing :)

    To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)

    Best regards,
    Andy

    #773594

    Thanks
    I updated and no change. I deactivated my plugins, no change. That page was fine before I did some updating a few days ago.
    Any ideas? It’s the landing page of my site :(
    Nancy

    • This reply was modified 7 years, 7 months ago by Munford.
    #775420

    Hi,

    deactivate your child theme and activate default Enfold theme instead, cause I think some customizations of your child theme are causing the issue and in this case you need to find out which one exactly is causing the issue.

    Best regards,
    Andy

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