Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1282083
    be3designs
    Participant

    I am using a <a href="#">link</a> within the content area of a couple of my Feature List items and they display perfectly in Cornerstone, but when I view the live site they load (you can see them appear briefly) but then they disappear.

    Will attach screenshots and links in next private reply.

    #1282084
    be3designs
    Participant
    This reply has been marked as private.
    #1282584
    Rupok
    Member

    Hi there,

    I have tested on my end and link works fine within Feature List. So it should work for your site. I think your HTML might be broken and that’s why it’s not generating properly. If you have multiple tag, make sure to close them properly.

    Thanks!

    #1283450
    be3designs
    Participant
    This reply has been marked as private.
    #1283644
    Nabeel A
    Moderator

    Hi again,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1284791
    be3designs
    Participant
    This reply has been marked as private.
    #1285123
    Lely
    Moderator

    Hello There,

    I have downloaded your page and it is working on mine too:http://screencast-o-matic.com/watch/cDliYLQbYl
    But then I check on your site, even tested on a new page to see if it is a conflict with other elements but it seems the same. I even tested it a simple text element just to check and it is working there. So the issue is really specific on feature list. AHA! I saw it. See this custom code from your customizer:

     jQuery ( function( $ ) {
    
    $('.x-feature-box-text a:last-child').each( function() {
    
    $( this ).parent().parent().parent().find('.x-feature-box-graphic-inner img').wrap( '<a href="' + $( this ).attr('href') + '"></a>' );
    $( this ).remove();
    
    } );
    
     } ); 

    Are you using that on specific page? If yes, please confirm. That code check links from your feature box and then get the link and then add it instead on the a graphic image. After that the last lines removes the link(That’s why it is missing). Please share the URL where you are using that part so we can check to filter it for that page/element only.

    Cheers!

    #1285133
    be3designs
    Participant
    This reply has been marked as private.
    #1285590
    Lely
    Moderator

    Hello There,

    The easiest way is to move the code from Appearance > Customize > Custom > Edit Global Javascript to Settings Tab > Custom Javascript on your Cornerstone Editor.

    Appearance > Customize > Custom > Edit Global Javascript => Code added here will work on the whole site. On every page of your site.

    Settings Tab > Custom Javascript => Code added here will only affect current page.

    Hope this helps.

    #1286267
    be3designs
    Participant

    Thanks so much for your help, working perfectly now!

    #1286292
    Joao
    Moderator

    Glad to hear we managed to help,

    Joao

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