Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @takanakui

    Sorry for the delay. So I was able to get my very hacky, ungraceful solution working with 2.5. You can see it on my website here: https://www.netris.us

    All I did to achieve this is add the following code to includes/dynamic-style.php at line 404, I believe:

    .mob-menu-slideout-over.show-nav-left .mobmenul-container { 
      margin-left: <?php echo $left_menu_width; ?>;
    }

    This pushed the cancel button out, but it was under the overlay which was not desired. I made several attempts to resolve this by setting the mobmenul-container element to a higher z-index (999999) and setting its opacity to 1, but for some reason this did not work. So I ended up just setting the overlay’s alpha channel to 0 in the plugin settings for now.

    What I was trying to do is get the cancel button to animate out with the menu. It seemed easy enough on first glance, but for some reason I could never get it to work right. Any suggestions?

    I was previously using version 2.3 and had hacked up the CSS to allow slide over functionality (glad to see it is native functionality now). Initially, I had the same problem – the menu would slide over the cancel button. If I recall, I was able to work around this by adding margins to the cancel button while it was visible. Unfortunately, I do not have a backup :(. It looks like in 2.5 much of the old CSS was moved into dynamic-styles.php and changed around a bit.

    What would be really cool is if only the cancel button could be animated out when using the slide over option. I’ve been trying to implement this myself, but have had little success. Rui – is there any way this could be included in a future update?

Viewing 2 replies - 1 through 2 (of 2 total)