Forum Replies Created

Viewing 30 posts - 7,201 through 7,230 (of 11,860 total)
  • Author
    Posts
  • in reply to: target="_blank" rel="noopener noreferrer" #1069905

    But please read carefully.

    Recommendations

    Add rel=”noopener” or rel=”noreferrer” to each of the links that Lighthouse has identified in your report. In general, when you use target=”_blank”, always add rel=”noopener” or rel=”noreferrer”.

    Or : means – nofollow will be enough to add.

    btw: you can reach this via child-theme functions.php
    adjust the webers-testseite.de through your home domain url:

    add_action('wp_footer', 'open_external_links_in_newtab');
    function open_external_links_in_newtab(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('a').not('a[href*="webers-testseite.de"]').attr({
    		'target':'_blank',
    		'rel': 'nofollow',
    	})
    })(jQuery);
    </script>
    <?php
    }

    means that any link that does not match your domain url will be considered external and will be opened in a new tab with the attribute nofollow.

    in reply to: Cannot change width of boxed layout #1069845

    Well this curly bracket is definitly the source for that – i can see it in developer tools. Adding the bracket will end in a wider container.:

    #top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
        color: #da3027;
    }

    (Enlarge video to fullscreen to see what happens on adding the bracket)
    https://webers-testseite.de/askvirgo.mp4

    But the other reason could be the source for that your quick css isn’t saved to the dynamic_avia folder.
    Maybe a Mod here has to login to an admin account to see what is the reason for that. Sorry in this case you need to wait for a mod here.

    in reply to: image title in lightbox #1069722

    it is allways better to have the livelink to say something
    but isn’t it the normal behavior to have the image title under the lightbox image?

    in reply to: Cannot change width of boxed layout #1069715

    Then on the infogov_theme.css ( maybe this is your quick css)
    on the rule:

    #top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
        color: #da3027;
    

    there is the closing curly bracket missing !!! – and that makes all following rules unvalid!
    there is on the rule: #top #main .bbp-template-notice, #top #main .bbp-template-notice a
    a doubled semi-colon – after background: background: #a6bfde;;
    don’t know if this might be an additional troublemaker – but it is not css conform.

    • This reply was modified 6 years, 9 months ago by Guenni007.
    in reply to: Cannot change width of boxed layout #1069709

    may i ask before some questions: Did the child-theme has a different – more personalised name?
    Where did the infogov_theme come from?

    Did you rename your dynamic stylesheet via that known snippet?

    add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename');
    function avia_change_filename($stylesheet){
    return 'myfilename.css';
    }

    Thanks !

    in reply to: Can't #1069606

    Wobei da im Regelfall keine Einträge sein sollten/müssen.

    in reply to: background pic in gallery frame? #1069526

    well to change the position is a bit code in child-theme functions.php:
    f.e. here to change the link to an anchor link is easy too;
    but to avoid that the link does not go in lightbox is hard to find for me now ( just to delete the lightbox and lightbox-added class is not enough)

    ( this is only for your testpage 130 )

    function change_position() { 
    if(is_page(130)){
    ?>
    <script>
    (function($){
    	$('.avia-gallery-thumb').insertBefore($('.avia-gallery-big'));
    	$('.avia-gallery-big').css({"float": "left","width": "100%" });
    	$('.avia-gallery-thumb').find('a[data-onclick="4"]').prop("href", "/test2/#socket");
    	$('.avia-gallery-thumb').find('a[data-onclick="4"]').attr('target', '_self');
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'change_position');

    you can try this in your child-theme functions.php to place for logo and alternate logo title and alt attributes:

    function custom_logo_attriubtes(){
    ?>
    <script>
    (function($){
    	$('.logo img').attr({ title:"Tobias Glawe Fotografie", alt:"Fotograf Hannover - Tobias Glawe Fotografie" });
    	$('.logo img.alternate').attr({ title:"Tobias Glawe Fotografie", alt:"Fotograf Hannover - Tobias Glawe Fotografie" });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_logo_attriubtes');

    Yes i prooved it: only if i set absolute path in the quick css – there is no url-replacement when switch on the merging

    First time i recognized this.
    But this must be done : i have in my quick css a background set to f.e.:
    url(/wp-content/uploads/Seal.png ) and it will end up in: url(/wp-content/uploads/dynamic_avia/Seal.png )
    that the merged css is in that folder is ok – but the links to the images are still not in that folder !!!
    That is a bug.
    I noticed it here first time : https://webers-testseite.de/multiple-background-images/ where there are multiple background-image definitions. When i turn on the merging – the images are not found.
    Do i have to address now with absolute path?

    in reply to: Custom .CSS not displaying in "color section" #1069342

    by the way, a container can have more than one background-image. See here a little tutorial how to make it.
    Each attribut can be styled separatly : https://webers-testseite.de/multiple-background-images/

    2nd: skew back the container with the fonts.

    in reply to: Can't #1069082

    Wie hast du das gemacht. Nur die Einträge in den Einstellungen – Allgemein geändert, oder wirklich in der Datenbank.
    Weshalb ich frage: Das mit der Datenbank wäre der richtige Weg. Wenn man das machen möchte ohne große mysql Kenntnisse zu haben geht es mit einem kleinen Plugin : Search und Replace
    Da kann man die Datenbank zunächst sichern und dann umstellen. Da du aber schon die Url umgestellt hast, ist ein suchen und ersetzen wohl besser dann.
    man kann alle Tabellen markieren und dann zB.
    http://www.xmpublishing suchen und ersetzen durch:
    https://www.xmpublishing

    man kann auch erstmal einen Testlauf machen und dann in die Datenbank schreiben.
    bei der kompletten Url wird er meckern, da dies für den “Replace Domain Url” vorgesehen ist.
    nur https gegen http ersetzen wäre fatal.

    in reply to: H1 in website #1069076

    if you like to have the possiblity to have an input field to have the h-tag choice on every caption this is an edited ALB :
    https://webers-testseite.de/edited-enfold-alb-elements/#sliders
    scroll to the top of the page to read the tutorial how to make it.

    in reply to: H1 in website #1069074

    F.e. if you like to replace all h2 headings in the slider with h1 – put this into your child-theme functions.php

    function replace_tags_with_tags(){
    ?>
    <script>
      (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('.avia-slideshow h2', '<h1></h1>'); 
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags');

    if you just want this only on that page set an if-clause:

    function replace_tags_with_tags(){
    if(is_page(504)){
    ?>
    <script>
      (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('.avia-slideshow h2', '<h1></h1>');
      }(jQuery)); 
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'replace_tags_with_tags');
    in reply to: H1 in website #1068997

    Well it is up to you to place a h1 on each page you like. The heading ALB Element gives you all possibilities to choose the h-tag you like.

    btw: It’s one of countless golden SEO rules: Never use more than one H1 heading per page. Many SEO tools report errors when this rule is violated. The assumption is that the page topic must be described in a single H1 heading and that otherwise there may only be H2 headings and any further subdivisions.

    For Google, however, it is not a problem if several H1 headings are used per page. John Müller has announced this in a recent webmaster hangout. One user had previously described the following situation: On his website, the text logo is enclosed by H1 tags. In addition, there is an additional H1 heading for each page text. According to Müller, this is normal and almost standard in connection with HTML5.

    in reply to: Portfolio grid problem #1068996

    To explain the behaviour more precisely. If you have only selected Title Display in the settings of the Masonry, this should also apply to the elements that appear after pressing the “Load More” button. However, this is not the case; the title and description are then displayed for those elements.

    yes – I can confirm that.

    Enfold in the newer versions ( definitly on 4.5.4 ) got on Theme Options at the bottom: “Select Your Editor” There you have the choice.
    By the way: My Recomendation is for the devolopers to set the standard not to ‘ ‘ but to : enable_wp_classic_editor

    in reply to: How to link to youtube lightbox popup? #1068511

    does it work?

    in reply to: Footer at the bottom #1068510

    :lol :roflmao

    yes – flexbox model is a very powerful tool, which is rarely used properly.
    But only for that case Header Left or Right. And as he had only one container_wrap class

    in reply to: Color Section Background Video – Un Mute / Activate Sound #1068438

    but i can not reach your site now!

    aha – now – but the symbol is a little too subtle

    and that was a difficult birth

    • This reply was modified 6 years, 10 months ago by Guenni007.

    by the way – you don’t need to hold the tree structure after /shortcodes
    so you can put in all edited ALB to the shortcodes folder itself – no need for subfolders.

    in reply to: Color Section Background Video – Un Mute / Activate Sound #1068353

    Also jetzt habt ihr das Merging entfernt!
    Da kann ich jetzt genau sehen, dass dieses Script welches über die child-theme functions.php geladen wird nicht drin ist – not at all.
    Bitte also das in die child-theme functions.php:

    add_action('wp_footer', 'mute_unmute_background_video');
    function mute_unmute_background_video(){
    ?>
    <script type="text/javascript">
    (function($) {  
        $('.mute-button').prepend('<div class="custom-mute"></div>');
        $('.avia_video').on('av-mediajs-loaded', function() { 
          var video = $(this).mediaelementplayer();
          video[0].setMuted(true);
          $('.mute-button').on('click', '.custom-mute', function() {
            if(video[0].muted === true) {
              video[0].setMuted(false);
              video[0].setVolume(0.8);
            } else {
              video[0].setMuted(true);
            }   
          });
        });
        
        $('.mute-button').on('click', '.custom-mute', function() {
          $(this).toggleClass("icon-sound-on");
        });
    })(jQuery);
    </script>
    <?php
    }
    in reply to: Footer at the bottom #1068190

    I think I’ve never written such an elegant solution to have the footer below – but it seems there was no interest in a good solution. – What a pity

    that means there is no visible Recaptcha in version 3 – this was only the case with V2?
    No input field to mark all fire hydrants etc. pp?

    in reply to: Color Section Background Video – Un Mute / Activate Sound #1068023

    Video unbedingt runterrechnen: 45MB ist einfach zu viel für ein Self Hosted Video.
    Zumal das SD Video auf Vimeo zB 19MB hat.

    oder mal Cloudinary anschauen, ist sehr gut und für normalen Traffic kostenlos.
    Das wird in Enfold wie selfhosted gewertet. Also kann auch so gehandhabt werden.

    in reply to: Color Section Background Video – Un Mute / Activate Sound #1068013

    @ipuls : zunächst mal im Quick Css das hier einstellen – und das andere damit ersetzen.

    .custom-mute {
        display: block;
        background-image: url('/wp-content/uploads/2019/02/icons8-mute-unmute-96.png');
        background-size: cover;
        width: 100px;
        height: 100px;
        position: absolute;
        bottom: 10%;
        right: 5%;
        z-index: 50;
    }
    
    .custom-mute:hover {
        opacity: 0.5;
    }
    
    .icon-sound-on {
     background-image:url('/wp-content/uploads/2019/02/icons8-microphone-96.png')
    }
    in reply to: Color Section Background Video – Un Mute / Activate Sound #1067994

    bitte mal das Merging abstellen bei Enfold Options.
    Da kann ich die Seite besser durchsuchen.

    in reply to: Portfolio YouTube Videos best practice #1067974

    i would recomend you to install a plugin for this purpose, I have made good experiences with YoTuWP.
    there is a free version.
    See here a little Demo on my page: https://webers-testseite.de/youtubeplayer/
    You can have single Video or multiple Video or as input your channel etc.

Viewing 30 posts - 7,201 through 7,230 (of 11,860 total)