Forum Replies Created

Viewing 30 posts - 47,281 through 47,310 (of 65,998 total)
  • Author
    Posts
  • in reply to: Woocommerce Catalogue Mode #455475

    Hi craigriches!

    Thank you for using Enfold.

    You can try the Catalogue element but you will have to configure each items manually or the Magazine element if you want to display a certain post type automatically.

    Regards,
    Ismael

    in reply to: Problem with Portfolio Overlapping Images #455474

    Hi jasaunders!

    Thank you for using Enfold.

    Please try the solution provided here: https://kriesi.at/support/topic/masonry-gallery-images-stacking-on-top-of-each-other/#post-433895

    Regards,
    Ismael

    in reply to: Adjustments – Post Update #455471

    Hey!

    Please copy this code right from the forum:

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    echo "<img src='http://vitalshiftconsulting.com/wp-content/uploads/2013/12/turtle.jpg' class='header-turtle'/>";
    }

    Add this to the Quick CSS field to adjust the position of the turtle image:

    img.header-turtle {
      position: absolute;
      right: 10%;
    }

    Best regards,
    Ismael

    in reply to: Update plugins #455469

    Hey!

    Did you install layer slider as a stand alone plugin? Version 3.2 should include the layer slider version 5.4.0.

    Yes, you got it right but if you add the css codes in the Quick CSS field, you don’t have to create a backup because it will be retained after the update although creating a back up won’t hurt so do it anyway.

    Cheers!
    Ismael

    in reply to: IP Anonymization in Google Analytics #455465

    Hi turistai!

    Thank you for using Enfold.

    You need to place it directly in your ga analytics code. Refer to this link for more info: http://www.iubenda.com/blog/2013/11/13/ip-anonymization-google-analytics-privacy/#gajs

    The ga snippet should look something like this:

    <!-- Google Analytics -->
    <script async src='//www.google-analytics.com/analytics.js'></script>
    <script>
    window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
    ga('create', 'UA-XXXX-Y', 'auto');
    ga('set', 'anonymizeIP', true); // anonymize ip address
    ga('send', 'pageview');
    </script>
    <!-- End Google Analytics -->

    Cheers!
    Ismael

    in reply to: Logo Sizing #455462

    Hi!

    You can use photoshop or any image editor to crop the logo. Please give us the original logo image file. We will crop it for you. The website is on maintenance mode, please post the login details here so that we can see the site.

    Best regards,
    Ismael

    in reply to: Slowly loaded website optimization done…. #455457

    Hey!

    Nice. Glad you figured it out. :)

    Best regards,
    Ismael

    in reply to: Enfold not saving changes #455455

    Hi!

    Alright. Still, you cannot put any content in the debug editor unless it is generated by the advance layout builder. Anyway, I created a test page and the content doesn’t display because of this css code:

    #top.single-post #main > div.container_wrap:nth-child(1) .container {
      display: none;
    }

    Please remove it.

    Best regards,
    Ismael

    in reply to: Autoplay Video #455453

    Hi!

    I’m sorry for the confusion, the #fffdff value is the background color when I checked both video background on photoshop after I took the screenshot. They have the same background color, it’s not purely white but it is white. I don’t see any gray colored background. You can’t change the background color of the video using css.

    And the swf format video automatically start on page load.

    Regards,
    Ismael

    in reply to: One-Page Style with Proper Menu Linking #455447

    Hey!

    It’s not working because you didn’t set the Blog Layout > Blog Style to use the advance layout builder so the blog is still using the index.php template. We already set it to “use the advance layout builder..”. You need to edit the blog page, add the Blog Posts element.

    Regards,
    Ismael

    in reply to: Issue with footer size #455446

    Hi!

    What is the screen resolution of your monitor? Mine is 1600x900px and the footer looks like this:

    Regards,
    Ismael

    Hey!

    The sidebar.php file checks what page is currently being viewed then serve the sidebar accordingly. Look for this line:

    function avia_close_summary_div() {
     echo "</div>"; //close out the summary
     get_sidebar();
    }

    Replace it with:

    function avia_close_summary_div() {
            global $avia_config;
            echo "</div>"; //close out the summary	
            $avia_config['currently_viewing'] = "shop_single";
    	get_sidebar();	
    }

    Cheers!
    Ismael

    • This reply was modified 10 years ago by Ismael.
    in reply to: More image sizes in folder than available to insert #455442

    Hi!

    You can add this to the functions.php file:

    add_filter( 'image_size_names_choose', 'avia_add_selectable_images' );
    function avia_add_selectable_images($sizes) {
    	$newsize = array (
    		'masonry' => __('Masonry Thumbnail','avia_framework'),
    		'magazine' => __('Magazine Thumbnail','avia_framework')
    	);
    
    	if(isset($newsize))
    	{
    		$sizes = array_merge($sizes, $newsize);
    	}
    
    	return $sizes;
    }

    Add existing thumbnail sizes.

    Cheers!
    Ismael

    Hey!

    Add this to the Quick CSS field:

    .entry-content li {
      margin-left: 1em !important;
      list-style: disc outside !important;
    }

    Regards,
    Ismael

    in reply to: Header with three logo #455437

    Hi!

    Remove the span tag:

    <div class="logo-right">
    <h6>Partenaire de vos projets</h6>
    </div>

    Replace the css code with this:

    #header .widget {
      width: 100%;
      padding-top: 0;
      position: absolute;
      top: -130px ;
    left: 0;
    }
    
    .logo-right {
      position: absolute;
      right: 50px;
      top: 50px;
    }
    
    .logo-left {
      margin: 0 auto;
      width: 332px;
    }

    Adjust if necessary.

    Regards,
    Ismael

    in reply to: 3.1.5 Upgrade killed my Sidebars! #455436

    Hey!

    Starting on WordPress 4.2, the register_sidebar function is going to require a sidebar id so a fix was included on enfold version 3.1.4. Sidebars without an id, which is the case on versions before enfold 3.1.4, will lose the registered widgets. It might be necessary to re-apply your widgets to the correct widget area after updating. The widgets will be relocated in the Inactive Widgets section. If you already fixed the sidebars after updating to enfold 3.1.4 and if you update to enfold 3.1.5, those sidebars should stay intact.

    Regarding the “special characters”, what I meant is if you create a custom widget area, please refrain from using special characters. http://www.degraeve.com/reference/specialcharacters.php

    Regards,
    Ismael

    Hi!

    Left margin is set to 0 when I checked the page. Please remove browser cache then reload the page.

    Best regards,
    Ismael

    in reply to: Annoying problem with menu #455418

    Hey matvada!

    Thank you for using Enfold.

    The anchor menu works ok when I checked the page. Did you fix it? If not, please provide a screenshot of the issue.

    Regards,
    Ismael

    in reply to: Switching to the Child Theme #455417

    Hi!

    All options should stay intact including the advance layout builder content. Please refer to this link on how to properly move to a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/

    Cheers!
    Ismael

    Hi!

    Did you remove all created menus? Please provide a screenshot of the “menu crash”.. Use imgur or dropbox.

    Cheers!
    Ismael

    in reply to: Sticky Cookie Law bar #455415

    Hi!

    Alright. Please check it now. Test it with or without the cookie: http://www.c-testing.nl/ccom/

    Wait for the page to finish loading.

    Best regards,
    Ismael

    in reply to: Slowly loaded website optimization done…. #455409

    Hi!

    Please test the site here: http://gtmetrix.com/reports/www.cel-remonta.ru/FNg1Mrqg

    Below, you can review the recommendations in order to optimize the site:

    1.) Specify image dimensions – Go to the Media Library then set the ALT and TITLE of the images.
    2.) Defer parsing of JavaScript – Most of the scripts are required to load ahead of the content to render the page properly so we won’t be able to fix it without breaking the site.
    3.) Serve scaled images – browse through the images in the list, you can resize the image dimension or decrease image quality to reduce loading speed.
    4.) Minimize redirects – Not sure what could be causing this.. Do you have any redirect settings?
    5.) Remove query strings from static resources – – – – – Looks like the bwp minify plugin is causing this.
    6.) Leverage browser caching – Minimum expiration period is 1 month. Please refer to this link on how to leverage browser cache for different file types: https://www.feedthebot.com/pagespeed/leverage-browser-caching.html

    The suggestions above can improve page load marginally but in the end, it ultimately boils down to the performance of your current hosting plan. Make sure that there is no impose limit on the amount of traffic, resource limits, bandwidth your website can use per day and per month. Shared hosts are cheaper but is not really recommended because it is relatively slower compare to dedicated servers.

    Best regards,
    Ismael

    in reply to: Setting Partner/Logo Element question #455406

    Hi!

    Did you place the element inside a color section? Set the Section Padding to “No Padding”.

    Best regards,
    Ismael

    Hey!

    Add this to the Quick CSS field:

    a.fc-event {
      min-width: 109px !important;
    }

    Cheers!
    Ismael

    in reply to: Color Problems with alternate content area #455403

    Hey!

    The settings works fine on our installation. Please post the login credentials here, we would like to check it.

    Cheers!
    Ismael

    in reply to: backgrounds and some content missing Windows mobile #455401

    Hi!

    Did you add a custom css transition for the menu items? Again, the difference between the two page is the transparency header. The pages with the transparent header don’t display the default styling. Maybe because of the custom css modifications that you add. Add this in the Quick CSS field to get the same hover color:

    #top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a:hover {
      color: #c05527;
    }

    Why did you set this page to transparent header? http://sundaradesign.com.au/dev/wp-admin/post.php?post=452&action=edit

    And not this one? http://sundaradesign.com.au/dev/wp-admin/post.php?post=1000&action=edit

    I don’t see any difference between the two pages.

    Cheers!
    Ismael

    in reply to: mobile menu #455393

    Hi!

    Why did you override the theme? Like I said on my previous post, it doesn’t affect anything on the theme. Please review the post here: https://kriesi.at/support/topic/mobile-menu-33/#post-449861

    You can find this line in the mobile menu modification:

    register_nav_menu($key, THEMENAME.' '.$name);
    

    Replace it with:

    $theme_name = get_current_theme();register_nav_menu($key, $theme_name.' '.$name);
    

    That should fix the theme name issue.

    Cheers!
    Ismael

    Hi!

    Try to use the theme’s default layer slider shortcode:

    echo do_shortcode("[av_layerslider id='3']")
    

    Adjust the id if necessary.

    Cheers!
    Ismael

    in reply to: Autoplay Video #455390

    Hi!

    You can set the autoPlay parameter to true to auto play the video but take note that swf or flash files are not supported on iOS. It will not play on iPhones, iPad or any devices with iOS. Both video fromat have the same background color ( #fffdff ):

    Ignore the red background.

    Cheers!
    Ismael

    Hi boscotwcheung!

    Thank you for using Enfold.

    Add this in the functions.php file:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    	$template_url = get_stylesheet_directory();
        	array_unshift($paths, $template_url.'/shortcodes/');
    
    	return $paths;
    }
    

    Create a folder, name it “shortcodes”. Inside the folder create another php file called “product_snippet_custom”. Add this:

    <?php
    /**
     * Custom product shortcode
     */
    
    if ( !class_exists( 'avia_sc_produc_custom' ) )
    {
    	class avia_sc_produc_custom extends aviaShortcodeTemplate
    	{
    			/**
    			 * Create the config array for the shortcode custom
    			 */
    			function shortcode_insert_button()
    			{
    				$this->config['name']		= __('Product Custom', 'avia_framework' );
    				$this->config['tab']		= __('Plugin Additions', 'avia_framework' );
    				$this->config['icon']		= AviaBuilder::$path['imagesURL']."sc-button.png";
    				$this->config['order']		= 10;
    				$this->config['target']		= 'avia-target-insert';
    				$this->config['shortcode'] 	= 'av_product_custom';
            $this->config['tooltip'] 	= __('Display a custom info', 'avia_framework' );
            $this->config['drag-level'] = 3;
            $this->config['tinyMCE'] 	= array('disable' => "true");
    			}
    
          /**
      		 * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas
      		 * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container
      		 * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className
      		 *
      		 *
      		 * @param array $params this array holds the default values for $content and $args.
      		 * @return $params the return array usually holds an innerHtml key that holds item specific markup.
      		 */
      		function editor_element($params)
      		{
      			$params['innerHtml'] = "<img src='".$this->config['icon']."' title='".$this->config['name']."' />";
      			$params['innerHtml'].= "<div class='avia-element-label'>".$this->config['name']."</div>";
      			$params['content'] 	 = NULL; //remove to allow content elements
      			return $params;
      		}
    
          function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "")
          {
          	$output = "";
          	$meta['el_class'];
    
          	global $woocommerce, $product;
          	if(!is_object($woocommerce) || !is_object($woocommerce->query) || empty($product)) return;
    
          	// $product = wc_get_product();
          	$output .= "<div class='av-woo-product-info ".$meta['el_class']."'>";
          	ob_start();
    
          	// Disabled by Alex
          	// $product->list_attributes();
    
          	// Custom Code by Alex to add more product info data
          	$string_item_code = 'Item-code';
          	if (ICL_LANGUAGE_CODE != 'en'){
          		$string_item_code = '產品編號';
          	}
          	if ($product->sku != ''){
          		echo '<div class="product_sku">'.$string_item_code.': '.$product->sku.'</div>';
          	}
          	if ($product->post->post_title != ''){
          		echo '<div class="product_title">'.$product->post->post_title.'</div>';
          	}
    
          	if ($product->regular_price != ''){
          		echo '<div class="product_price_row">';
          		$product_o_price = $product->regular_price;
          		$product_s_price = $product->sale_price;
          		$product_symbol = get_woocommerce_currency_symbol();
          		if ($product_symbol == '$'){
          			$product_symbol = 'HKD$';
          		}
          		$product_symbol = 'HKD';
          		if ($product_s_price == ''){ // No Discount
          			if ($product_o_price != ''){
          				echo '<span class="product_price">'.$product_symbol.wc_price($product_o_price).'</span>';
          			}
          		} else {
          			echo '<span class="product_price">'.$product_symbol.wc_price($product_s_price).'</span>';
          			echo '<span class="product_o_price"><del>'.$product_symbol.wc_price($product_o_price).'</del></span>';
          			echo '<span class="product_percent">'.(($product_o_price - $product_s_price) / $product_o_price) * 100 .'% off</span>';
          		}
          		echo '</div>';
          	}
          	// end of custom code by Alex
    
          	$output .= ob_get_clean();
          	$output .= "</div>";
    
          	return $output;
          }
    	}
    }
    

    You will find another element named “Product Custom” in the Plugin Additions panel.

    Best regards,
    Ismael

Viewing 30 posts - 47,281 through 47,310 (of 65,998 total)