Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1101226
    brydzy
    Participant

    Hello there!

    On our site http://ildertonfair.on.ca/ I need to put “Look at the calendar here” with an arrow icon pointing to the widget button on the action bar beside the Facebook icon. Our target market is an older crowd and they are having a tough time finding it!

    Would love if you could let me know how to get that in there! Thanks so much for the amazing theme – cornerstone is awesome.

    #1101291
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    Please add this code to your child theme’s functions.php

    add_action('wp_footer','my_awesome_floating_element');
    
    function my_awesome_floating_element () { ?>
    
    <div class="floating-arrow">Look at the calendar here <img src="http://example.com/my-arrow.jpg"></div>
    <style>
    .floating-arrow {
    position: fixed;
    top: 38px;
    right: 38px;
    }
    </style>
    <?php }

    Then replace your image URL for the correct URL.

    Cheers!

    #1101970
    brydzy
    Participant
    This reply has been marked as private.
    #1102631
    Friech
    Moderator

    Hi There,

    I did go ahead and added the arrow on your topbar. And the updated CSS on custom CSS. But you need to remove the previous code that was added on functions.php file, because it is conflicting right now.

    Hope it helps, Cheers!

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