![Bendy in nightmare run theme](https://loka.nahovitsyn.com/23.jpg)
![creat dropdown in mobirise creat dropdown in mobirise](https://downloads.guru/i/win10/Mobirise_main_window_7941_650x200.jpg)
Ill leave it live for a day or two and then ill remove it.
![creat dropdown in mobirise creat dropdown in mobirise](https://mobirise.com/engine/data/upload/2016/03/mobirise-menu.jpg)
Ignore the picture and lightbox stuff on the page, the button is above that in its own block. I've published the button on one of my test pages I was working on a lightbox item.
Creat dropdown in mobirise code#
Certainty a "proper solution" would all be controlled from the cog and you wouldn't need a code editor, but that is probably beyond my abilities/available time right now. I sort of enjoyed doing in as a learning exercise just to see how easy it was to achieve something myself. I'm sure some of the expert coders on this forum will be able to provide a better solution or point out where i've been stupid, but I just wanted to do this as a quick test to see how easy it was to add a cog button and add a drop down list button.įeel free to use if helpful and you don't get a better MR official solution or a better forum produced solution before you need it. I did play around with some CSS but you don't need that to make it work, you only need that to change the look and feel. This creates a button that opens up the three URL page options when you click it on the rendered webpage:Īs I say, this code isn't perfect and requires editing the block HTML with a code editor. Thirdly using code editor I found the place in the block I wanted my dropdown button and added this code (its not perfect but it works to prove the concept): This is the view of cog now with the extra dropdown selector added: This options has to be placed where you want it in the list under the section Secondly using code editor I added a "Show Dropdown Buttons" option to the cog to enable/disable the drop-down buttons. This is probably not the perfect way to do this as i'm no expert, but its working for me so i thought it worth sharing incase you get stuck and need something to work with until somebody provides a better solution.Īs a test, firstly I took a very basic content block and added it to my project. Hi you get stuck waiting I just spent a few minutes testing a dropdown button and adding an option to the cog to enable/disable it.
![Bendy in nightmare run theme](https://loka.nahovitsyn.com/23.jpg)