Author | Posts |
---|---|
Douglas
October 5, 2024 at 1:50 am
|
Whenever I target a button I end up navigating away from the page. What am I doing wrong? Thanks for your help. |
Sebastian
October 5, 2024 at 7:28 pm
|
Hey, For regular links and buttons Microthemer should block navigation to another page when targeting mode is enabled (bottom right switch). But if some JavaScript functionality has been applied to the button, MT can’t block that. So the solution is to select the button without actually clicking it. You can do that by hovering your mouse over the button and hitting the “Alt” key (Option key on a Mac). You can also open up the “Inspect” pane in the footer and click on the line of HTML for the button as an alternative way to select without clicking (and triggering any click behaviour). Cheers, |
Sebastian
October 5, 2024 at 7:32 pm
|
BTW, if you hold the Ctrl key when clicking on links/buttons, MT will follow them to navigate to the next page, even if targeting mode is enabled. This can be the most convenient way to move between pages when editing. |
Douglas
October 5, 2024 at 11:29 pm
|
Thank you, I’ll give those methods a try. |