Forum Replies Created

Viewing 30 posts - 15,931 through 15,960 (of 35,015 total)
  • Author
    Posts
  • in reply to: Mobile only footer #1249355

    Hi,
    Glad to hear, to reduce the amount of blank space between widgets please try this css:

    @media only screen and (max-width: 767px) {
    #footer .flex_column.av_one_fourth {
    	margin-bottom: 0px !important;
    }
    #footer #nav_menu-6,
    #footer #nav_menu-2,
    #footer #text-3,
    #footer #text-2,
    #footer #text-5 {
    	margin-top: 0px !important;
    	margin-bottom: 0px !important;
    }
    }

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

    Best regards,
    Mike

    in reply to: Convert Plus Plugin dont work with the Enfold Theme #1248990

    Hi,
    @Shivam, thank you, in my tests on this site I find that the cookie for not showing the popup after closing it with the “x” button, doesn’t seem to set on the first show, before our cookie bar is accepted, on the second show the cookie is set. The cookie bar function is to allow all cookies on the first load and remove known cookies only if the cookie bar is dismissed. I added the plugin cookies to the theme settings, but this is to allow end users to remove cookies, as all cookies are allowed.
    These are the cookies I found:
    cp-impression-added-forcp_id_62d50 : true
    cp_id_62d50 : true
    temp_cp_id_62d50 : true
    which I understand to be yours, which one is for setting the timer to not show the popup for future visits on closing the popup with the close button?
    As a test I can set the cookies, on the second showing on the popup, and remove these cookies from the browser, but the popup still doesn’t show on re-load?
    I also tried to fake these cookies, but the popup still shows?

    Thanks and I hope you have a great day, Mike

    in reply to: Convert Plus Plugin dont work with the Enfold Theme #1248981

    Hi,
    Well, I’m stumped at this point, I will ask the rest of the team for input on this. Thank you for your patience.

    Best regards,
    Mike

    in reply to: Downloading page Consulting #1248979

    Hi,
    It looks like you are using Icon Box elements, which are 100% wide for mobile, then in your second screenshot I see 2×2 grid for these, this could be possible, but the elements and text will be much smaller, your visitors may have trouble reading it.
    For your sideways scrolling solution, I would recommend using a plugin that uses shortcodes so you can add it to your page. You can then hide for desktop devices as you wish.

    Best regards,
    Mike

    in reply to: Imported images not showing on posts #1248976

    Hi,
    I moved 1769 images, about 208mb, but since all of your uploads images are in the same directory there are no exact matches, but there are probably some sizes that your theme won’t be using, but I don’t see how it could be 1gb?
    I did login again and removed the zip archive of the images moved, so that should save you about 200mb.
    I also checked your Disk usage, after removing the zip archive and see that “public_html” is 876.24mb, this is for all of your domains, unfortunately, Disk usage doesn’t let you dig deeper into the structure.

    Best regards,
    Mike

    in reply to: Pop-up plugin #1248969

    Hi,
    Very good then, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: avia-menu-subtext messes with Google Sitelinks #1248968

    Hi,
    Very good, we will leave this open to hear back from you. We can also change this to use “alt” instead of the “title”, I’m just not sure which one would be better.

    Best regards,
    Mike

    in reply to: Ken burns effect needed #1248967

    Hi,
    Sorry, I have not used the “Smart Slider 3 Pro” plugin, the Ken Burns effect seems to be for only the background image, I’m not sure if this will work on an iPhone, I know IOS blocks the parallax from working on iPhone, but I don’t have one to test with.

    Best regards,
    Mike

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: fullwidth-sub-menu one-page menu highlight stoped working :-( #1248893

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Convert Plus Plugin dont work with the Enfold Theme #1248885

    Hi,
    Sorry for the late reply and thanks for the login, I enabled your ConvertPlus plugin Modal Popup and the Enfold cookie bar was already enabled. I added “Additional Custom Cookies” in the theme settings for the three cookies I found:
    cp-impression-added-forcp_id_62d50
    cp_id_62d50
    temp_cp_id_62d50
    but I don’t think that the first popup is setting the cookie, the second time that you close popup it seems to set the cookie.
    The settings for your cookie bar allows the cookies and only removes them if the user choose this. I’m not seeing any other errors and I’m not sure which of these cookies is for the popup, the ConvertPlus documentation doesn’t say. Can you ask ConvertPlus which cookie is meant to be set?

    Best regards,
    Mike

    Hi,
    Thanks for the feedback, to leave “nofollow” and remove “noopener noreferrer” from the cart buttons I added this function to your child theme functions.php:

    //This code removes noreferrer & noopener from your woocommerce cart buttons
     function remove_noreferrer_noopener_from_woo_cart_buttons($rel_values) {
     return 'nofollow';
     }
     add_filter('wp_targeted_link_rel', 'remove_noreferrer_noopener_from_woo_cart_buttons',999);

    This is working now, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Downloading page Consulting #1248872

    Hi,
    I tried checking your site, link in the Private Content area, but I get the error “Error establishing a database connection”, is this the correct URL?
    Please link to the page in question, I’m not quite sure what you mean, but perhaps after I see your site I will understand better. Feel free to link to a screenshot to highlight the issue.

    Best regards,
    Mike

    in reply to: Fatal error after update #1248870

    Hi,
    Thank you for the login & ftp access, I first re-named your parent theme to “enfold-old” to force WordPress to load the default “twenty twenty” theme, which worked to allow you to login to the back end.
    I then disabled a couple of plugins and tried activating the Enfold theme again but got the error again, I suspect that you updated via ftp by overwriting the theme folder, so I uploaded a new version of the theme in a new “enfold” directory and now the site is working.
    If you did upload the update via ftp by overwriting the theme folder this would explain your issue, this leaves old files in the directory and causes errors.
    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Downloading page Consulting #1248836

    Hi,
    To implement a horizontal scrolling menu, please go to Enfold Theme Options > General Styling > Logo and Main Menu and choose which side you would like it to be.

    Best regards,
    Mike

    Hi,
    Thanks for the feedback and the login, I tried to investigate your shop page, but you don’t have woocommerce installed on your site, is this just temporary?
    I also investigated your child theme functions.php and wanted to disable this function:

    add_action('wp_footer', 'ava_add_rel_nofollow');
    function ava_add_rel_nofollow(){
    	?>
    	<script type="text/javascript">
    		(function($) {
    			$('.single_add_to_cart_button').attr('rel', 'nofollow sponsored');
    		})(jQuery);
    	</script>
    	<?php
    }

    but WordPress gave the error Uncaught Error: Call to undefined function is_shop() in wp-content/themes/enfold-child/functions.php:24 for this code in your child theme functions.php:

    function woocommerce_disable_shop_page() {
        global $post;
        if (is_shop()):
        global $wp_query;
        $wp_query->set_404();
        status_header(404);
        endif;
    }
    add_action( 'wp', 'woocommerce_disable_shop_page' );

    so I had to disable this also, this will have to be re-written if you plan on using it in the future.
    Please let us know when woocommerce is installed again so we can investigate further, but I believe your “noopener noreferrer” can be removed with this solution, please give it a try and let us know.

    Best regards,
    Mike

    in reply to: fullwidth-sub-menu one-page menu highlight stoped working :-( #1248808

    Hi,
    Sorry for the late reply, and thanks for the login, so I copied your two pages to my localhost to test, and applied the css & javascript from the documentation and observed the menu “active-item” class being added & removed constantly.
    This seems to lead to a performance issue, as you pointed out. So I researched this and found a better working script, which I adjusted to work with the sub-menu and css.
    So the css is the same:

    /* Active menu styles */
    #top .submenu-onepage .active-menu-item,
    #top .submenu-onepage .active-menu-item a {
    background: #000 !important;
    color: #FFF !important;
    }
    
    
    
    #top .submenu-onepage .av-subnav-menu > li > a {
    border-left-style: none !important;
    border-left-width: 0px !important;
    }

    Try adding this script to the end of your functions.php file in Appearance > Editor:

    
    function custom_sub_menu_highlighting_script(){
      ?>
      <script>
    (function($){
    // Cache selectors
    var lastId,
        topMenu = $("#sub_menu1"),
        topMenuHeight = topMenu.outerHeight()+15,
        // All list items
        menuItems = topMenu.find("a"),
        // Anchors corresponding to menu items
        scrollItems = menuItems.map(function(){
          var item = $($(this).attr("href"));
          if (item.length) { return item; }
        });
    
    // Bind click handler to menu items
    // so we can get a fancy scroll animation
    menuItems.click(function(e){
      var href = $(this).attr("href"),
          offsetTop = href === "#" ? 0 : $(href).offset().top-topMenuHeight+1;
      $('html, body').stop().animate({ 
          scrollTop: offsetTop
      }, 300);
      e.preventDefault();
    });
    
    // Bind to scroll
    $(window).scroll(function(){
       // Get container scroll position
       var fromTop = $(this).scrollTop()+topMenuHeight;
       
       // Get id of current scroll item
       var cur = scrollItems.map(function(){
         if ($(this).offset().top < fromTop)
           return this;
       });
       // Get the id of the current element
       cur = cur[cur.length-1];
       var id = cur && cur.length ? cur[0].id : "";
       
       if (lastId !== id) {
           lastId = id;
           // Set/remove active class
           menuItems
             .parent().removeClass("active-menu-item")
             .end().filter("[href='#"+id+"']").parent().addClass("active-menu-item");
       }                   
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_sub_menu_highlighting_script');

    In my tests this works much better and the scroll to anchor action from clicking the menu items also is much smoother, so please give this a try and if you still find a performance issue try disabling your other scripts and plugins to check for a conflict.
    In the script above it looks for the ID sub_menu1 for the sub-menu here: topMenu = $("#sub_menu1")
    This is the default ID for the first sub-menu on each page, so this should be fine, but if you use a custom ID for the sub-menu in the future please ensure to change this too.
    I also noticed that in your child theme it looks like the other script was added twice, once in the functions.php and in menu-highlight.js, after you remove the other script please ensure the new script is only added once. I’m sure that you would, I just wanted to point that out 😉

    Best regards,
    Mike

    in reply to: Mobile only footer #1248772

    Hi,
    Sorry for the late reply, I took a look at your mobile footer and the order you wish to display them seems to be reversed, so please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (max-width: 767px) {
    #footer > div {
    	display: flex !important;
    	flex-direction: column-reverse !important;
    }
    }

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

    Best regards,
    Mike

    in reply to: Pop-up plugin #1248740

    Hey Eefke,
    Sorry for the late reply, I found the plugin WP Popups to work well and not a lot of bloat, but our built-in popup also works well if you are comfortable with HTML.

    Best regards,
    Mike

    in reply to: Enfold and q-Translate XT #1248739

    Hey fbeger,
    Sorry for the late reply, I have not used the q-translate XT plugin, but I have used Polylang some and it allows you to have separate pages for each language, for example, I set up Polylang with the languages en-us & en-ca, then to create a page for the second language I click the plus sign:
    2020-09-26_211332.jpg
    and edit the page to suit.
    Then when I view the page each language shows a different page, which can be checked by using the language switcher.
    This article goes deeper into Polylang if you want to check it out.
    But since you don’t want to translate the pages, perhaps a redirect plugin would be more efficient, like this.

    Best regards,
    Mike

    Hi,
    On my install I do not have the “noopener noreferrer”, but the function above removes the attribute which should be all three for you
    “nofollow noopener noreferrer” unless the “noopener noreferrer” is being loaded after the DOM, which would indicate that this is being added by a plugin.
    Please give it a try.

    Best regards,
    Mike

    in reply to: avia-menu-subtext messes with Google Sitelinks #1248734

    Hi,
    Sorry for the late reply, and thanks for the details, I believe it would be possible to separate these into separate links, but then you would have twice the links for Google to decide what to show in the sitemaps, which may not work out well.
    While researching I found that Google suggests in the context of sitelinks, to: use anchor text and alt text that’s informative, compact, and avoids repetition.
    So perhaps we can add a title or alt to the text & sub-text of your menu to clarify them to Google.
    For example, try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $(".menu-item-top-level").each(function(){
        $(this).find(".avia-menu-text").attr('title','title');
        $(this).find(".avia-menu-subtext").attr('title','subtitle');
    
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    This is the result:

    <a href="https://your-site.de/aktuelles/">
        <span class="avia-bullet"></span><span class="avia-menu-text" title="Title">Aktuelles</span>
        <span class="avia-menu-subtext" title="subtitle">Neuigkeiten rund um Huber</span>
        <span class="avia-menu-fx">
            <span class="avia-arrow-wrap"><span class="avia-arrow"></span></span>
        </span>
    </a>

    I was not able to find out if “titles” are best to use, but since Google recognizes other titles this might be enough to help.

    Best regards,
    Mike

    in reply to: transparent grid cell #1248732

    Hi,
    Sorry for the late reply and thanks for the login, I see that you are using a Grid Row element for the section that is two cells, unfortunately, the background for each cell is apart of that cell so we are not able to display one cell’s background over both cells.
    I would recommend using a color section with a background and a 1/2 column for your text, I created a clone of your page and replaced the Grid Row with this solution, as an example, please see the link in the Private Content area.
    You will note that I added the custom ID “book-background” to the color section and the following css to your Enfold Theme Options > General Styling > Quick CSS field, this was to force the background image size to “contain”.

    #book-background {
    	    background-size: contain !important;
    }

    Please let us know if this follows the idea for your page.

    Best regards,
    Mike

    in reply to: Return to preview/fallback image when video ends #1248725

    Hey ashlandwebsites,
    Sorry for the late reply, unfortunately I do not see a dependable way to do this from within the element, but if you have Vimeo Plus account you can add a Custom image to your End Screen which would be dependable because Vimeo would trigger the end of the video.

    Best regards,
    Mike

    Hey Ganubis,
    Sorry for the late reply, woocommerce adds the “nofollow” to the cart button, to remove try adding this code to the end of your functions.php file in Appearance > Editor:

    add_filter( 'woocommerce_loop_add_to_cart_args', 'remove_rel', 10, 2 );
    function remove_rel( $args, $product ) {
        unset( $args['attributes']['rel'] );
    
        return $args;
    }

    I tested this on my localhost and it works, after you add the code please clear your cache and check.

    Best regards,
    Mike

    in reply to: Flex Container #1248721

    Hi,
    Not in this situation. I checked your other pages in your “Supplements” menu to see if there is a way to have each of these columns have the same height for the text block element across these pages and it can be achieved with the following script. Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_equal_height_row_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
        (function() {
    
          var currentTallest = 0,
              currentRowStart = 0,
              rowDivs = new Array();
    
          function setConformingHeight(el, newHeight) {
            el.data("originalHeight", (el.data("originalHeight") == undefined) ? (el.height()) : (el.data("originalHeight")));
            el.height(newHeight);
          }
    
          function getOriginalHeight(el) {
            return (el.data("originalHeight") == undefined) ? (el.height()) : (el.data("originalHeight"));
          }
    
          function columnConform() {
          	$('.hr-custom.hr-center.hr-icon-no.el_after_av_textblock').css({'margin-top':'0'});
            $('.flex_column.av_one_third section:nth-of-type(2)').each(function() {
    
              var $el = $(this);
    
              var topPosition = $el.position().top;
    
              if (currentRowStart != topPosition) {
                for(currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) setConformingHeight(rowDivs[currentDiv], currentTallest);
    
                rowDivs.length = 0;
                currentRowStart = topPosition;
                currentTallest = getOriginalHeight($el);
                rowDivs.push($el);
    
              } else {
    
                rowDivs.push($el);
                currentTallest = (currentTallest < getOriginalHeight($el)) ? (getOriginalHeight($el)) : (currentTallest);
    
              }
              
    
            });
    
            for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
              setConformingHeight(rowDivs[currentDiv], currentTallest);
            }
    
          }
    
          $(function() {
            columnConform();
          });
    
        })();
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_equal_height_row_script');  

    While this works for your six pages I would recommend adding custom classes to each of the columns so there won’t be any conflicts with other columns.

    Best regards,
    Mike

    in reply to: Imported images not showing on posts #1248668

    Hi,
    Thank you for the login, one challenge was that on your original site the media was organized into mouth & year directories, but your new site didn’t. I was able to download your files and re-organize and upload to your new site, all seem to be working now, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Imported images not showing on posts #1248441

    Hi,
    Thank you, if both are in the same cPanel, then please provide access and I can assist.
    I would only need access to your export domain backend to check if this works correctly, which I believe is still good from above.

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, so for the “LearnDash Settings tab” do you mean the tab/link at the top of the page, or in the sidebar controls? Sorry I have not used LearnDash, I have just helped with these issues which is usually sorted out with some css, but I don’t think I’m looking in the right place.
    So I took a few screenshots with the Classic Editor & ALB side-by-side, to show what I’m looking at, in the Private Content area, but could you please create a video that I can follow along with to the error, thanks :)
    Also, for me, I find the “Block Editor” to be a “pain” and I typically switch to the “Classic Editor” in the theme settings so I can find some of the settings that I’m used to seeing (because of the way the Block Editor shows them), anyways is this a similar situation?
    I’m sure we can sort this out, I feel I’m not looking at the right thing :)

    Best regards,
    Mike

    in reply to: polyfill JS error in Internet Explorer 11 #1248409

    Hi,
    Thanks for sharing your solution, and glad you were able to sort this out, I assume we can close this now?

    Best regards,
    Mike

Viewing 30 posts - 15,931 through 15,960 (of 35,015 total)