Hiya,
Is there an easy way to create a site wide notification that appears on every page? The user being able to close the notification would be a bonus but not essential.
Many thanks!
Hey WordPressed!
You can add manually but using a plugin such as this one – https://wordpress.org/plugins/simple-bar/ would be easier and more advanced
If you would like to add it manually, please go to Appeanrace > Editor and open Helper-main-menu.php file and find
<div id='header_meta' class='container_wrap container_wrap_meta <?php echo avia_header_class_string(array('header_social', 'header_secondary_menu', 'header_phone_active'), 'av_'); ?>'>
and add your text right below it
<div class='notify'>Some content goes here yeah!</div>
then add following code to Quick CSS in Enfold theme options under General Styling tab
.notify {
color: red;
background-color: black;
width: 100%;
text-align: center;
}
Best regards,
Yigit
Thank you!
Sure! :) Thanks!