Forum Replies Created

Viewing 30 posts - 1 through 30 (of 12,000 total)
  • Author
    Posts
  • in reply to: heading font not rendered properly #1495692

    I would generally recommend hosting the fonts yourself. And even turning off Enfold support for Google Fonts.
    It’s more flexible because you can choose the font styles you specifically need, and this is probably the only correct way to be GDPR compliant.
    To hamper Google Fonts Support on Enfold – put this to your child-theme functions.php:

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );

    For selfhosted Fonts – use the Enfold Font Manager – with its upload.
    You upload zip files to that font-manager f.e.:

    my recommendation is to use definitly woff2 fonts – but maybe as fallback the ttf Variants.
    On zipping the Folder (Montserrat) – pay attention if you do that on Mac OSX. Because there are hidden files in there. You had to avoid that.

    in reply to: heading font not rendered properly #1495688

    You are using the Montserrat Font from the drop downlist of Enfold Typos?

    Are you familiar with inspecting your page with a browser dev tools? Then you can check if this Montserrat font has all those font-weights you like to use.
    Or do you have uploaded your own Montserrat font by self hosting it? What kind of Montserrat did you upload then – the static files or the varialble Font?

    btw: , under German law, copyright is a highly personal asset. You cannot simply issue a warning to someone just because you see them stealing a third party’s image – even if you are a direct competitor.

    Here is a breakdown of who is allowed to do what:
    1. “Active legal standing” (who is allowed to sue?)
    Only those whose own rights have been infringed may demand cessation. In copyright law, these are:

    • The author themselves: The creator of the work.
    • The exclusive rights holder: For example, a publisher or agency to whom the sole rights have been transferred. (Shutterstock, iStock etc.)
    • Authorized representatives: A lawyer or an association (e.g., GEMA), but these act on behalf of and with the authority of the author.

    Therefore, ask whether COPYTRACK (and the internet is full of complaints about them) has the right to issue warnings on behalf of the author.

    That would be too risky for me—in this case, just get the license for €9 and you’re done. Link iStock
    or shutterstock Link

    Otherwise, take a look at free image providers (pixabay, pexels, or Unsplash).

    or you can use AI to create images:

    where do you want to use it? as standalone text. or inside a text-block?

    you can style a button this way (i used x-large button for that) – and even the padding you can have on button element itself – including border-width and border-radius.
    Only css is needed if you like to have a min-width for that button.

    https://webers-testseite.de/bemo-button/

    on the right – that is your screenshot image.

    in reply to: Lightbox Caption Showing Filename – How do I change that? #1495567

    please change the snippet – i replaced the selector to a masonry specific one:
    $('.av-masonry .lightbox-added').each(function(){
    so there is no influence on other img links
    and if you use the flexible masonry – it has to be:
    $('.av-masonry .lightbox-added img').each(function(){

    in reply to: Lightbox Caption Showing Filename – How do I change that? #1495566

    there is one problem with your links on that masonry – the titles are often the same as the file-names
    your alt attribute is always the same for that gallery: 7106 Bluff Run

    Next : on the element itself – where you set the option to show lightbox images. – there is underneath a dropdown with an option what to show as bottom-bar text:

    But if you have forgotton to show this on multiple masonry galleries – then you can place a little snippet instead in your child-theme functions.php:

    function masonry_title_fix(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
            $('.av-masonry .lightbox-added').each(function(){
                var lin = $(this).attr('alt');  /* === or choose title here === */
                $(this).attr('title',lin);
            });
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'masonry_title_fix');

    because you have the masonry perfect grid – you have no imgs inside but you can change it for the anchor tag.

    in reply to: Cropped images in Lightbox #1495519

    Your description of the whole thing is quite unclear.
    Which Enfold element did you use? Portfolio Grid? ( When I searched for avia_post_grid in the Enfold folder, I only found portfolio.php as an element with such an entry. )

    Then you selected “Open in Lightbox” for link handling.
    You can set the preview image size in the “Styling” tab – Grid settings:
    To do this, you must first select “Select the grid image size manually” under “Portfolio Grid Image Size”—a second drop-down menu will then open where you can specify the grid image size.

    Do you like to change something on the lightbox images – or the bottom-bar text?

    in reply to: Image does not open video in Lightbox #1495455

    but btw. why don’t you use the video element and set your image as preview /fallback image on that element?
    On advanced privacy settings (on the video element itsself) you can choose to show the video in the lightbox.

    in reply to: Image does not open video in Lightbox #1495454

    maybe this helps you on that:

    only to show that you can have video, websites or images in one lightbox group.

    INFO: due to GDPR ( DSGVO in Germany ) i can not show the working script for video content – it is hard to block this – playing videos from a masonry or from an image linked to a video.

    or not only for masonries:
    https://kriesi.at/support/topic/lightbox-pdf-not-working-shows-up-black-multiple-solutios/#post-1495451

    in reply to: Lightbox Pdf not working – shows up black multiple solutios #1495451

    can you try this:
    place that snippet inside your child-theme functions.php:

    
    function lightbox_with_mixed_content_type() { 
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
      (function($){
        $('.mixed-contenttype a').each(function(){
          var anchorLink = $(this).attr('href');
          if (/\.(jpg|png|gif|webp|jpeg)$/.test(anchorLink)) {
            //console.log(anchorLink + " is an image link");
          } else {
            $(this).attr('rel', 'lightbox').addClass('mfp-iframe');
          }
        }); 
      })(jQuery);
    });
    </script>
    <?php 
    }
    add_action('wp_footer', 'lightbox_with_mixed_content_type', 999);

    on your page place a button and give that custom class to the elment (or to one parent element) : mixed-contenttype
    now link to your pdf.
    See: https://webers-testseite.de/pdf-in-lightbox/
    But: Not all browsers will display this, especially mobile browser variants.

    INFO: due to GDPR ( DSGVO in Germany ) i can not show the working script for video content – it is hard to block this – playing videos from a masonry or from an image linked to a video.

    in reply to: Cropped images in Lightbox #1495441

    i guess you only want to influence the lightbox images source. And because Enfold uses on default the large image. This does not always uses the original aspect ratio.

    I would not influence the thumbnail sizes of the gallery. Only the lightbox source image.
    If you are usiing the gallery element try:

    function custom_alb_lightbox_image_size( $size, $context ){
      if( $context == ('av_gallery' || 'avia_masonry') ){
        return 'original';
      }
      return $size;
    }
    add_filter( 'avf_alb_lightbox_image_size', 'custom_alb_lightbox_image_size', 10, 2 );

    yes – enter your red logo to the enfold logo input field.

    on media library determine the path to your : ETH_galabau_Logo
    guess it looks like this one :

    insert that url to the is_tree(265) url:

    place this snippet to your child-theme functions.php:

    function is_tree($pid) {
        global $post;
        if ( is_page() ) {
            if ( is_page($pid) ) {
                return true;
            }
            $ancestors = get_post_ancestors($post->ID);
            if ( in_array($pid, $ancestors) ) {
                return true;
            }
        }
        return false;
    }
    
    function av_change_logo($logo){
            if (is_tree(265)) { $logo = "/wp-content/uploads/…/…/your_green_galabau_Logo.png";} 
    return $logo;
    }
    add_filter('avf_logo','av_change_logo');

    the first function (function is_tree($pid) ) is for having all subpages to your galabau page (which has the id: 265.
    from this moment – you do not need to add a new page-id to your page_array. If a page is a child of that 265 it will have that green logo.

    in your case i would create a is_tree conditional and then change the logo for all subpages by that conditional

    function is_tree($pid) {
        global $post;
        if ( is_page() ) {
            if ( is_page($pid) ) {
                return true;
            }
            $ancestors = get_post_ancestors($post->ID);
            if ( in_array($pid, $ancestors) ) {
                return true;
            }
        }
        return false;
    }
    
    function av_change_logo($logo){
            if (is_tree(265)) { $logo = "[logo url]";} 
        elseif (is_tree(509)) { $logo = "[logo url]";}
        elseif (is_tree(530)) { $logo = "[logo url]";}
    return $logo;
    }
    add_filter('avf_logo','av_change_logo');
    

    your Landschaftbau is page ID: 265

    by the way enfold has now a class on subpages for that on body tag: parent-pageid-265 – but this will only work for the next level of direct children.
    then you can have that conditional:

    if ( is_page(265) || $post->post_parent == 265 ) {
        // ...
    }

    But: the is_tree seems to be more elegant.

    in reply to: [Urgent] Websites not scrolling #1495418

    is it a horizontal scrolling page? thats extraordinary.
    Nearly all enfold demos could have even that rule:

    html.responsive, .responsive body {
        overflow-x: hidden !important;
    }

    the scroll in y-direction should work as expected.

    let me please see how you solved it now.

    There is no way around side positioning. The large image will always take up so much space that you will always find scenarios where you can only see very little of the thumbnails scrolling underneath.
    iPad landscape etc.

    7.1.4 is downloadable now

    7.1.4 is downloadable now

    7.1.4 is downloadable now

    in reply to: update to 7.1.4 Cross Site Scripting (XSS) vulnerability #1495294

    by the way – i guess 7.1.4 is online !

    my values are A+ and 120/100. ;) yes that is possible with extra points on mdn observatory

    for wordpress pages with all its plugins you can not have better settings on style-src than ‘unsafe-inline’

    Please be honest – go to securityheaders.com and enter your website there. If you don’t have an F, then you’re okay – if you have an A+, it’s almost the gold standard for online banking.
    If you close these gates, a fix wouldn’t be necessary at all.
    https://securityheaders.com/?q=https%3A%2F%2Fwebers-testseite.de%2F&followRedirects=on

    and this csp header for scripts : script-src ‘nonce-KbhxgiTjJyYd7tEq282YPA’ ‘strict-dynamic’ ‘self’ is the nonplusultra.
    Each time you open that site – the nonce (number only used once) key will be randomly changed . if script does not include that nonce – it will be blocked!

    No – i’m participant as you are.
    Das sind in solchen Fällen häufig die Stolpersteine. Da musst du auf einen Mod warten, eventuell hast du eine Anweisung in deiner child-theme functions.php die es auf 3 Einträge beschränkt; dafür muss sich aber jemand mit Sachkenntnis denke ich bei dir einloggen und nachschauen.
    Schau doch mal ob WP-Rocket der Verursacher ist und nur 3 Beiträge im Cache hat.
    Mal den Cache im Plugin löschen und eventuell mal kurz deaktivieren. Dann Enfold veranlassen die css und scripte neu anzulegen.

    ich mach das jetzt mal auf deutsch: und du zeigst nur eine Kategorie (news) ? oder mehrere in diesem Blog Post?
    Falls ja schau bitte nach ob du bei der Logic (Content – select Entries) nicht und (and) gewählt hast. Sollten dann nämlich nur 3 Beiträge sowohl in die eine als auch die andere Kategorie gehören wäre es klar.

    so tell me what element did you use
    it is the same with blog-posts: see:

    in reply to: issue: logo stays on top of burger menu overlay #1495196

    Since you can hardly see it anyway, I would first remove it from Click event as follows:

    If that’s not enough, you just need to increase the z-index of the overlay.

    .av-burger-overlay-active .logo > a {
      pointer-events: none;
    }
    
    .av-burger-overlay-bg {
      z-index: 102;
    }
    
    .av-burger-overlay-scroll {
      z-index: 103;
    }

    If you want to prevent the content from scrolling under the overlay:

    html.av-burger-overlay-active {
      overflow-y: hidden;
    }
    in reply to: update to 7.1.4 Cross Site Scripting (XSS) vulnerability #1495193

    All of you who are impatiently waiting for a fix. Have you ever tested your site on
    securityheaders.com, or on MDN Observatory for example?
    Please start by securing your pages against attacks in general and closing the huge gate to your pages before you try to plug small loopholes.

    the classes (yes two classes here – only because i like to show both on the same page) are
    av-gallery-sticky-scroll and besides
    Thats all.

    PS : on that code – you see that i manage the amount of thumb columns by pure css. Because i like to rule it differently on small screens and orientation – as you can see at the bottom of the snippet.:

    @media only screen and (min-width: 768px) and (orientation: portrait) {
      #top .avia-gallery.av-gallery-sticky-scroll.besides .avia-gallery-thumb {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    on mobile devices with small screens – ( iPhone etc. ) this behaviour makes no sense – not only because of missing hover style …

    this is the post-slider Element? what is your setting on content – filters?
    maybe there is a 3 filled out on the Entry Number Field:

    in reply to: Mobile view video gray bars on top/bottom #1495163

    However, the reason for this is that your “720p” video – isn’t one – it has an aspect ratio of: 1280:672

    so enter this instead the 16:9 format

Viewing 30 posts - 1 through 30 (of 12,000 total)