Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #989243
    Referee
    Participant

    Hi,

    When I use a shortcode from ConvertPlug popup in header and footer it works only in footer (in header the shortcode itself is shown). Is there a quick fix for that?

    #989247
    Paul R
    Moderator

    Hi,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #989345
    Referee
    Participant
    This reply has been marked as private.
    #989348
    Lely
    Moderator

    Hi There,

    Thank you for the credentials.
    Please try adding this code on your 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 );
    }

    Hope this helps.

    #989439
    Referee
    Participant

    It works thanks but there is a gap appears under the message and the header extended below as a result of that manipulation. You can see now that social icons of the header are sticked to the bottom of the header on the right side.

    #989465
    Christopher
    Moderator

    Hi there,

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

    .x-topbar p:empty {
        display: none;
    }

    Hope it helps.

    #989483
    Referee
    Participant

    Yep, it looks much better now. Thanks. And how to move social icons to the middle of the header height and make them bigger?

    #989537
    Christopher
    Moderator

    Hi there,

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

    @media (min-width:979px){
    .x-social-global {
        position: relative;
        right: 40%;
    }
    }

    Hope it helps.

    #989681
    Referee
    Participant

    Nope it didn’t help

    #990156
    Jade
    Moderator

    Hi there,

    Please try this CSS:

    .x-topbar .x-social-global a {
        font-size: 20px;
    }
    
    @media (max-width: 767px) {
        .x-topbar .x-social-global {
            margin-bottom: 0;
        }    
    }
  • <script> jQuery(function($){ $("#no-reply-989243 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>