Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1374384

    How do I remove the time? the date is OK but I would like to remove the “time”

    Thanks
    B

    #1374451

    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

    #1374503

    Is there any way you can provide me code for the general styling CSS section?

    Thanks
    B

    #1374504

    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

    #1374633

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.