Forum Replies Created

Viewing 30 posts - 16,591 through 16,620 (of 35,023 total)
  • Author
    Posts
  • Hey macmutsaers,
    Sorry for the late reply and thanks for the login and links. I found that the visibility options looks for the class av-no-preview in the document but the class is not being added to your page. Typically this occurs when an out-of-date header.php is used in a child theme. I see you have a child theme but your theme editor is disabled so I can’t see if you are using an old header.php, please check and test by renaming your child theme header.php to header.php.old, this will allow the current parent theme header.php to load.
    After doing this Please clear any cache plugin and your browser cache a couple of times and check.

    Best regards,
    Mike

    in reply to: HIDE Restricted Posts (RCP) #1224462

    Hey Rhodo,
    Sorry for the late reply and thanks for the link, I see that some of your masonry items have the classes rcp-is-restricted rcp-no-access, so with the plugin identifying which items to hide we can use this css:

    .rcp-is-restricted.rcp-no-access {
    	display: none;
    }

    Now you want to show these items to some users, so lets add the user role to the body as a class,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function add_role_to_body($classes) {
    	global $current_user;
    	$user_role = $current_user->roles;
    	return array_merge( $classes, array( $user_role[0] ) );
      }
      add_filter('body_class','add_role_to_body');

    So now you can choose which user type can see the content via css classes, such as administrator like this:

    .rcp-is-restricted.rcp-no-access {
    	display: none;
    }
    #top.administrator .rcp-is-restricted.rcp-no-access {
    	display: block;
    }

    Please try this css in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field
    After applying the css, Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: How to show reviews on product page #1224460

    Hey callum18,
    Sorry for the late reply and thanks for the login, I investigated your issue and found that you have disabled the product tabs with a function so the tab for the product reviews is not created and the element is not shown.
    But I found that we have a built-in shortcode to display the product reviews and form: [av_product_review]
    So I added this shortcode to your short description for the product you linked to, now the form shows below the description.
    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Advice on accessibility for masonry grid images #1224458

    Hey Rob,
    Sorry for the late reply, as I understand your issue, the Masonry Gallery is getting an error notice saying “Empty link: a link contains no text” on each image from an accessibility compliance test.
    In my test I found if you can use “Display neither” for the caption and enter the title for each image and it will show as a “title” attribute on the link and the background image container.

    So to enter the titles, edit your Masonry Gallery element and “edit the gallery” then click on each image to add the titles.
    edit_title_gallery_image.png
    Here you can see the title attributes:
    2020-06-21_192507.png
    Please try this and let us know if it passes your accessibility compliance test.

    Best regards,
    Mike

    in reply to: Wrong portfolio category displaying in breadcrumbs #1224455

    Hi,
    Glad to hear this helped and thanks for the kind words. 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: How to get content to overlap with one another? #1224451

    Hi,
    Sorry for the late reply, thanks for the link to your page but it looks like it was created with the WPBakery plugin so I can’t explain step-by-step, but typically you would try different values until you were satisfied. So 15% is not enough, but 25% is too much, correct?
    Please also note that lower sections are typically on top unless you change their z-index.

    Best regards,
    Mike

    in reply to: Kriesi site blocking locality? #1224446

    Hi,
    Sorry for the late reply, we are not sure why you are experiencing this, I did find that our IP is on an email spam blacklist, so perhaps we are on others and perhaps your ISP is using one of these? I’m guessing, but we have not been able to reproduce this.

    Best regards,
    Mike

    in reply to: Change Shipping to Delivery #1224443

    Hey dinmix,
    Sorry for the late reply, I have tested this function on my localhost and it worked correctly in the Cart and Checkout page. Try adding this code to the end of your functions.php file in Appearance > Editor:

    add_filter( 'woocommerce_shipping_package_name' , 'woocommerce_replace_text_shipping_to_delivery', 10, 3);
    function woocommerce_replace_text_shipping_to_delivery($package_name, $i, $package){
        return sprintf( _nx( 'Delivery', 'Delivery %d', ( $i + 1 ), 'shipping packages', 'put-here-you-domain-i18n' ), ( $i + 1 ) );
    }

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Wrong portfolio category displaying in breadcrumbs #1224442

    Hi,
    Thank you for the login, so to correct the breadcrumbs for your portfolio items please note this option in the editor sidebar:
    2020-06-21_153841.png
    From your “T” page the second portfolio item is “J & W”, an item from the “T” category and as you said, from your “T” page the breadcrumbs on the portfolio item “J & W” is Home > T > J&W this is correct so far, now from “J & W” if you click the button to the sister page in the “I” category the breadcrumbs still show the “T” because we were in a “T” category item when we clicked the button.
    So what I did for the “I” category item that showed the wrong breadcrumbs was to set the breadcrumbs option above, now no matter how you land on the “I” category item the breadcrumbs will show “I”

    I believe you only need to set this option on the “I” category items because I don’t see any buttons on those items going to “T” items. As for your menu highlighting, this may correct itself if you go back to the standard menu items, otherwise we can change with css.

    Best regards,
    Mike

    in reply to: Mega Menu :: Hamburger :: One at a time #1224436

    Hi,
    To have a different mobile menu, try creating a mobile menu and then go to Enfold Theme Options > Main Menu > Alternate Menu for Mobile and choose your new menu.
    2020-06-21_142247.png
    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    Hi,
    Glad to hear, you should be all set, shall we close this then?

    Best regards,
    Mike

    in reply to: MFP: second close button / function #1224434

    Hi,
    To add a second close button to the mfp popup, try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($) {
      $(window).click(function(){
      $( ".mfp-figure button" ).clone().css({'margin-top': '30px'}).appendTo( ".mfp-bottom-bar .mfp-counter" );
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Unfortunately, this will work site-wide because the mfp container is at the very top of the page after the body tag and doesn’t include any attributes of the element being opened, so while you can define the page it will work on, you can’t define the element it will work on. So for your one-page site with many mfp popups, this might not be what you are looking for.
    Perhaps your application of the mfp as an overlay is adding attributes or classes to the container and the above script could be modified to work only for those.
    Are you using a custom script or adding the mfp-hide class to the elements?
    Please link to your page so we can see what you have so far and how to target only the element you wish in the popup.

    Best regards,
    Mike

    in reply to: Mega Menu :: Hamburger :: One at a time #1224359

    Hey MrPoBoi,
    Sorry for the late reply, I have taken a look at this using the 2017 Demo, and the issue I find is that the siblings and parents do not retain the same structure as the other menu items and is difficult to transverse because what appears to be a sibling is actually the child of a different parent.
    Perhaps if we can see your menu we can find another solution.

    Best regards,
    Mike

    in reply to: Colour Section Background Video #1224334

    Hey lifefitnessnz,
    Sorry for the late reply, so if you leave the YouTube video playing long enough it will eventually play a “up next” video. Unfortunately, this is under the control of YouTube and they have removed the URL options to only play videos from one channel.
    But since this is occurring only after long visits do you believe any of your visitors are experiencing this?

    Another option is to self-host the videos instead of using YouTube.

    Best regards,
    Mike

    in reply to: Knowledge Base icon not provide in the template #1224333

    Hi,
    Unfortunately not.

    Best regards,
    Mike

    in reply to: Change Content When Hovering Over a Grid Cell #1224332

    Hi,
    a) you can use media queries to size the fonts, like this:

    @media only screen and (max-width: 375px) { 
    #main a > h3.av_icongrid_title.icongrid_title {
    	    font-size: 36px !important;
    }  
    }

    b) please see this screenshot that shows adding the link to the advanced tab, then the whole cell is a link.
    2020-06-19_091441.png

    Best regards,
    Mike

    in reply to: Custom Icons #1224329

    Hey havi,
    Sorry for the late reply, when downloading Icon Packs from Flaticon, try extracting the zip and copying the folder “font” to a new location and zipping into an archive and then upload to the “Iconfont manager” in the import option tab.
    Here’s what should be in your new zip file:
    2020-06-20_205751.png
    I tested this with this icon pack.
    Please note that iconfonts can only be in black & white, color will not work.

    Best regards,
    Mike

    in reply to: Portfolio grid last picture falls out of the grid #1224328

    Hey Tobias,
    Sorry for the late reply and thanks for the login and link to page. So for some reason, the last image is the wrong thumbnail, please see the two links in the Private Content area. We can correct with this script, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $("#top.page-id-54732 .grid-entry.post-entry-last img").attr("src","https://engelswimpern.de/wp-content/uploads/trainers_evelyn_k-1-300x300.png");
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: CSV section dividers #1224327

    Hi,
    Sorry for the late reply, I believe this was a concept page that was never completed, our color sections do not use SVG and WordPress doesn’t support it by default. Our borders use this css:

    .avia_transform .av-extra-border-element.border-extra-diagonal .av-extra-border-inner {
        top: 250px;
        right: 0;
        width: 110%;
        height: 100%;
        -webkit-transform-origin: right top;
        transform-origin: right top;
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
        position: absolute;
    }

    Unfortunately, the person that started this page is no longer with us, so I’m not sure what the compete solution was.

    The dev team has many exciting things in the works, but it takes some time to work them out.

    Best regards,
    Mike

    in reply to: MFP: second close button / function #1224326

    Hey eee_lala,
    Sorry for the late reply, to move the close button, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    div.avia-popup .mfp-close {
        top: 100% !important;
    }

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

    Best regards,
    Mike

    in reply to: Learndash Quiz Results Display Issue – 2.0 #1224322

    Hi,
    Sorry for the late reply and thanks for the test page, but the login didn’t work. Try adding this code to the end of your functions.php file in Appearance > Editor:

    function show_quiz_results(){
      ?>
      <script>
    (function($){
    	$(window).click(function() {
    if( $('.wpProQuiz_sending').is(":visible") ){
    		$('.wpProQuiz_results').css({display: 'block'});
    	}
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'show_quiz_results');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Sticky Posts in Post-Slider? #1224320

    Hi,
    Glad to hear that you have sorted this out. We will close this then unless you had any further questions for @Guenni007

    Best regards,
    Mike

    in reply to: Change Content When Hovering Over a Grid Cell #1224319

    Hi,
    To have your icon grids to have the same height as width, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function equal_height_icon_grid(){
      ?>
      <script>
    (function($){
    $(document).ready(function() {
    	$(window).on('resize', function() {
            $('.article-icon-entry').height( $('.article-icon-entry').width() );
    	}).trigger('resize');
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'equal_height_icon_grid');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Wrong portfolio category displaying in breadcrumbs #1224316

    Hey Rob,
    Sorry for the late reply, in the thread that you linked to it is explained that “If you do not select a breadcrumb parent page a php session variable will be used to determine which page could be a parent page. The results may vary depending on which page the website visitor views first. If you want a constant breadcrumb (which does not use sessions to “guess” the right parent page based on previously visited pages) you need to select the breadcrumb parent manually.”
    When you explain your pages don’t have a parent page and the linking you have between the categories, this makes since when considering the php session variable.
    So it seems that the solution is to set the parent for these two pages, but I know that you didn’t want to do this because you wanted them to be independent pages in the menu, you can achieve this by using “custom links” for these two in the menu instead of the standard “menu items”.

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, When I look at your product grid element on your shop page I see that the product grid element settings are “Sorted by newest product”, and then checking the front end it looks like this is true. This seems to be what your wish is, correct?
    Your question about the settings at WordPress -> Customizer -> WooCommerce -> Product-Katalog -> Standard Produkt Sortierung these are meant to be a shortcut to the WooCommerce default settings, but the product grid element settings are meant to take priority. When I checked these were set to “Sorted by newest product” and not “Lasse den Benutzer auswählen, indem in einen Dropbox-Menü die Sortieroptionen angezeigt werden”, which you did not want to use. So this seems correct as to your wishes?

    Best regards,
    Mike

    in reply to: Replace social menu with, add menu in header #1224296

    Hi,
    Sorry for the late reply, I took a look at your page and believe you would like your extra menu to be level with your logo and to the right.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #nav_menu-2 {
    	top: 80px;
    	padding: 0 !important;
    	z-index: 10;
    }
    #nav_menu-2 .menu-header-menu-right-container {
    	float: right;
    }
    #nav_menu-2 .menu-header-menu-right-container li {
    	display: inline-block;
    	border-bottom: 1px solid;
        border-left: none;
        border-right: none;
        border-top: none;
        border-radius: 3px;
        background-color: #ff6600;
        border-color: transparent;
        padding: 10px;
    }
    #nav_menu-2 .menu-header-menu-right-container li a {
    	color: #fff;
    }

    Please see the screenshot in Private Content area, and then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    in reply to: Timeline element: Link to specific milestone? #1224293

    Hi,
    Sorry for the late reply, very good then, unless there is anything else we can help with on this issue, shall we close this then?
    For anyone thinking of using the Slick Slider js, here is a video that explains how to use it pretty well.

    Best regards,
    Mike

    in reply to: Responsive Products Slider #1224290

    Hi,
    Thanks, the css is in your WordPress > Customize > Additional CSS I had moved it a couple of times until I realized the Autoptimize cache was giving me some trouble.
    Anyways, please let us know if you need further help with setting up the two elements to show on different devices.

    Best regards,
    Mike

    in reply to: using own icons in icon list #1224283

    Hi,
    Sorry for the late reply, for your home page footer width, it looks like your boxed layout is still enabled, so this solution includes making your site full-width and then moving your #footer to after the #main div and making the #main content boxed.
    So basically right now your layout is like this:

    <body>
        <div id="wrap_all">
            <div id="main">
                <div id="full_slider_1"></div>
                <div id="av_section_1"></div>
                <div id="footer"></div>
            </div>
        </div>
    </body>

    The following script will move the #footer to after the #main div like this:

    <body>
        <div id="wrap_all">
            <div id="main">
                <div id="full_slider_1"></div>
                <div id="av_section_1"></div>
            </div>
            <div id="footer"></div>
        </div>
    </body>

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

    
    function custom_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    $( 'body' ).each(function() {
    $( this ).find( '#footer' ).insertAfter( $(this).find('#main') );
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Then add this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .responsive.html_boxed #top,.responsive.html_boxed.html_header_sticky #header {
        max-width: 1810px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #main {
    	max-width: 80%;
        margin: auto;
    }
    
    #footer {
      width:100%;
      justify-content: center;
      display: flex;
      background-color:blue;
    }
    #footer > .container {
    	margin: 0 !important;
    	padding: 0 !important;
    }

    The blue background color is only to demonstrate that the footer is full-width, you can remove the color if you wish.
    Then clear your browser cache and check.

    For your mailto links, please see this article about mailto Link Syntax

    Best regards,
    Mike

    in reply to: Responsive Products Slider #1224273

    Hi,
    Sorry for the late reply, I’m not sure how this could cause some display issues for users on a desktop, without “window resize”. Do you believe your users are loading your site on a desktop and then resizing the window?
    I believe that using two different elements for different screen sizes would not add much to the loading time because the element is already loading so the difference is just the small amount of text that is in the element.
    So I would recommend this approach.
    Yes, I had disabled your Autoptimize plugin because its cache was making it hard to test the above solution, I wrote about this above, but I have re-enabled it now, sorry for the confusion.

    Best regards,
    Mike

Viewing 30 posts - 16,591 through 16,620 (of 35,023 total)