Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1016928
    piexec
    Participant

    Could you please help me with adding a Mail Poet form into the topbar?

    #1016932
    piexec
    Participant
    This reply has been marked as private.
    #1017003
    Jade
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then add this code in the child theme’s functions.php file:

    add_filter('x_option_x_topbar_content', 'top_bar_content_shortcode');
    
    function top_bar_content_shortcode ( $content ) {
        return do_shortcode ( $content );
    }

    Then add this shortcode inside the Topbar Content field in the customizer:

    [wysija_form id="1"]

    Let us know how it goes.

    #1017166
    piexec
    Participant

    Thanks!

    More questions…

    https://support.mailpoet.com/knowledgebase/design-style-subscription-form-widget-shortcode/

    Based on this article, How could I extend the length of the form field?

    I added it in the middle of my page for now…

    #1017534
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    form#form-wysija-3 input[type=text] {
        width: 100%;
    }

    Hope that helps.

    #1021140
    piexec
    Participant

    Thanks!!!

    on the homepage, how do I remove the “gap” under the specials photos in the Weekly Specials section? I use MBN and PBN but I must be using it in the wrong place…

    #1021592
    Joao
    Moderator

    Hi There,

    I have fixed for you.

    I added the class inline at your img shortcode: please see the example:

    [image class="mbn" src="http://sportslegends.piexec.com/wp-content/uploads/2016/05/friday.jpg" link="true"]
    [lightbox]

    Hope that helps,

    Joao

    #1023129
    piexec
    Participant

    Thanks!

    #1023500
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1016928 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>