I figured it out myself. For anyone looking for a similar solution please do the following:
Step 1: You need to add some code to your functions.php file in your child theme.
- Navigate to functions.php in your child theme > edit the file
- add this code
add_filter(‘x_option_x_topbar_content’, ‘do_shortcode’);
Now you can add shortcodes to your topbar.
Step 2: Add shortcode to your topbar
- In our instance this was the shortcode we wanted (though you can add any from the shortcode reference section on the themeco shortcodes pages
[icon type=“arrow-right” style=“font-size: 20px; color: orange; display:inline-block;vertical-align:center;”]
- to add the jello effect we were referring to we made the following amendment to the code
[icon type=“arrow-right” style=“font-size: 20px; color: orange; display:inline-block;vertical-align:center;” class=“animated infinite jello”]
It now works as expected.
Thank you for your help in solving.