Forum Replies Created

Viewing 30 posts - 2,101 through 2,130 (of 33,834 total)
  • Author
    Posts
  • in reply to: Portfolio Layout #1441203

    Hey peterolle,
    To have a custom sidebar that only shows on portfolio posts, first create a custom widget area, in this example I named it “portfolio sidebar” and added the text widget:
    Enfold Support 5626
    then ensure that the sidebar i enabled on single post items:
    Enfold Support 5628
    Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter("avf_custom_sidebar", function($custom_sidebar) {
        if(is_single() && get_post_type() === 'portfolio'){
            $custom_sidebar = "portfolio-sidebar"; 
        }
        return $custom_sidebar;
    }, 10, 1);
    

    and the sidebar will show only on portfolio posts:
    Enfold Support 5630

    Best regards,
    Mike

    in reply to: Site is loading slowly #1441191

    Hi,
    Thank you for your patience, your site doesn’t load for me, but I don’t see any errors in the browser. I do see one video trying to laod 6 times:
    Enfold Support 5624
    Try disabling all of your plugins and remove this video from your page and see if it then loads.
    Do you have the Page Preloading option enabled?
    Does the backend load ok?

    Best regards,
    Mike

    in reply to: Change h2 to h3 or other in Blog #1441189

    Hey Christian,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
      <script>
    (function($) {
      $(function() {
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('.post-entry h2.post-title.entry-title ', '<h4></h4>');
      });
    }(jQuery)); 
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    In the code change: <h4></h4> to suit. Note that this may not change the font size, if you also want to change the font size try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .html_elegant-blog #top .post-entry .post-title, .html_elegant-blog .avia-content-slider .slide-entry-title {
    	font-size: 20px;
    }

    and adjust to suit.
    If this doesn’t help please include the url to the page in question so we can take a closer look.

    Best regards,
    Mike

    in reply to: Blog posts section heading style #1441188

    Hi,
    To change the post h2 font size, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top #wrap_all .all_colors .post-entry h2.post-title.entry-title {
    	font-size: 20px;
    }

    adjust the font-size to suit.

    Best regards,
    Mike

    Hi,
    Please note that if you updated the theme by trying to overwrite the theme files via FTP, this could cause an error by leaving some old files behind that were not overwritten.
    Try deleting the parent theme Enfold directory, and then upload the new files.
    Another way would be to use your webhost backup files to restore your site, and then disable your child theme and manually update like this:
    First download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg
    Then before you enable your child theme ensure that your custom footer.php & header.php files match the current footer.php & header.php, if not this will cause errors in your theme. We do not recommend adding these files to your child theme, it is the most common reason for errors when updating. Please remove these files and any customizations you wish to make should be done in your child theme functions.php
    If you have other customized files in your child theme this could cause errors, try removing these and see if you still have trouble.

    Best regards,
    Mike

    Hey xfacta,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    	padding-top: 0;
    }

    Best regards,
    Mike

    in reply to: Change Events Calendar widget title font size #1441182

    Hi,
    Perhaps try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top #wrap_all .all_colors h2.tribe-events-widget-events-list__header-title {
    	font-size: 20px;
    	font-weight: 600;
    	font-family: "open sans";
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Burger Menu – button menu space above #1441177

    Hey xfacta,
    If you would like a larger space below your main menu links:
    Enfold Support 5622
    try changing the size of your header at Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Custom Height, this will also add space above your burger menu.

    Best regards,
    Mike

    in reply to: Show product category in masonry gallery #1441171

    Hey peterolle,
    You will need to also choose your sub-categories:
    Enfold Support 5616
    for them to show as a sorting option:
    Enfold Support 5618
    but note that you will need to ensure that your element is showing enough items to include the sub-categories, for example if you are only showing 5 items then the categories and sub-categories for those 5 items will show. Also note that the sorting will only work for the items shown, for example if on page load you are only showing 5 items, and only 1 item from the sub-category is showing, choosing that sub-category will only show the 1 item and not all items. So under Styling ▸ Pagination ▸ Post Number you should ensure that you are showing enough items.
    Enfold Support 5620

    Best regards,
    Mike

    in reply to: Custom WooCommerce categories with builder #1441164

    Hi,
    Enfold Theme Options ▸ Sidebar Settings ▸ Sidebar On Archive Pages

    Best regards,
    Mike

    in reply to: WooCommerce categories grid #1441092

    Hi,
    Try adding this shortcode to your page: [product_categories]
    Enfold Support 5610
    it will show a grid of categories:
    Enfold Support 5612
    if you have a image in the category it will show:
    Enfold Support 5614

    Best regards,
    Mike

    in reply to: Custom WooCommerce categories with builder #1441082

    Hi,
    Sidebars on category pages is at Enfold Theme Options ▸ Sidebar Settings ▸ Sidebar On Archive Pages
    On default editor product pages, the sidebar shows under the product image if you have a widget in the Single Product Pages widget area, for ALB products the sidebar is enabled on the edit page under Sidebar Settings
    Enfold_Support_5608.jpeg

    Best regards,
    Mike

    in reply to: WooCommerce categories grid #1441081

    Hey peterolle,
    Perhaps I don’t understand, because if you use the product grid you can choose the category:
    Enfold_Support_5606.jpeg
    so wouldn’t that be a category grid?

    Best regards,
    Mike

    in reply to: Remove featured image expand in posts #1441079

    Hi,
    Also use Guenni007 code for full size image.

    function custom_post_featured_image_link( $image_link, array $current_post, $size ){
      if(is_single()){
        $image_link = get_the_post_thumbnail( $current_post['the_id'], 'full' ); /**** or medium, square etc. ***/
      }
      echo $image_link; 
    }
    add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );

    Best regards,
    Mike

    in reply to: Show Quantity Change on Cart Page #1441078

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: No price adds read more to WooCommerce products #1441077

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: SearchWP #1441076

    Hi,
    Thank you for your patience, I set the function above back to the original code from the documentation and then added a custom searchform.php file to your child theme with this:

    <?php
    if( ! defined( 'ABSPATH' ) )   { exit; }
    
    global $avia_config;
    
    
    // Modify the search parameters for custom search URL
    $search_params = apply_filters('avf_frontend_search_form_param', array(
        'placeholder'   => __('Search', 'avia_framework'),
        'search_id'     => 'swps',  // Changed from 's' to 'swps'
        'form_action'   => home_url('/') . '?swp_form%5Bform_id%5D=1', // Appended custom query string
        'ajax_disable'  => false
    ));
    
    $disable_ajax = $search_params['ajax_disable'] == false ? '' : 'av_disable_ajax_search';
    
    $icon = av_icon_char('search');
    $class = av_icon_class('search');
    ?>
    
    <form action="<?php echo $search_params['form_action']; ?>" id="searchform" method="get" class="<?php echo $disable_ajax; ?>">
        <div>
            <input type="submit" value="<?php echo $icon; ?>" id="searchsubmit" class="button <?php echo $class; ?>" />
            <input type="text" id="s" name="<?php echo $search_params['search_id']; ?>" value="<?php echo esc_attr(get_search_query()); ?>" placeholder="<?php echo esc_attr($search_params['placeholder']); ?>" />
        </div>
    </form>
    

    now your ajax form “Show all results” link points to ?swp_form%5Bform_id%5D=1&swps=
    Enfold_Support_5602.jpeg
    and lands on your custom SearchWP results page:
    Enfold_Support_5604.jpeg

    Best regards,
    Mike

    in reply to: No price adds read more to WooCommerce products #1441061

    Hey peterolle,
    To remove the “Add to Cart” button that changes to “Read More” for products without a price and add the class single_button to the div avia_cart_buttons so the button is centered add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_action('woocommerce_before_shop_loop_item', 'start_custom_output_buffer', 9);
    function start_custom_output_buffer() {
        ob_start();
    }
    add_action('woocommerce_after_shop_loop_item', 'modify_and_end_custom_output_buffer', 25);
    function modify_and_end_custom_output_buffer() {
        $output = ob_get_clean();
        global $product;
        if ('' === $product->get_price()) {
            $output = str_replace("avia_cart_buttons", "avia_cart_buttons single_button", $output);
        }
        echo $output; 
    }
    add_filter('woocommerce_loop_add_to_cart_link', 'custom_woocommerce_loop_add_to_cart_link', 10, 2);
    function custom_woocommerce_loop_add_to_cart_link($button, $product) {
        if ('' === $product->get_price()) {
            return '';
        }
        return $button;
    }
    

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    This is the expected results:
    Enfold_Support_5600.jpeg

    Best regards,
    Mike

    Hi,
    In your opening post you write that your site lost some of it’s ranking, perhaps this is related to the Google helpful content updates, there was another on March 5.
    I’m not a SEO expert, but I have heard a lot of people talking about this on podcasts, perhaps adding a “latest post” from your blog on your homepage and adding weekly “helpful” posts will help your ranking. See Google’s documentation on Creating helpful, reliable, people-first content and then try working with a content writer to create content like this each week for you to post on your site. Also try to use the name of your city and state often, as I understand Google is looking for “local” content. You might also want to post the content on YouTube as it may help a lot.
    I checked your site on PageSpeed Insights and it scores well:
    Enfold_Support_5594.jpeg
    I don’t see any CORS errors.
    minified without merging is a good setting with cloudflare, as it also merges and double merging sometimes causes errors. But you can try merge and compress and see if it works better, but if you see errors then switch back.
    So you site looks good, I believe if you start adding “helpful” content weekly it will help you a lot.

    Best regards,
    Mike

    Hey Oarchitecte,
    Thank you for your patience, I checked you page in all three languages but all of the elements were the same, including the faq second, and the languages seemed correct. Perhaps you have now solved this?

    Best regards,
    Mike

    in reply to: Preview images on pages/post #1441057

    Hey,
    Thanks for sharing, as you point out using the admin_head hook will make this work, but I believe that you wish to make a feature request, please use the Github Feature Request as it will be sent to the Dev Team directly for their review.

    Best regards,
    Mike

    in reply to: Sorting posts in a second page #1441056

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Show Quantity Change on Cart Page #1441055

    Hey ballindigital,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) {
      .responsive table.shop_table td {
          display: table-cell;
      }
      .responsive .shop_table .product-quantity {
        display: table-cell;
        width: 100%;
        text-align: center;
      }
      #top .order_details .product-name li {
         margin: auto;
         padding: 0;
         border-right: none;
      }
      #top .order_details li {
         border-right: none;
      }
      #top table.shop_table td {
          padding: 5px;
      }
      }

    Best regards,
    Mike

    in reply to: Remove featured image expand in posts #1441054

    Hi,
    This css seems to easily solve the hover event:

    #top .template-single-blog .big-preview.single-big a {
      pointer-events: none;
    }

    Best regards,
    Mike

    Hi,
    Glad Guenni007 could help, thank you Guenni007, I don’t have experience with WPML but it is the most popular choice, unless you have further questions, shall we close this thread then?

    Best regards,
    Mike

    in reply to: Additional Icon Packs #1441048

    Hi,
    You can go to fontello: https://fontello.com/
    and choose the ones you like to make your own pack.
    You can also download some of the icons from our demos from our documentation

    Best regards,
    Mike

    in reply to: Sorting posts in a second page #1441046

    Hey rixi,
    Try changing if (is_page(1842)) to if (is_page(array( 1842, 1843 )))
    and add as many page ID so you need.

    Best regards,
    Mike

    in reply to: Delete underline from categories magazine #1441045

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: no underline in button #1440995

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #main a.avia-button {
      text-decoration: none; 
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Hide search icon #1440994

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 30 posts - 2,101 through 2,130 (of 33,834 total)