Forum Replies Created

Viewing 30 posts - 50,221 through 50,250 (of 66,288 total)
  • Author
    Posts
  • in reply to: Image box text not displaying on an iPad #400031

    Hi!

    The caption overlay looks fine when I checked it on smaller screens. Can you please provide a screenshot of the issue? Yes, css media queries should have that bracket.

    Regards,
    Ismael

    in reply to: Advanced editor suddenly stop working #400030

    Hey!

    Try to increase the wp memory limit to at least 128M. Refer to this link for more info: http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/

    Cheers!
    Ismael

    in reply to: ALIGNING EASY SLIDER TEXTS #400029

    Hi!

    That is the Fullwidth Easy Slider. Unfortunately, easy slider doesn’t have the same caption animation. If you want to use the fullwidth easy slider, set the Slideshow Transition to Slide sidewards.

    Cheers!
    Ismael

    in reply to: remove meta info and post-title and av-share-box photogallery #400027

    Hey!

    I’m sorry but what you’re asking is a bit complicated and falls outside the scope of support. You may need to hire a freelance developer to the job. Please visit Envato Studio or Werkpress.

    Cheers!
    Ismael

    Hi!

    Glad you figured it out. If you have any questions, let us know. :)

    Best regards,
    Ismael

    in reply to: Getting the Sidebar to show the Parent/Grandparent #400025

    Hey mecdesign!

    Thank you for using Enfold.

    Maybe the solution provided here will help: https://kriesi.at/support/topic/add-titles-to-sidebar-navigation/#post-384272

    Best regards,
    Ismael

    in reply to: Linking two sites #400020

    Hi!

    Add this to the Quick CSS field to hide it on smaller screens:

    @media only screen and (max-width: 767px) {
    .secondary-logo { display: none !important; }}

    Cheers!
    Ismael

    in reply to: Breadcrumbs for custom post type #400019

    Hi Tim!

    Thank you for using Enfold.

    Use the breadcrumb filter:

    add_filter('avia_breadcrumbs_trail', 'avia_change_breadcrumb', 20, 1);
    function avia_change_breadcrumb($trail) {
             if(is_singular('custom post type here'))
             {			
                            $home = '<a href="'. esc_url( get_permalink( avia_get_option('frontpage') ) ) . '">' . get_the_title( $home ) . '</a>';
    			$last = array_pop($trail);
    			$page_id = get_option('MY_CUSTOM_POST_TYPE_PAGE');
    			$page = '<a href="' . get_permalink($page_id) . '">' . get_the_title($page_id) . '</a>';
    			$trail = array(0 => $home, 1 => $page, 'trail_end' => $last);
             }
             return $trail;
    }

    Adjust the code a bit.

    Cheers!
    Ismael

    Hi!

    It’s possible but you need to edit the theme files manually. Open config-templatebuilder > avia-shortcodes > portfolio.php. Look for this code:

    //get all categories that are actually listed on the page
    			$categories = get_categories(array(
    				'taxonomy'	=> $params['taxonomy'],
    				'hide_empty'=> 0
    			));

    Replace it with:

    $categories = get_categories(array(
    				'taxonomy'	=> $params['taxonomy'],
    				'hide_empty'=> 0,
    				'orderby'=> 'name',
    				'order' => 'ASC'
    			));

    Adjust the order and orderby parameter. Refer to this link: http://codex.wordpress.org/Function_Reference/get_categories#Parameters

    Cheers!
    Ismael

    in reply to: Enfold/ Permanent underlining of menu items #400017

    Hi!

    My bad. There’s a missing dot in the css mod. Please use this:

    .av-main-nav li a.active > .avia-menu-fx {
    opacity: 1;
    visibility: visible;
    }

    Best regards,
    Ismael

    in reply to: Where is the custom.js file #400013

    Hi!

    Add this to the functions.php:

    add_action('admin_head', 'ava_remove_product_panel');
    function ava_remove_product_panel() {
    ?>
    <script>
    (function($){
    	// remove selected WooCommerce Products Tab
    	$('.general_tab').remove();  // General
    	$('#general_product_data').css('display', 'none');  // hide General tab content as it is visible by default
    	
    	$('.inventory_tab').remove();  // Inventory
    	$('.shipping_tab').remove();  // Shipping
    	$('.linked_product_tab').remove(); // Linked Products
    	$('.attribute_tab').remove();  // Attributes
    	$('.variations_tab').remove();  // Variations
    	$('.advanced_tab').remove();  // Advanced
    })(jQuery);
    </script>
    <?php
    }

    You can follow the solution provided here if you want to disable the panel for specific user roles: https://wordpress.org/support/topic/conditional-display-based-on-role

    Cheers!
    Ismael

    Hi!

    Add the whole avia_post_nav function on the child theme’s functions.php:

    function avia_post_nav($same_category = false, $taxonomy = 'category')
    	{
    		global $wp_version;
    	        $settings = array();
    	        $settings['same_category'] = $same_category;
    	        $settings['excluded_terms'] = '';
    			$settings['wpversion'] = $wp_version;
            
    		//dont display if a fullscreen slider is available since they overlap 
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || 
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = false;
    
    		$settings['type'] = get_post_type();
    		$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
    
    		if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
    		if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
    
    	        $settings = apply_filters('avia_post_nav_settings', $settings);
    	        if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
    	
    	        if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category']);
    	            $entries['next'] = get_next_post($settings['same_category']);
    	        }
    	        
    		$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
            $output = "";
    
    		foreach ($entries as $key => $entry)
    		{
                if(empty($entry)) continue;
    			$the_title 	= isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
    			$link 		= isset($entry->av_custom_link)  ? $entry->av_custom_link  : get_permalink($entry->ID);
    			$image 		= isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
    			
                $tc1   = $tc2 = "";
                $class = $image ? "with-image" : "without-image";
    
                $output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
    		    $output .= "    <span class='label iconfont' ".av_icon_string($key)."></span>";
    		    $output .= "    <span class='entry-info-wrap'>";
    		    $output .= "        <span class='entry-info'>";
    		    $tc1     = "            <span class='entry-title'>{$the_title}</span>";
    if($image)  $tc2     = "            <span class='entry-image'>{$image}</span>";
                $output .= $key == 'prev' ?  $tc1.$tc2 : $tc2.$tc1;
                $output .= "        </span>";
                $output .= "    </span>";
    		    $output .= "</a>";
    		}
    		return $output;
    	}

    Regards,
    Ismael

    in reply to: Translate the word "articles" into something different #399467

    Hey!

    Try to replace the code with this:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if (is_page('PAGE ID NUMBER HERE'))
        {
            $args['title'] = 'TRANSLATE TITLE HERE';
        } elseif (is_page('PAGE ID NUMBER HERE')) {
    		$args['title'] = 'TRANSLATE TITLE HERE';
    	}
    
        return $args;
    }

    Add the page id of the blog and article page.

    Best regards,
    Ismael

    in reply to: jQuery #399464

    Hi!

    Try this on functions.php:

    add_action('wp_footer', 'ava_current_menu');
    function ava_current_menu(){ if(is_page('Home')) {
    ?>
    <script>
    (function($){
      var tag = document.createElement('script');
    
      tag.src = "https://www.youtube.com/iframe_api";
      var firstScriptTag = document.getElementsByTagName('script')[0];
      firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
    
     
      function onYouTubeIframeAPIReady() {
      console.log('stuff is working');
      }
      
      //onYouTubeIframeAPIReady();
    })(jQuery);
    </script>
    <?php
    }}

    Use the is_page() conditional function if you want to apply it on a specific page:

    Regards,
    Ismael

    in reply to: category archive pages to show excerpt only #399460

    Hey!

    The option will not work archive pages. Please give us a link to the current archive or category page. Maybe if we can see it, we’ll understand the problem better. Try to add this to the functions.php:

    function avia_image_slideshow_filter($current_post)
    	{
    
    		$prepend_image = get_the_post_thumbnail(get_the_ID(), 'square');
    		$image = "";
    
    		if(!$prepend_image)
    		{
    			$image		= avia_regex($current_post['content'],'image');
    			if(is_array($image))
    			{
    				$image = $image[0];
    				$prepend_image = '<div class="avia-post-format-image"><img src="'.$image.'" alt="" title ="" /></div>';
    			}
    			else
    			{
    				$image		= avia_regex($current_post['content'],'<img />',"");
    				if(is_array($image))
    				{
    					$prepend_image = '<div class="avia-post-format-image">'.$image[0]."</div>";
    				}
    			}
    		}
    		else
    		{
    			
    			$large_image = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'square' );
    			$prepend_image = '<div class="avia-post-format-image"><a href="'.$large_image[0].'">'.$prepend_image."</a></div>";
    		}
    
    			if(!empty($prepend_image) && is_string($prepend_image))
    			{
    				if($image) $current_post['content'] = str_replace($image, "", $current_post['content']);
    				$current_post['before_content'] = $prepend_image;
    				$current_post['slider']  = "";
    			}
    
    		
    		if(is_single(get_the_ID()) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['before_content'] = "";
    		
    		return avia_default_title_filter($current_post);
    	}
    

    Edit loop-index.php, look for this code:

    $size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
    

    Replace it with:

    $size = strpos($blog_style, 'square') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
    

    Cheers!
    Ismael

    in reply to: How to disable image hover effect on a specific page ? #399457

    Hey clementader!

    Thank you for using Enfold.

    You can try this:

    .home .image-overlay-inside, .home .image-overlay.overlay-type-extern {
    display: none !important;
    }

    Regards,
    Ismael

    Hey!

    We modified the code a bit. Looks like you added some modifications on the footer.php. Maybe that’s why it’s not working. Please remove it then test the single product page: http://numatic-haerson.trojmiasto.us/produkt/numatic-etb-4045-bateryjna-maszyna-do-mycia-podlog/

    This is how the single product page look like after the mod:

    Best regards,
    Ismael

    in reply to: Post title over image #399453

    Hi!

    Add this to the Quick CSS field:

    #top .fullsize .template-blog .post .entry-content-wrapper {
    padding: 20px;
    margin-bottom: 20px;
    }

    Best regards,
    Ismael

    in reply to: custom post and category and blog post and category conflict #399452

    Hi!

    Add this to the Quick CSS field:

    .page-id-731 .sfwd-lessons {
    display: none !important;
    }

    This is a temporary fix to hide all learndash post type inside the blog page. Add this one to hide those posts on archive pages:

    .archive .sfwd-lessons {
    display: none !important;
    }

    Best regards,
    Ismael

    in reply to: Main Header #399448

    Hi!

    Replace the code with this:

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    echo dynamic_sidebar( 'header' );
    }

    Regards,
    Ismael

    Hey!

    Alright. I’m sorry but it’s not possible without custom modification on the theme. Unfortunately, this falls outside the scope of support. Please hire a freelance developer.

    Regards,
    Ismael

    in reply to: Linking two sites #399437

    Hi!

    Did you add the css code?

    .secondary-logo {
    position: absolute;
    display: block;
    overflow: visible;
    top: 0px;
    right: 0;
    z-index: 10000!important;
    width: 550px !important;
    height: 82px !important;
    }

    Best regards,
    Ismael

    in reply to: Fullscreen Slider on iPhone #399436

    Hi!

    Please replace it with:

    @media only screen and (max-width: 420px) {
    .home div#fullscreen_slider_0 {
    max-height: 425px !important;
    overflow: hidden;
    }
    
    .home .avia-builder-el-0.avia-fullscreen-slider .avia-slideshow {
    height: 425px !important;
    }}

    Regards,
    Ismael

    in reply to: Strange Button Behavior #399435

    Hi!

    I’m sorry but we can’t reproduce the issue on our installation. Please let us know once the site is live. We would like to inspect it. Make sure that you have the latest version of the theme.

    Regards,
    Ismael

    in reply to: Enfol + Wommerce + Catalog Visibility Options not work #399433

    Hey!

    I tested the login credentials (wp-admin) but it’s not working. Please check. If possible, please contact the plugin author.

    Regards,
    Ismael

    in reply to: Layout issue #399432

    Hi!

    I checked this page (http://www.bridgekorp.com/fix/) again and the fullwidth button looks OK now. Did you fix it?

    Best regards,
    Ismael

    in reply to: Enfold/ Permanent underlining of menu items #399431

    Hi!

    Yes, I know what you’re trying to do and that is the purpose of the code above. I checked the site again but it’s not working / loading. Please check. After you added the modifications, please remove browser cache then reload the page.

    Best regards,
    Ismael

    in reply to: Inline CSS disappearing from the promo box #399429

    Hey!

    Apply a unique class to the paragraph. Something like this:

    <p class="roboto-text">There is no love sincerer than the love of food – <span class="roboto-span">George Bernard Shaw</span></p>
    

    Add this to the Quick CSS field:

    
    .roboto-text {
    text-align: center; font-family: Roboto Slab; font-size: 18px;
    }
    
    .roboto-span {
    font-family: Roboto; font-size:14px
    }

    Best regards,
    Ismael

    in reply to: LayerSlider in the Enfold Theme not working for WP Multisite #399427

    Hey!

    You need to update the Advanced Layer Slider element on the page. Remove it then add it back. Please check: http://test.taxprotectionpartners.com/

    Cheers!
    Ismael

    in reply to: Content above Main Menu #399420

    Hey!

    Replace it with:

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    echo dynamic_sidebar( 'header' );
    }

    Regards,
    Ismael

Viewing 30 posts - 50,221 through 50,250 (of 66,288 total)