Forum Replies Created

Viewing 30 posts - 17,041 through 17,070 (of 35,071 total)
  • Author
    Posts
  • in reply to: A couple of questions about demos installation #1212912

    Hi,
    To create a new ticket please go to the blue button at the top of the Enfold forum.
    2020-05-14_051434.png
    From within a post try using the breadcrumbs at the top of the page and click “Enfold” to be taken to the top of the forum.
    2020-05-14_051821.png
    Or you can click the main menu item “Support” and then from the list of forums choose “Enfold” and then click the blue button.
    2020-05-14_052503.png

    Best regards,
    Mike

    in reply to: Adding post meta using advanced layout building #1212900

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Translation of 'share this entry' not showing #1212896

    Hi,
    To increase the spacing between the social icons at the end of your posts, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top .av-share-box ul {
        width: 50% !important; 
    }

    Try different percentages, 100% stretches it full-width.
    After applying the css, Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Logo center and split menu left right #1212612

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Translation of 'share this entry' not showing #1212610

    Hi,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field instead:

    h5.av-share-link-description.av-no-toc:before {
    	content: 'Deel dit verhaal';
    	color: #000;
    	font-size: 16px !important;
    } 
    h5.av-share-link-description.av-no-toc {
    	font-size: 0 !important;
        width: 100%;
    }

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Logo center and split menu left right #1212606

    Hi,
    Do you mean that for mobile the logo is not centered? If so, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (max-width: 767px) { 
    #header .logo {
    	top: 50%;
    	transform: translateX(70%);
    	max-width: 200px;
    }
    }

    but the mobile header is only 80px high, so the logo is also 80px. Do you want your mobile header 200px high so your logo can also be 200px?

    Best regards,
    Mike

    in reply to: Update WP conflicts with Layer Slider? #1212604

    Hi,
    Perhaps another member has worked on this, but as this is a different question than your thread title it may not be seen by the other users that have worked on this.
    I recommend opening a new thread with a new title about AMP.
    But as AMP is a third-party plugin, it is out of our scope to customize.

    Best regards,
    Mike

    in reply to: Left and right page margins too large #1212602

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: How to change Icon Box Font Size? #1212599

    Hi,
    I can see what you mean, in the “Icon List” the font sizes > content has a desktop option:
    2020-05-13_065313.png
    and the “Icon Box” General Styling > Content Font Sizes doesn’t:
    2020-05-13_065458.png
    I will submit this to the dev team to review.

    Best regards,
    Mike

    Hi,
    Apparently, this is a known iPhone issue, I found a possible solution but I can’t test it because I only have an Android.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    body {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    }

    or

    body {
    overflow-y: scroll !important; 
    -webkit-overflow-scrolling: touch !important; 
    }

    Then clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    Glad we could help, for your other issue please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (min-width: 1500px) { 
    #attivita ul.avia-icongrid > li:nth-child(7) {
    	clear: left !important;
    }
    }

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Date and read more link on portfolio item #1212578

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Adding post meta using advanced layout building #1212577

    Hi,
    Thanks for the login, I added this to the beginning of the shortcode $the_id = avia_get_the_id(); and now the “notice” is gone, please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    For the code for the button, I checked your English Quick CSS and found that the English version of the css was not included. I corrected, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Elements of timeline sometimes missing #1212167

    Hi,
    Glad to hear this is helping. I will report this to the dev team to check.

    Best regards,
    Mike

    in reply to: Lightbox Change Event or Click Handler? #1212126

    Hi,
    Thank you, @Guenni007 for the example page with code snippets.

    Best regards,
    Mike

    in reply to: ENFOLD SOCIAL ICONS SHOWING AS BOXES #1212114

    Hi,
    Sorry for the late reply I have checked your site and adding an item to the cart seems to behave correctly, and checking the cart shows the item. Please see the screenshot in Private Content area.

    Best regards,
    Mike

    Hi,
    Thank you for explaining, when I check the link you posted I don’t see an icon list element in the tab, is there a different page that we should look at? I was able to reproduce this and submitted an issue to the dev team.
    It also looks like you are still getting the error “jQuery is not defined” in the dev tools console.

    Best regards,
    Mike

    in reply to: Left and right page margins too large #1212086

    Hi,
    Thank you, your sidebar css is probably best as it is.

    Best regards,
    Mike

    in reply to: Move logo and header widget behind #main content #1211834

    Hi,
    When testing the elements in the developer tools for mobile, please try refreshing the page first, this corrects the fixed items behind the header. This occurs because the browser doesn’t recognize the change in the window width on manual resize.
    In the real world a user’s screen size doesn’t change from desktop to mobile without a fresh page load.
    To change the visibility of your header elements when the burger menu is clicked try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_visibility_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      	var width = $(window).width()
    	if ((width <= 768)) {
    $( '.menu-item-avia-special' ).click(function(){
    $("span.logo").css({'visibility': 'hidden' });
    $("div#search-2").css({'visibility': 'hidden' });
    $("div#custom_html-3").css({'visibility': 'hidden' });
    });
    } else {
    $("span.logo").css({'visibility': 'visible' });
    $("div#search-2").css({'visibility': 'visible' });
    $("div#custom_html-3").css({'visibility': 'visible' });	
    }
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_visibility_script');

    Best regards,
    Mike

    Hi,
    Thank you for the feedback, I see that in your child theme you have an old version of the header.php & footer.php please try re-naming these via ftp to header.php.old & footer.php.old to temporarily disable them, then clear your browser cache and any cache plugin, and check the links.
    If this solves then you can update your header.php & footer.php with the latest versions, just be sure to include any customizations from your old files.

    Best regards,
    Mike

    in reply to: Date and read more link on portfolio item #1211807

    Hi,
    Thank you for the examples, in order to apply your css to only certain portfolio items we will need a way to identify them, so it looks like the portfolio categories are added to each item, I added the category no-content and on your portfolio grid page the class no-content_sort is added. So if you add this category to all of the items that have no content you can then use this css to add the pointer-events:none to these.

    .grid-sort-container .grid-entry.no-content_sort h3.grid-entry-title {
    	pointer-events:none !important;
    }

    Best regards,
    Mike

    in reply to: Layout element behind a other one #1211789

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    Hi,
    I checked and the css should still work for the English side, for the Italian side please add this css:

    input.submit[value="Pubblica il commento"] {
        color: #ffffff!important;
        border-color: #062857!important;
        border-radius: 100px!important;
        border-width: 2px!important;
        font-size: 16px!important;
        font-weight: bold!important;
        background-color: #084a79!important;
    }
    input.submit[value="Pubblica il commento"]:hover {
    background: rgb(80,80,80) !important;
    }

    Then clear your browser cache and check.

    Best regards,
    Mike

    Hey fcp,
    Sorry for the late reply, unfortunately, this will not work as css because you can’t influence a parent item with css.
    I tried some jQuery but the important tags in your css are preventing it from working, but I couldn’t find the css in your site.
    Please try removing the !important from your background image css and I’ll try again.

    Best regards,
    Mike

    in reply to: Grid view pixellated #1211710

    Hi,
    Sorry for the late reply and thanks for the link.
    1: sorry I don’t see the word “clear”, can you take a screenshot of it?
    2+3: sorry this is what the box looks like on Android
    2020-05-10_172727.png
    please try to take a screenshot of this also, which phone are you using?
    4: do you mean after you select options and add to cart the page is off center?

    Best regards,
    Mike

    in reply to: Suggestions to make Enfold Theme better #1211704

    Hey Felipe,
    Sorry for the late reply and thank you for the suggestions, and for using Enfold. I have submitted them to the dev team for review.

    Best regards,
    Mike

    in reply to: Modify text for search with no results #1211703

    Hey fcp,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    if( ! function_exists( 'avia_ajax_search' ) )
      {
    	  //now hook into wordpress ajax function to catch any ajax requests
    	  add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    	  add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
      
    	  function avia_ajax_search()
    	  {
    		  
    		  unset( $_REQUEST['action'] );
    		  
    		  if( empty( $_REQUEST['s'] ) ) 
    		  {
    			  $_REQUEST['s'] = array_shift( array_values( $_REQUEST ) );
    		  }
    		  
    		  if( empty( $_REQUEST['s'] ) ) 
    		  {
    			  die();
    		  }
      
    		  $defaults = array(
    						  'numberposts'		=> 5, 
    						  'post_type'			=> 'any', 
    						  'post_status'		=> 'publish', 
    						  'post_password'		=> '', 
    						  'suppress_filters'	=> false, 
    						  'results_hide_fields' => ''
    					  );
      
    		  /**
    		   * WP Filter for the contents of the search query variable
    		   * 
    		   * @param string
    		   * @return string
    		   */
    		  $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s'] );
      
    		  $search_parameters 	= array_merge( $defaults, $_REQUEST );
      
    		  if ( $search_parameters['results_hide_fields'] !== '' ) 
    		  {
    			  $search_parameters['results_hide_fields'] = explode( ',', $_REQUEST['results_hide_fields'] );
    		  }
    		  else 
    		  {
    			  $search_parameters['results_hide_fields'] = array();
    		  }
      
    		  /**
    		   * @used_by				Avia_Custom_Pages		10
    		   * @used_by				config-woocommerce\config.php  avia_woocommerce_ajax_search_params()	20
    		   * 
    		   * @param array
    		   * @return array
    		   */
    		  $search_query = apply_filters( 'avf_ajax_search_query', http_build_query( $search_parameters ) );
    		  
    		  /**
    		   * @used_by			Avia_Relevanssi			10
    		   * 
    		   * @param string $function_name
    		   * @param array $search_query
    		   * @param array $search_parameters
    		   * @param array $defaults
    		   * @return string
    		   */
    		  $query_function = apply_filters( 'avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults );
    		  
    		  $posts = ( ( $query_function == 'get_posts') || ! function_exists( $query_function ) ) ? get_posts( $search_query ) : $query_function( $search_query, $search_parameters, $defaults );
    	  
    		  $search_messages = array(
    				  'no_criteria_matched' => __( 'Sorry, no match', 'avia_framework' ),
    				  'another_search_term' => __( 'Please try again', 'avia_framework' ),
    				  'time_format'         => get_option( 'date_format' ),
    				  'all_results_query'   => http_build_query( $_REQUEST ),
    				  'all_results_link'    => home_url( '?' . http_build_query( $_REQUEST ) ),
    				  'view_all_results'    => __( 'View all results', 'avia_framework' )
    			  );
    		  
    		  $search_messages = apply_filters( 'avf_ajax_search_messages', $search_messages, $search_query );
    		  
    		  if( empty( $posts ) )
    		  {
    			  $output  = "<span class='av_ajax_search_entry ajax_not_found'>";
    			  $output .=		"<span class='av_ajax_search_image " . av_icon_string('info') . "'>";
    			  $output .=		'</span>';
    			  $output .=		"<span class='av_ajax_search_content'>";
    			  $output .=			"<span class='av_ajax_search_title'>";
    			  $output .=				$search_messages['no_criteria_matched'];
    			  $output .=			'</span>';
    			  $output .=			"<span class='ajax_search_excerpt'>";
    			  $output .=				$search_messages['another_search_term'];
    			  $output .=			'</span>';
    			  $output .=		'</span>';
    			  $output .= '</span>';
    			  
    			  echo $output;
    			  die();
    		  }
      
    		  //if we got posts resort them by post type
    		  $output = '';
    		  $sorted = array();
    		  $post_type_obj = array();
    		  
    		  foreach( $posts as $post )
    		  {
    			  $sorted[ $post->post_type][] = $post;
    			  if( empty( $post_type_obj[ $post->post_type ] ) )
    			  {
    				  $post_type_obj[ $post->post_type ] = get_post_type_object( $post->post_type );
    			  }
    		  }
      
    		  //now we got everything we need to preapre the output
    		  foreach( $sorted as $key => $post_type )
    		  {
    			  // check if post titles are in the hidden fields list
    			  if ( ! in_array( 'post_titles', $search_parameters['results_hide_fields'] ) )
    			  {
    				  if( isset( $post_type_obj[ $key ]->labels->name ) )
    				  {
    					  $label = apply_filters( 'avf_ajax_search_label_names', $post_type_obj[ $key ]->labels->name );
    					  $output .= "<h4>{$label}</h4>";
    				  }
    				  else
    				  {
    					  $output .= '<hr />';
    				  }
    			  }
      
    			  foreach( $post_type as $post ) 
    			  {
    				  $image = '';
    				  $extra_class = '';
      
    				  // check if image is in the hidden fields list
    				  if ( ! in_array( 'image', $search_parameters['results_hide_fields'] ) )
    				  {
    					  $image = get_the_post_thumbnail( $post->ID, 'thumbnail' );
    					  $extra_class = $image ? 'with_image' : '';
    					  $post_type = $image ? '' : ( get_post_format( $post->ID ) != '' ? get_post_format( $post->ID ) : 'standard' );
    					  $iconfont = $image ? '' : av_icon_string( $post_type );
      
    				  }
      
    				  $excerpt     = '';
      
    				  // check if post meta fields are in the hidden fields list
    				  if ( ! in_array( 'meta', $search_parameters['results_hide_fields'] ) )
    				  {
    					  if( ! empty($post->post_excerpt ) )
    					  {
    						  $excerpt =  apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate( $post->post_excerpt, 70, ' ', '...', true, '', true ) );
    					  }
    					  else
    					  {
    						  $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post );
    					  }
    				  }
      
    				  $link = apply_filters( 'av_custom_url', get_permalink( $post->ID ), $post );
      
    				  $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='{$link}'>";
      
    				  if ( $image !== '' || $iconfont ) 
    				  {
    					  $output .= "<span class='av_ajax_search_image' {$iconfont}>";
    					  $output .=		$image;
    					  $output .= '</span>';
    				  }
    				  $output .= "<span class='av_ajax_search_content'>";
    				  $output .=		"<span class='av_ajax_search_title'>";
    				  $output .=			get_the_title($post->ID);
    				  $output .=		'</span>';
    				  
    				  if( $excerpt !== '' ) 
    				  {
    					  $output .=		"<span class='ajax_search_excerpt'>";
    					  $output .=			$excerpt;
    					  $output .=		'</span>';
    				  }
    				  $output .=	'</span>';
    				  $output .= '</a>';
    			  }
    		  }
      
    		  $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='{$search_messages['all_results_link']}'>{$search_messages['view_all_results']}</a>";
      
    		  echo $output;
    		  die();
    	  }
      }
      

    please look for the line 'no_criteria_matched' => __( 'Sorry, no match', 'avia_framework' ), & 'another_search_term' => __( 'Please try again', 'avia_framework' ), and adjust to suit.
    2020-05-10_152140.png
    I tested this in my child theme and as you can see from the screenshot it works.

    Best regards,
    Mike

    in reply to: Search dropdown placeholder #1211702

    Hey fcp,
    Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_searchform_script(){
      ?>
      <script>
    (function($){
      $(window).load(function() {
      $("#menu-item-search a").click(function(){
      	setTimeout(function(){
        $('#menu-item-search #searchform #s').trigger("focus");
      	}, 200);
    });
      });
      })(jQuery);
     </script>
    <?php
    }
    add_action('wp_footer', 'custom_searchform_script'); 

    Best regards,
    Mike

    in reply to: Date and read more link on portfolio item #1211696

    Hi,
    Sorry for the late reply and thanks for the links. We should be able to adjust your css to only effect title links with no content, but each of the ones I checked had page content, please link to one that doesn’t have content and you would want to have no title link.

    Best regards,
    Mike

Viewing 30 posts - 17,041 through 17,070 (of 35,071 total)