-
AuthorPosts
-
February 11, 2014 at 5:35 pm #13519
Rob DParticipantI am using the one page layout and want to assign the functionality to a button that when a user clicks on it the widgetbar opens up revealing the “Contact Us” form. Is this possible? Thanks in advance.
February 11, 2014 at 8:40 pm #13549
KoryKeymasterHey Rod,
Thanks for writing in! The following Markup should trigger the widgetbar to open up:
<a href="#" class="x-btn-widgetbar-alt collapsed" data-toggle="collapse" data-target=".x-widgetbar">Contact Us</a>
And then the following can be placed in a <script> tag to prevent the pound sign from showing up in your URL bar:
$('.x-btn-widgetbar-alt').click(function(e) { e.preventDefault(); });Thanks!
February 11, 2014 at 11:28 pm #13572
Rob DParticipantI wish I knew what that meant, it’s all greek to me lol
February 12, 2014 at 1:26 am #13603
KoryKeymasterHaha, we completely understand. 😀 Glad to hear everything is in order.
February 12, 2014 at 9:42 am #13704
Rob DParticipantWe’ll not that clear as I actually have no idea what you mean. Is this something I can do in the visual editor or I need to get a programmer type person to make the change? Thx
February 12, 2014 at 10:22 am #13725
ChristianModeratorHey Rob,
It is best to have a WordPress Developer do theme customizations for you. 🙂
February 12, 2014 at 11:19 am #13754
Rob DParticipant🙁 Booo
Please consider this functionality for the next version of the Theme.
February 12, 2014 at 11:59 am #13773
RubinKeymasterWe will look into it but can’t promise anything.
June 11, 2014 at 10:52 am #55038
Rob DParticipantThe markup above works great however I want to put it in a Button shortcode. Is that possible?
June 12, 2014 at 3:47 am #55434
ChristianModeratorHey Rob,
That is not possible because you’ll need to put extra attributes to the link and that is not available in the Button shortcode. You can however watch this quick screencast (http://screencast.com/t/QqV3iWKPJu) on how to get the HTML code of the button and add the necessary attributes.
Hope that helps. 🙂
June 26, 2014 at 9:07 pm #61851
Rob DParticipantThanks. worked perfectly. 😉
June 27, 2014 at 3:48 pm #62207
RadModeratorYou’re welcome Rob!
September 18, 2014 at 3:51 pm #107523
clovisdParticipantWould it be possible to make this pop up from a Menu item? Eg: Contact Us opens Widget bar above with map and other important information?
September 18, 2014 at 4:02 pm #107534
RadModeratorHi Clovis,
Not possible, as per requirement the link should have required attributes in which can’t be done in menu items.
Thanks!
September 23, 2014 at 9:15 am #110600
clovisdParticipantI’m not sure I followed your screencast correctly. I’ve done what I understood and this is what I have:
[button type="real" shape="square" size="jumbo" href="#" class="x-btn-widgetbar-alt collapsed" data-toggle="collapse" data-target=".x-widgetbar"]Contact Us[/button]However, it’s not working. Any input? 🙂
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-13519 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
