Forum Replies Created

Viewing 30 posts - 5,221 through 5,250 (of 9,352 total)
  • Author
    Posts
  • in reply to: YouTube Post Embed #221612

    Hey peluso91!

    Did you embed this code with the “HTML” Editor mode? The “Visual” mode will convert the html code to simple text and then the video won’t work (because the browser interprets the iframe code as text and not as code).

    You can also try to use the embed shortcode – it will also work in “Visual” Mode: http://codex.wordpress.org/Embeds

    
    [embed] https://www.youtube.com/watch?v=gaM04OUdYP8 [/embed]
    

    Best regards,
    Peter

    in reply to: Select Specific Posts in Post Slider / Blog Posts #221611

    Hey enester1!

    Did you try the “Do not allow duplicates” option: http://www.clipular.com/c/5291868245983232.png?k=FmYH58ADN_wVXqoeJJTpy9KCeqk ? If it doesn’t work on the single post page please insert this code at the very bottom of functions.php

    
    	function avia_set_the_post_ID()
    	{
    		global $avia_config;
    		$ID = get_the_ID();
    		if($ID) $avia_config['posts_on_current_page'][] = $ID;
    	}
    	add_action('wp_head', 'avia_set_the_post_ID');
    

    – it should add the single post ID to the “duplicate” lists and remove it from the post slider

    Cheers!
    Peter

    in reply to: Problem with blog/excerpt #221609

    Hey jacobsever!

    Please try to follow the suggestion(s) I posted here: https://kriesi.at/support/topic/setting-blog-to-multi-author-big-preview-blog-with-title-excerpt-read-more/#post-221204

    If it still doesn’t work please deactivate all third party plugins and check if a plugin causes the issue.

    Cheers!
    Peter

    in reply to: Logo doesn't appear on iPad/Tablet in portrait mode #221608

    Hi jansthh!

    Please try to insert this code at the bottom of functions.php

    
    add_filter('body_class','avia_remove_resize_function');
    function avia_remove_resize_function($classes)
    {
        $classes[] = 'avia_deactivate_menu_resize';
        return $classes;
    }
    

    and check if it fixes the issue.

    Regards,
    Peter

    in reply to: Inconsistent main menu and sub menu on-states #221603

    Hey!

    Try following code to show the avia-menu-fx element.

    
    .current-page-ancestor>a>.avia-menu-fx>.avia-arrow-wrap, .current-page-ancestor>a>.avia-menu-fx>.avia-arrow-wrap{display:block;}
    

    Insert it into the quick css field.

    Best regards,
    Peter

    in reply to: Head With Social Media and Large Logo #221601

    Hey!

    The child theme functions.php will be loaded first and you just need to add this code: https://kriesi.at/support/topic/adding-slideshare-to-header-social-icons/#post-200202 into it. You must not copy the functions.php file from the parent theme. The register-admin-options.php is not editable (and you can’t overwrite it) with a child theme at all and you can delete this file from the child theme folder.

    Best regards,
    Peter

    in reply to: Unable to Add Font Package #221599

    Hi!

    Please post the url to your website.

    Regards,
    Peter

    in reply to: Multiple horizontal ruler issues #221596

    Hi!

    Please try to insert this code into the quick css field

    
    body .container_wrap .hr.avia-builder-el-last {
    margin-bottom: 30px;
    }
    
    body .container_wrap .hr.avia-builder-el-first {
    margin-top: 30px;
    }
    

    Regards,
    Peter

    in reply to: Responsive Slider #221594

    Hey!

    The demo slider uses this configuration

    http://www.clipular.com/c/6408665238077440.png?k=vs2mu5TB45G8xD1NWynZsmBKVHY

    – make sure that the “responsive under” and “layers container” width is set to 1140px.

    Best regards,
    Peter

    in reply to: Problems with IE with videos #221588

    Hi patriscia!

    Did you test this with another browser? Afaik WordPress just shows an icon for videos and it does not display a preview or thumbnail of the video.

    Best regards,
    Peter

    in reply to: changing the colors of tabs in content element #221586

    Hi!

    Use

    
    .js_active .tab_content{
    background: gray;
    }
    
    .js_active .tab{
    background: gray;
    font-size: 15px;
    }
    

    Best regards,
    Peter

    Hey deyowulf!

    1) Insert this code into the quick css field

    
    #top #menu-item-search.menu-item-search-dropdown{
    float:left;
    }
    
    .bottom_nav_header.social_header .main_menu, .bottom_nav_header.social_header .main_menu {
    width: auto;
    float: none;
    margin: auto;
    text-align: center;
    }
    
    .bottom_nav_header.social_header .main_menu>div, .bottom_nav_header.social_header .main_menu ul:first-child {
    text-align: center;
    margin: auto;
    }
    
    .bottom_nav_header.social_header .main_menu ul:first-child {
    max-width: 650px;
    }
    

    and instead of 650px insert the width of your menu.

    2) This code

    
    .bottom_nav_header.social_header .main_menu ul:first-child>li a {
    font-size: 12px;
    }
    

    will help you to change the font size.

    Cheers!
    Peter

    in reply to: Bigger Logo (non fixed, social, add nav) #221579

    Hi rfb4!

    Please post a link to your website.

    Best regards,
    Peter

    in reply to: Link Post Format #221578

    Hey!

    Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php and replace

    
    		                  	if($format == 'link')
    		                   	{
    			                        $current_post = array();
    			                        $current_post['content'] = $entry->post_content;
    			                        $current_post['title'] =  $entry->post_title;
    			                        
    			                        if(function_exists('avia_link_content_filter'))
    			                        {
    			                            $current_post = avia_link_content_filter($current_post);
    			                        }
    			
    			                        $link = $current_post['url'];
    		                    	}
    

    with

    
    			                 $linktarget = '';
    		                  	if($format == 'link')
    		                   	{
    			                        $current_post = array();
    			                        $current_post['content'] = $entry->post_content;
    			                        $current_post['title'] =  $entry->post_title;
    			                        
    			                        if(function_exists('avia_link_content_filter'))
    			                        {
    			                            $current_post = avia_link_content_filter($current_post);
    			                        }
    			
    			                        $link = $current_post['url'];
    			                        $linktarget = 'target="_blank"';
    		                    	}
    

    and

    
                        $markup = avia_markup_helper(array('context' => 'entry','echo'=>false));
    					$output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>";
    					$output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
    					$output .= "<div class='slide-content'>";
    
                        $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false));
                        $output .= '<header class="entry-content-header">';
                        $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
                        $output .= '</header>';
    

    with

    
                        $markup = avia_markup_helper(array('context' => 'entry','echo'=>false));
    					$output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>";
    					$output .= $thumbnail ? "<a href='{$link}' {$linktarget} data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
    					$output .= "<div class='slide-content'>";
    
                        $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false));
                        $output .= '<header class="entry-content-header">';
                        $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' {$linktarget} title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
                        $output .= '</header>';
    

    Best regards,
    Peter

    in reply to: Touchscreen laptop masonry hover display #221576

    Hey borkent!

    I tagged this thread for Kriesi. I’m not sure if there’s any solution because I doubt it’s possible to detect the “cursor”. The only solution I can think of would be to use the OS class (i.e. avia-windows) to distinguish “laptop” touchscreens from “mobile devices” however this may still cause weird results for some users.

    Best regards,
    Peter

    in reply to: masonry gallery – how to sort by random #221574

    Hi Stefan!

    If you want to use the “load more” button or the pagination you can’t sort the images randomly because wordpress would query/show the same images over and over again. If you do not use a pagination or load more button use this code and insert it at the bottom of functions.php:

    
    add_filter('avia_masonry_entries_query', 'avia_random_image_query', 10, 2);
    function avia_random_image_query($query, $params)
    {
        if(!empty($query['post_mime_type']) && $query['post_mime_type'] == 'image')
        {
            $query['orderby'] = "rand";
        }
    
        return $query;
    }
    

    for a random sort order.

    Best regards,
    Peter

    in reply to: Portfolio doesn't work with Wpml #221571

    Hey!

    1) If you want to center align the title add following code into the quick css field

    
    .grid-entry-title {
    text-align: center;
    }
    

    2) Yes, I noticed that this option doesn’t work on your server. I’m pretty sure it’s connected to WPML and the woocommerce multilingual plugin which probably requires a pretty slug to work.

    Best regards,
    Peter

    in reply to: woocommerce 2.1 #221256

    Hey Spiv!

    We didn’t test Enfold 2.4.5 with WooCommerce 2.1 yet. We’ll test it with the final version and release a theme update if necessary.

    Best regards,
    Peter

    in reply to: Hide dates in fullwidth masonry display of blog posts #221210

    Hi jmerithew!

    Use this css code to hide it:

    
    .av-masonry-date{ display: none !important;}
    

    Best regards,
    Peter

    in reply to: Forum search #221207

    Hey Vermishelle!

    Thank you for the suggestion. I’ll ask Kriesi to add a filter.

    Cheers!
    Peter

    in reply to: Hatchshow in Layer Slider #221206

    Hey sandboxes!

    I don’t know if LayerSlider supports this script and we can’t provide support for this customization. However you can try to place the html code into the “html” field of a layer

    
    <span class="hsjs">Each line in this code&rsquo;sHTML</span>
    <span class="hsjs">is set off with a</span>
    <span class="hsjs"><span></span>
    <span class="hsjs">element, & HatchShow adjusts the font size</span>
    <span class="hsjs">automatically.</span>
    <span class="hsjs">Each line should end up</span>
    <span class="hsjs">(roughly) the same width.</span>
    

    and then insert this code at the very bottom of enfold/js/avia.js:

    
    (function($){
       $(window).load(function(){
          $().hatchShow();
        });		
        jQuery.fn.hatchShow = function(){
          $('.hsjs').css('display','inner-block').css('white-space','pre').each(function(){
            var t = $(this);
            t.wrap("<span class='hatchshow_temp' style='display:block'>");
            var pw = t.parent().width();
            while( t.width() < pw ){t.css('font-size', (t.fontSize()+1)+"px"),
              function(){while( t.width() > pw ){t.css('font-size', (t.fontSize()-.1)+"px")}};
            };
          }).css('visibility','visible');
        };
        jQuery.fn.fontSize = function(){return parseInt($(this).css('font-size').replace('px',''));};
    })( jQuery );
    

    Cheers!
    Peter

    in reply to: Hiding Menus for logged in users #221205

    Hi justinfinocchiaro!

    Please see https://kriesi.at/support/topic/enfold-conditional-menu/

    Regards,
    Peter

    Hey murphy88!

    You can use the read more quicktag: http://en.support.wordpress.com/splitting-content/more-tag/ to generate the excerpt. If you want to use the “excerpt” field content as excerpt add following code to functions.php (insert it at the very bottom):

    
    add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1);
    function avia_category_content_filter($current_post)
    {
    if(!is_single())
    {
    	$current_post['content'] =  get_the_excerpt();
    	$current_post['content'] .= '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>';
    }
    return $current_post;
    }
    

    Best regards,
    Peter

    in reply to: Adding Shading to HR element #221201

    Hey DaveL77!

    I’m not sure if this is possible. It seems like the color of the background is already black and I’m not sure how you can add a dark gradient to a black background. This image http://gyazo.com/32d91802aedf473733c40427ac9f1604 shows a grey background which can be used with gradients. Maybe a link to your website helps us to check the design.

    Best regards,
    Peter

    in reply to: Link Post Format #221200

    Hi!

    Open up wp-content/themes/enfold/includes/helper-post-format.php and replace

    
    $current_post['title'] = "<a href='$link' rel='bookmark' title='".__('Link to:','avia_framework')." ".the_title_attribute('echo=0')."' $markup>".get_the_title()."</a>";
    
    

    with

    
    $current_post['title'] = "<a href='$link' target='_blank' rel='bookmark' title='".__('Link to:','avia_framework')." ".the_title_attribute('echo=0')."' $markup>".get_the_title()."</a>";
    
    

    Cheers!
    Peter

    in reply to: Menu on mobile device #221198

    Hey!

    Can you please post a link to your enfold website? This website: http://www.floatingflooradelaide.com.au/ does not use Enfold.

    Regards,
    Peter

    in reply to: Customizing the single post page #221196

    Hey!

    I suggest to try the portfolio ajax previews (you can select this option when you add a “portfolio grid” element to a page). The portfolio preview can show any type of content (slideshow, toggle, columns, etc.). Just select “Don’t show the images at all and display the preview text only” option: http://www.clipular.com/c/6453051829256192.png?k=5TIdSdjsRn87CQytVuQeUU4899A on the portfolio entry editor page and insert your shortcode(s) into the text editor field.The preview content will load when the user clicks on a portfolio entry: http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/

    Cheers!
    Peter

    in reply to: Hide category title en category pages #221194

    Hi Raul!

    You’ve two options:

    1) Remove the “category description” on the category editor page (click on “Edit” to edit the category slug, description, etc.).

    2) Use this css code to hide the description text:

    
    .archive .category-term-description {
    display: none;
    }
    

    You can insert it into the quick css field.

    Best regards,
    Peter

    in reply to: Calendar Format #221193

    Hey djsmbd!

    Go to the wordpress admin page > Settings > General and select “Week Starts On” – “Sunday”.

    Regards,
    Peter

    in reply to: Contact Form #221186

    Hi pfconsult!

    No, te contact form does not support a landing page or redirect at the moment. You can try an advanced contact form plugin like: Formidable or Gravity Forms.

    Regards,
    Peter

Viewing 30 posts - 5,221 through 5,250 (of 9,352 total)