Forum Replies Created

Viewing 30 posts - 7,621 through 7,650 (of 11,221 total)
  • Author
    Posts
  • in reply to: Google Maps double-click solution #973066

    i managed to insertBefore a google map a checkbox – but i do not know how to avoid the click event.
    i tried to change the attribut href on that confirmation window but it has no effect on loading the map.

    i did this in functions.php of my child-theme:

    function add_checkbox(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
    
    	$('<input id="maps-consent" type="checkbox" name="maps-consent" label="ja - ich las die Datenschutzerklärung" /><label for="maps-consent" class="input_checkbox_label"> Ich akzeptiere den <a href="https://webers-testseite.de/weber/datenschutz/#google-maps">Datenschutzhinweis über Google Maps</a> <abbr class="required" title="benötigt">*</abbr></label>').insertBefore('.av_gmaps_confirm_link');
    
    	$('a.av_text_confirm_link').click(function(){return false; });
    	$('#maps-consent').click(function() {
    	  if(!$(this).is(':checked')){
    	    $('a.av_text_confirm_link').bind('click', function(){ return false; });
    	  }else{
    	    $('a.av_text_confirm_link').unbind('click');
    	  }
    	});
    
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_checkbox');

    but it is awefully the other way round – it blocks the link on check.
    I do not see the trees for the wood . How can i have it other way round ? Check then bind the event
    have a look here: https://webers-testseite.de/weber/contact-2/

    • This reply was modified 6 years, 8 months ago by Guenni007.
    in reply to: Google Maps double-click solution #973037

    but i think the best would be to have here a popup with a little checkmark that the privacy policy has been read.
    like in contact form element. that would be great – only if the checkmark is checked the click has a function.

    in reply to: Google Maps double-click solution #973027

    well put the edited js in your child-theme js folder and add this to your child-themes functions.php
    Test if it works:

    add_action( 'wp_enqueue_scripts', 'change_google_maps_front_script', 100 );
    function change_google_maps_front_script() {
       wp_deregister_script( 'avia_google_maps_front_script' );
       wp_enqueue_script( 'avia_google_maps_front_script-child', get_stylesheet_directory_uri().'/js/avia_google_maps_front.js', array( 'jquery' ), $vn, true );
    }
    in reply to: YouTube video in color section background doesn't start #972783

    look on google search for the playsinline and webkit-playsinline – it seems to be correlating if a background video starts on autostart or not.
    but i think that the input field of enfold video does not accept those parameters. So we had to add this on source code.
    i will have a look if that will help

    See here how it works on advanced layerslider : https://webers-testseite.de/weber/
    playsinline and muted parameters set – but this was a selfhosted video

    and this f.e. will start on modern mobile browsers

    <video playsinline autoplay loop muted preload="metadata" style="min-width:100vw; min-height:56vw;" >
     		<source src="/wp-content/uploads/background.mp4" type="video/mp4">
    		<img src="/wp-content/uploads/film-fallback.jpg" title="Your browser does not support the video tag">
    </video>
    • This reply was modified 6 years, 8 months ago by Guenni007.
    in reply to: how to flip phone icon box #972112

    i think he is talking about that behavior: https://codepen.io/syedrafeeq/pen/eCkFt

    here is a nice workaround how to get this with maybe code block element and some extra css: https://blog.kulturbanause.de/2013/10/css-flip-animation-objekte-umdrehen/

    • This reply was modified 6 years, 8 months ago by Guenni007.
    in reply to: Breadcrumps not show #971971

    or do you have a transparent ( glassy header ) layout

    see here some comments: this was a test page to show how to move title bar under the first section and with transparency option:
    https://webers-testseite.de/breadcrump-under-first-color-section/

    in reply to: A left sub Menu for product show. #971701

    1) you can create a custom menu on Dashboard Menu and name it as you like.
    2) on widgets you can make a new widget area (no need to register a place where it is shown)
    3) On your Enfold advanced layout builder you now can have for example a 1/3 2/3 column layout then.
    Put in the 1/3 the widget everywhere an choose your custom menu:

    you only have to style then that menu ( f.e. second level list points etc.)

    in reply to: Red cross as a bullet #971688

    yes – as i wrote here: https://kriesi.at/support/topic/red-cross-as-a-bullet/#post-966742

    and by the way you get that \ sign by pressing the same time: shift+alt+7

    sometimes the written description is as important as the code ! you missed the custom class setting – haven’t you?

    in reply to: Enfold Child Theme makes the website no secure padlock #971683

    ctab-1.png and topbar.png are no enfold images ( that makes me wonder – because they seems to be in the enfold/images/ folder. )

    On Source code the pngs aren’t found – so i think you have to install a database search tool like search and replace to find the source of the error.
    Maybe if you login to your mysql and repair or optimise your database will solve the problem allready.

    PS :
    seems to loaded via Greensock.js. – and this is part of advanced Layerslider – so have a look if you have on advanced layerslider ( maybe imported sliders) these links

    in reply to: Playing an 50 MB mov video as background #970106

    so it should now work as expected with new enfold – but on performance reasons it would be better to outsource it to a third party server.
    If you like to upload to youtube ( you can set it to not listed – so it would not be found on tags) this is a good option.
    On GDPR reasons (DSGVO) it would be nice to have it not on youtube. My advice is to upload it to f.e. cloudinary – they got good performance and for small pages it is nearly with no costs (10GB upload and 20GB Traffic each month)
    Cloundinary is listed in the privacy shield project of us Government that they will respect GDPR .

    there is a nice plugin to communicate in WordPress with your account etc. pp.

    so why don’t you go to enfold (child) – header and choose “logo left – menu right”
    what you got is logo left – menu below

    this is nice – but with my method of loading the fonts (link ff) and an addition little plugin (remove-google-fonts-references) i can select the fonts from Enfold drop down list to use the local installed fonts.
    So for me it would be nice to actively run a script that supresses connection to google font servers (to get rid of that additional plugin) but to use that nice performant drop-down lists.

    Or to have the possibility to upload real font files to enfold via import as zip-file ( the downloadable fonts on google are only ttf files)
    like these downloadable google fonts on : Link
    But all tryings to upload these zip files with woff, woff2 etc do not have success

    in reply to: Red cross as a bullet #966742

    i would do it with entypo signs
    if you see this demopage: https://webers-testseite.de/bullets/
    this is a text-block element with a normal unordered list. –

    i gave the text-block element a custom class: special-listpoints

    .special-listpoints ul {
        list-style: none;
    }
    
    .special-listpoints li::before {
        content: "\e813";
        font-family: entypo-fontello;
        color: #f00;
    }
    
    .special-listpoints li::before {
        content: "\e813";
        font-family: entypo-fontello;
        color: #f00;
        position: relative;
        padding-right: 11px;
        margin-left: -20px;
    }

    you see that you can play now a bit with for example on before font-size or top left etc

    • This reply was modified 6 years, 8 months ago by Guenni007.
    in reply to: GDPR – Google Web-Fonts #966724

    on google page there are only ttf to download.
    have a look at: https://google-webfonts-helper.herokuapp.com/fonts

    yes i know that – but i use a different google maps plugin. And the prevent loading roboto script does not work propper on that plugin.

    in reply to: No cookie YouTube in background videos #966405

    If there are technical obstacles to integrate this variant, please say so. If this does not exist, it would be nice to let the user decide which version he likes to use. I think that to get rid of that DoubleClick Tracking-Cookie is positive enough to have that nocookie variant of youtube videos even if an ID is sent – and even if it is only an apparent security, the cookies that clearly violate the GDPR are banned.

    so the only advice is at the moment to have no youtube/vimeo videos – no google Maps or Fonts on start page.
    so if you like to show a background video / video on startpage it has to be a selfhosted video. After the cookie consent and the link to Privacy Policy is clicked away or read everything is ok. After informing the visitiors – everything can happen.
    So both pages ( Start Page and Privacy Policy must be free with loading api/ setting cookies etc.

    For the first time i have all my website turned into selfhosted font sites – and have no map api loading on startpage ( because the api loads roboto font) and get so in contact with google servers.

    • This reply was modified 6 years, 8 months ago by Guenni007.
    in reply to: Unclickable page with subpage? #964864

    to insert on menu an individual menu you had to input an url ( so here you can take your #). But after inserting you can empty that field on the menu point.

    in reply to: Enfold Hotel – loads an image from test.kriesi.at #964859

    the link after kriesi is https is now: https://kriesi.at/themes/enfold-hotel/wp-content/uploads/sites/58/2015/07/ornament-bg-top-small-1.png

    It is in the first color-section after the slider as background-image.
    Just put in a different image from your media library and save – if you do not need any image there delete it afterwards and save

    in reply to: How to remove debug information in 4.3 #964856

    try this in your functions.php of your child theme with copy paste – maybe you got some quotationmarks faults etc.

    if(!function_exists('avia_debugging_info')){
      function avia_debugging_info() {
        // 
      }
    }
    in reply to: Lightbox doesn't work #964854

    check please if you have on child-theme a header.php – if so you had to know what you are changing there. take a new copy of the new header.php and edit it as you done it before.

    in reply to: some edited Enfold ALB Elements #964821

    Updated to Enfold 4.4

    thanks – Günter

    in reply to: No bullet points in text widget of sidebar #964677

    for outside list-style-position:

    Edit : ok there was a overflow setting which is set to not visible to widget ul so to see the outside points :

    ul.squarepoints {
        list-style: square outside;
        margin-left: 18px !important;
        width: auto !important;
        overflow: visible !important;
    }
    • This reply was modified 6 years, 9 months ago by Guenni007.
    in reply to: No bullet points in text widget of sidebar #964673

    hm – there was rule in base.css :

    ul {
        list-style: none outside;
        margin-left: 7px;
    }

    don’t know why – maybe it is forgotten to set the specified rule for widgets
    maybe you set better the ul to a custom class because not to influence all ul’s of your site like:

    <ul class="squarepoints">
     	<li>sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,</li>
     	<li>sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</li>
     	<li>Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur</li>
    </ul>

    and then:

    ul.squarepoints {
        list-style: square inside;
        margin-left: 7px !important;
    }
    in reply to: Where add javascript in Enfold? #964667

    Thanks – and if i want to debounce a function it is used in Enfold like:
    win.on( 'debouncedresize', function(){ …
    without parameter or can i change the trashold on this function by:

    win.on( 'debouncedresize', function(){ 
    …
    }, 50);

    That is the best way to do – as i mentioned above.
    Better search and replace looks similar to that search and replace ( source is Frank Bültge – who has created a lot of good tips and plugins) i mentioned above.

    Sehr wichtig für dich: Dein Cookie Consent Popup überlagert den Link zu den Datenschutzhinweisen. Das ist nicht zulässig.
    Ich würde in dem Fall dann lieber die rechts unten Popup-Variante von Enfold ( oder was immer du nutzt ) nehmen

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

    Wenn du das neue enfold 4.4 hast kannst du ja in den Optionen den Layerslider mal deaktivieren. Dann wieder aktivieren. Eventuell setzt sich der Link dann auf https.

    in reply to: Open Sans issue with Custom Font Manager #963572

    maybe this is concerning to a comment i gave on a different topic:
    i have uploaded the zip i got from google with a lot of font-styles in it ( 300,400,600,700 and all italic too)
    but on selection there is only a 400 font-style mentioned – maybe the others are selectable too via css .

    in reply to: Different mobile logo doesn't work #963535

    i think your code is correct – anyway you can test this in your functions.php of your child-theme:

    function avia_custom_mobile_logo(){
    if(wp_is_mobile()){
    ?>
     <script>
    	jQuery(".logo img").attr("src", "https://www.domain.com/wp-content/uploads/logo-for-mobile.png");
     </script>
    <?php
    }
    }
    add_action('wp_footer', 'avia_custom_mobile_logo');

    or with the filter :

    add_filter('avf_logo','mobile_logo_url');
    function mobile_logo_url($url){
        if(wp_is_mobile()){
            $url = "https://www.domain.com/wp-content/uploads/logo-for-mobile.png";
        }
        return $url; 
    }
Viewing 30 posts - 7,621 through 7,650 (of 11,221 total)