 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
April 25, 2018 at 11:15 am #946516Hello, 
 I have 3 questions regarding my sidebar customisation, I hope you’ll be able to help me. Please find below the credentials cause my site is development mode.Enfold latest news widget: 
 – I don’ want to display the time near the date. In the css, there’s only 1 class for date and time so I can’t apply a display: none; I went to WordPress settings / General and remove the text in custom time field. It works but I still have a “-” after the date, how can I remove it?
 – how can I increase the size of the image thumbnail? it’s currently 36*36, I’d like 64*64.Archives widget : I’d like to remove the months to keep only the years, how can I do this? Tx guys for your help and Enfold is still my favorite theme :-) 
 Nice day
 MarineApril 27, 2018 at 5:33 am #947623Hey newki75, Thank you for using Enfold. This is possible but you need to modify the framework > php > class-framework-widgets.php file. Look for this code around line 557. if($time_format) { echo "<span class='news-time'>".get_the_time($time_format)."</span>"; }Replace the “$time_format” with your own. Example. if($time_format) { echo "<span class='news-time'>".get_the_time('F j, Y')."</span>"; }Best regards, 
 IsmaelApril 27, 2018 at 9:32 am #947745Hey Ismaël, Do I have to duplicate this file in my child theme to avoid loosing the modifications when I update the theme? 
 Any answer for the 2 other questions?
 TxxxxxxApril 30, 2018 at 9:12 am #948876Hi, You have to copy the whole “avia_newsbox” class without the class_exists function inside the child theme’s functions.php file. Best regards, 
 IsmaelApril 30, 2018 at 11:27 am #948989Hey Ismaël, Sorry but I don’t understand you last answer. 
 I’ve seen the framework > php > class-framework-widgets.php in my Parent theme. I don’t want to change the date format but ton remove the “-” after the date, cf Print screen, link attached.
 I also would like to increase the size of the thumbnail images.
 Tx a lot !May 2, 2018 at 10:19 am #949919
- 
		AuthorPosts
- You must be logged in to reply to this topic.
