Forum Replies Created

Viewing 30 posts - 11,161 through 11,190 (of 34,910 total)
  • Author
    Posts
  • Hi,
    Glad that this helped, but I don’t understand your new question, the screen sizes for
    default, medium, small and very small
    are explained in the context of the option page, above the red arrow in the screenshot.

    Best regards,
    Mike

    in reply to: Video instead displays under sticky header #1358682

    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

    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: Main Menu_ Line indicates the wrong side #1358653

    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: How to set up an Under Construction / Coming Soon Page? #1358633

    Hey gb,
    Please see our documentation here: Coming soon page
    right below it on the same page is the Maintenance mode documentation, please review and let us know if you have further questions.

    Best regards,
    Mike

    Hi,
    Thanks for the feedback the reason you table was not working was because it had line breaks in it, I tried to explain this above:
    2022-07-17_008.jpg
    2022-07-17_009.jpg
    I also adjusted the placement
    2022-07-17_010.jpg
    please check.

    Best regards,
    Mike

    Hi,
    Thank you for the login, I’m not sure why this was not working on your site, but I did notice that your category page was different than my default version, probably due to one of your plugins.
    Anyways I adjusted my approach with a new function in your PHP snippets plugin, I left the old one disabled and you can delete it.
    So the first improvement for this one is that it checks the category page for the ID “search-fail” which is only found on empty category pages, if found it injects the shortcode that gets the category description, so you don’t need to add the shortcode on the pages and then remove it once you add products to the category later.
    But you need to add your html table without line breaks, you will see what I mean when you check the back end of the two pages I adjusted for you:
    https://diyjewellery.com/bails/bails-attached/bails-attached-gold/
    https://diyjewellery.com/bails/bails-glue-on/bails-glue-on-gold/
    Also note that for these two page you didn’t add an image url just img src="#" so no images are showing in the table right now.
    2022-07-17_006.jpg
    This is the function I added

    function archive_description_callback() {
    	$term_object = get_queried_object();
    	$archive_description = $term_object->description;
    	echo '<div class="container archive-description">'.$archive_description.'</div>';
        return $output;
    }
    add_shortcode( 'archive_description_shortcode', 'archive_description_callback' );
    function add_archive_description_shortcode() { ?>
        <script>
      (function($){	
          var short_code = '<?php echo do_shortcode("[archive_description_shortcode]"); ?>';
    	  if ($('#top.archive.tax-product_cat .entry-content-wrapper').attr("id") == "search-fail") {
          $(short_code).insertBefore( ".container_wrap_first" );
    	  }
      })(jQuery);
      </script>
        <?php
      }
      add_action('wp_footer', 'add_archive_description_shortcode');

    Best regards,
    Mike

    in reply to: Global Tempates #1358623

    Hey roosites,
    Thank you for your question.
    Please see the Custom Elements (Custom Element Templates – CET) in the theme options.
    Please check our documentation for more details. Advanced Users can have more options.

    Best regards,
    Mike

    in reply to: Demo import not working at all #1358622

    Hey Rebecca,
    Thanks for the login to your site, what web host are you using?
    I see in your WordPress ▸ Dashboard ▸ Tools ▸ Site Health ▸ Info ▸ Server you have a negative number: Max input time -1, typically this is set to a positive 180.
    2022-07-17_005.jpg
    Please ask your web host to change the Max input time to 180.
    After correcting this server issue try importing the demo again.
    If this still doesn’t work then try the manual import as in our documentation

    Best regards,
    Mike

    Hi,
    Yes, I understand that your page is not showing the custom table at the top of your empty category page.
    The table that I copied was from a non-empty category page that is showing a table that I assume is similar to what should show on your empty category page
    https://diyjewellery.com/bails/bails-attached/bails-attached-gold/
    It is only an example, since I can not log in to your site a see the actual backend of your empty category page, I have to guess what the expected result is.
    Please include an admin login in the Private Content area so I can examine your page closer.

    Best regards,
    Mike

    in reply to: Issues with WYSIWYG-Editor #1358618

    Hi,
    Glad to hear that you also noticed the “powered by Tiny” text on the “weird” editor, there must be something on your site adding this “weird” editor because it is not in any element on my clean Enfold install.
    From past experience, I have only seen this with the TinyMCE Advance plugin.
    Try creating a test sub-domain with a fresh WordPress & Enfold install and see if this “weird” editor is found there.

    Best regards,
    Mike

    Hi,
    Thanks for the feedback, I tested my first solution again on my test site and achieve this:
    2022-07-16_009.jpg
    I wanted to check that I didn’t leave a step out, so please include an admin login in the Private Content area so I can examine your site closer.

    Have you removed the custom archive-product.php template in your child theme, from the original solution above, as this is not a factor of the shortcode solution?
    Also is the woocommerce/templates/archive-product.php file from the original solution above, in it’s original state, without any modifications?

    Best regards,
    Mike

    in reply to: Menu link description (subtext) is not showing #1358612

    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: Video instead displays under sticky header #1358604

    Hi,
    Thanks for the link to your site, I see that you have this css:

    #top .av-submenu-container.av-sticky-submenu {
        z-index: 2;
    }

    unfortunately it needs the !important; to work so please change to:

    #top .av-submenu-container.av-sticky-submenu {
        z-index: 2 !important;
    }

    we will need to apply z-index to the flex column that has the video link because it becomes the parent of the modal, and we also need to apply z-index to the container after the submenu for the modal to be on top of it, so please try this css:

    .flex_column.avia-builder-el-2 {
    	z-index: 2;
    	position: relative;
    }
    
    .template-page.content {
    	z-index: 3;
    	position: relative;
    }
    #top .av-submenu-container.av-sticky-submenu {
        z-index: 2 !important;
    }

    please note the first css rule is .flex_column.avia-builder-el-2 but it would be better if you added a custom class to the column that has the video link, but this should work for now so you can test. I’m not sure if the z-index for the container after the submenu will be an issue for other pages, so please check and if it is we can adjust the classes. Are you going to use this over your whole site or just a couple of pages, the more we can limit it to certain pages the less it could cause issues on pages where it is not needed.
    After applying the css, please clear your browser cache and check.
    Best regards,
    Mike

    in reply to: demo import #1358601

    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: Google ReCaptcha 2 no longer works #1358599

    Hi,
    Thanks for the screenshot, but it gives a “hotlink” error, you probably have hotlink protection set on your server.
    2022-07-17_001.jpg
    In the future please try using a Screenshot service and pasting the image URL in your post.
    As for your reCaptcha I don’t need to accept cookies to send your form, here I fill it in:
    2022-07-17_003.jpg
    then I clicked the reCaptcha, it spun and gave me a green check and then hid, which is the correct behavior, so I didn’t get a screenshot of that, and then I sent the form and you see that I have the success message without accepting cookies.
    2022-07-17_004.jpg

    But from your last message I get the impression that you were getting a lot of spam, and this is the root of your issue, generally there are services that spammers use to beat Google reCaptcha, if these spammers has your site on their list then I would recommend using Contact Form 7 with Honeypot for Contact Form 7 and Blackhole for Bad Bots

    Best regards,
    Mike

    Hi,
    Thanks for your patience, as I understand your request you have added a html table to your category Description and you want it to show when there are no products in that category, I was not able to get the above solution to work on my test site, but I was able to create a shortcode that you can add to empty categories to show your custom description:
    2022-07-16_008.jpg
    Try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function archive_description_callback() {
    	$term_object = get_queried_object();
    	$archive_description = $term_object->description;
    	echo '<div class="container archive-description">'.$archive_description.'</div>';
        return $output;
    }
    add_shortcode( 'archive_description_shortcode', 'archive_description_callback' );
    function remove_archive_description_shortcode() { ?>
      <script>
    (function($){
    $('.archive-description').contents().filter(function() {
      return this.nodeType == 3
    }).each(function(){
      this.textContent = this.textContent.replace('[archive_description_shortcode]','');
    });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'remove_archive_description_shortcode');

    and add this shortcode to the category Description [archive_description_shortcode]
    and this is the result:
    2022-07-16_009.jpg
    Perhaps this will help.

    As a side note I had originally thought that you wanted to show the category full width banner, and I found that this shows without and modifications:
    2022-07-16_010.jpg
    the results:
    2022-07-16_011.jpg

    In the process I stumbled on to this solution for just showing the category image without the description when using the default Category Styling and not the full width banner:
    2022-07-16_012.jpg
    use this shortcode: [banner_image_shortcode]
    This code to the end of your functions.php file in Appearance ▸ Editor:

    function banner_image_callback() {
    	ob_start();
    	avia_woocommerce_overview_banner_image();
    	$banner_image = ob_get_clean();
    	echo '<div class="container">'.$banner_image.'</div>';
        return $output;
    }
    add_shortcode( 'banner_image_shortcode', 'banner_image_callback' );

    for this result:
    2022-07-16_013.jpg

    Best regards,
    Mike

    in reply to: Google ReCaptcha 2 no longer works #1358590

    Hi,
    Thanks for the feedback, I checked your contact page with the Google reCaptcha and the form sent my test message successfully without an error, did you already solve this?

    Best regards,
    Mike

    in reply to: Footer Gallery Widget #1358589

    Hey cdubose574,
    Thanks for the link to your site, but it is redirecting to a bot check and it won’t let me pass, please disable this.
    Also, include an admin login so we can investigate the element better.

    Best regards,
    Mike

    Hi,
    Glad we were able to help, and thanks for sharing the solution, 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: Menu link description (subtext) is not showing #1358582

    Hi,
    Thank you for the link to your site, our documentation offers some tips on styling the subtext here: Main menu sub-text
    Since your menu items are a little slimmer I adjusted the css a little, please try this in your Quick CSS:

    #top #header #avia-menu li.menu-item a > .avia-menu-subtext{
    	display: flex;
    	margin-top: -35px;
    	color: #808080;
    	font-size: 12px;
    	font-weight: lighter;
    }

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

    Best regards,
    Mike

    in reply to: Masonry portfolio title underneath a square image #1358581

    Hey smudgedesign,
    Thank you for your patience, the thread from 2015 that you linked to about the Portfolio Grid doesn’t actually have a solution, the Moderator is pointing out the code block that would need to be edited without advising the specific changes. I found in my test that no change is nessary to achieve what you are looking for if you use the Portfolio Grid.
    I created a test page with a Portfolio Grid element and with a square “cropped” image the element shows the image square with the title below:
    2022-07-16_006.jpg
    please note that the image is 349×349 square, with the title it’s 349×403
    2022-07-16_007.jpg
    The key to choosing your images is ensuring that the thumbnails are “cropped”, if you use the Simple Image Sizes plugin you will see which ones are actually cropped square, for example while the “medium” image is 300×300 it is not cropped so it shows as 349×249 if the uploaded image is landscape instead of square, compared to the “woocommerce_thumbnail” which is 300×300 and cropped and produce the square images in the screenshots above.
    Now one point, the thread from 2015 that you linked to about the Portfolio Grid, often referred to as the Masonry Portfolio, because it has many of the same features as the Masonry element, so please try the Portfolio Grid element.

    Best regards,
    Mike

    Hi,
    Thanks for your patience, did you receive this email alert only once? You said that everything seems to be working correctly on the front and back end, is this still the case?
    Perhaps this was a one-off error with the WP Cerber Security as Ismael pointed out.
    It should not try to access the searchform.php via the error404.php file, but if this happens again check the plugin options to see if you can disable this file from being scanned.

    Best regards,
    Mike

    in reply to: Critical Issue and Clashes #1358578

    Hey Daviddjh,
    Thanks for the link to your site, but it sounds like the first error you post about only occurs in the backend, so please include an admin login in the Private Content area and a test page/order we can try on and a screencast of the steps to create the error so we can try.
    My question is did this used to work and then suddenly not work? Perhaps a new plugin (MyWorks) was added and now you see the error?
    have you tried disabling your plugins to see if the error is resolved?

    Let’s look at one issue at a time, but is this the MyWorks plugin you are referring to?

    Best regards,
    Mike

    in reply to: Menu link description (subtext) is not showing #1358577

    Hey drzatcodcan,
    Please link to your site so we can check.

    Best regards,
    Mike

    in reply to: Enfold not loading styles – CSS Problems #1358576

    Hi,
    Thanks for the login to your site, on your /service-center/ page in your screenshot above I found that the wrong color showing (a bright blue) was the default browser user agent color, so no setting seemed to be applied from the Enfold Theme Options ▸ Advanced Styling
    When I added the color and font size to your child theme stylesheet in your current .av-main-nav > li > a rule:

    .av-main-nav > li > a {
        line-height: 35px!important;
        height: 35px!important;
    	color: #00315c;
    	font-size: 17px; 
      }

    it worked correctly, so this points to your child theme stylesheet working but not the theme Enfold Theme Options ▸ Advanced Styling
    I see in your WordPress ▸ Dashboard ▸ Tools ▸ Site Health ▸ Info ▸ Server both of your PHP memory limit & Max input time are negative values:
    2022-07-16_004.jpg
    typically I would expect to see positive values:
    2022-07-16_005.jpg
    So from your post above it sounds like everything was working fine until recently, so did you just update to PHP v8, if so it looks like the PHP setting are not the same for your previously PHP version, probably 7.4 and the new v8 on your server, try going back to v7.4 to test, and if that works try adjusting them to match.
    If you didn’t change the PHP version since the error, then did you make any changes with the better search replace plugin and then noticed the error? This plugin is very powerful and can make serious unexpected changes, and has no fall back option.
    If this is true, do you have a pre plugin server backup? You might need to use it to correct, I’m not sure.
    If you don’t have a backup then you could add the css needed to correct your menu in your child theme stylesheet and not rely on the Enfold Theme Options ▸ Advanced Styling options.
    I have not seen a case of the Advanced Styling not working and I don’t see any related errors?

    Best regards,
    Mike

    in reply to: demo import #1358573

    Hi,
    Thanks for the login to your site, what web host are you using?
    I see in your WordPress ▸ Dashboard ▸ Tools ▸ Site Health ▸ Info ▸ Server you have a negative number: Max input time -1, typically this is set to a positive 180.
    2022-07-16_001.jpg
    This makes me think that you are using OVH hosting which disables the PHP set_time_limit() function on their sites. If you are not using OVH hosting please ask your web host to change the Max input time to 180.
    I also note that it looks like your web host is deferring the javascript loading before the theme, because the javascript options are not showing in the Enfold Theme Options ▸ Performance ▸ Change WordPress Defaults, these are the options you have:
    2022-07-16_002.jpg
    this is what you should see:
    2022-07-16_003.jpg
    Please ask your web host to enable the WordPress defaults for jQuery.
    After correcting these two server issues try importing the demo again.
    If this still doesn’t work then try the manual import as in our documentation

    Best regards,
    Mike

    in reply to: Table Layout #1358564

    Hi,
    Thanks for your question, in order to make your heading rows span across multiple columns the table would use the colspan attribute, unfortunately, the Enfold table element doesn’t offer this feature and considering that you are also looking for advanced fixed columns and rows when scrolling I would recommend looking for a table plugin that offers these features.
    I did find a stackoverflow example: Set colspan dynamically with jQuery to use as a base to try this with our table element, but please note that it will not work for the mobile table view.
    The script works by removing the empty cells and adding the colspan attribute to the first cell with text, also the very first cell is ignored.
    2022-07-15_007.jpg
    the result:
    2022-07-15_008.jpg
    If you want to try this add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_colspan_script() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('#colspantest .avia-heading-row').each(function() {
        var tr = this;
        var counter = 0;
        var strLookupText = '';
        $('th', tr).each(function(index, value) {
          var th = jQuery(this);
    
          if ((th.text() == strLookupText) || (th.text() == "")) {
            counter++;
            th.prev().attr('colSpan', '' + parseInt(counter + 1,10) + '').css({textAlign : 'center'});
            th.remove();
          }
          else {
            counter = 0;
          }
          strLookupText = th.text();
        });
      });
    })(jQuery);
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_colspan_script');

    and add the custom ID colspantest to the table element

    Best regards,
    Mike

    in reply to: conflict styling datepicker and gravity forms #1358562

    Hi,
    Glad to hear that you have this sorted out, 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

    Hey sky19er,
    Thank you for your question, I did a quick test for the gallery element, and when I add “PhD” to a image title in the media library it doesn’t seem to change the case in the image title:
    2022-07-15_003.jpg
    the results:
    2022-07-15_004.jpg
    I also tested editing the attachment details in the gallery element:
    2022-07-15_006.jpg
    and the results:
    2022-07-15_005.jpg
    so I don’t think that WordPress or Enfold are changing the case by default, perhaps it another script or plugin?
    Is this how you are adding the titles?

    Best regards,
    Mike

Viewing 30 posts - 11,161 through 11,190 (of 34,910 total)