How do I remove the time? the date is OK but I would like to remove the “time”
Thanks
B
Hey B,
Thanks for contacting us!
Please add following code to the bottom of functions.php file of your child theme in Appearance > Editor
add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);
function change_avia_date_format($date, $function) {
return get_option('date_format');
}
Best regards,
Yigit
Is there any way you can provide me code for the general styling CSS section?
Thanks
B
Is there any way you can provide me code for the general styling CSS section?
Can you give the steps on how to do this with the functions.php file? and child theme?
Thanks
B
Hi B,
I am afraid it is not possible to remove only the time with CSS.
You can simply download pre-built child theme here – https://kriesi.at/documentation/enfold/child-theme/, install and activate it, go to Enfold child theme > Import & Export tab and click “import settings from your parent theme” button. After that your site should look the same as your parent theme.
Then you can go to Appearance > Editor and edit Functions.php file inside your child theme and add the code I posted above :)
Best regards,
Yigit