Forum Replies Created
-
AuthorPosts
-
And you really want a different logo for mobile devices ( ipad, iphone, smartphones, tabletts etc) and not a logo for smaller screens?
Gerade getestet – ohne Anpassung der Lang files wird hier ausgegeben:
Vielen Dank für Ihre Nachricht! im Betreff
und unten im Text dann auch :
Ihre Nachricht:
…Versuch mal folgendes:
Bei Einstellungen / Allgemein – Sprache der Webseite – da hast Du dein WordPress eben auf deutsch stehen. Da gibt es bei den Einstellungen auch deutsch(Sie) oder Formal genannt – von förmliche Anrede.
Dann nimmt enfold die po/mo files …formal.po / …formal.mo
leider ist diese Version nicht so vollständig übersetzt wie die informale Version. sollte also dort auch etwas anderes stehen, musst du die lang files bearbeiten und im Child-Theme ablegen – am besten auch in einem lang ordner und dann die child-theme langfiles so ersetzen:function overwrite_lang_files() { $lang = get_stylesheet_directory().'/lang'; return $lang; } add_filter('ava_theme_textdomain_path', 'overwrite_lang_files');
May 29, 2018 at 12:35 am in reply to: Google Maps Button is active on standard! [av_privacy_google_maps] #963471if loading the api is against GDPR is not sure. If you declare it in your privacy policy – i think it will be ok.
May 28, 2018 at 11:23 pm in reply to: Google Maps Button is active on standard! [av_privacy_google_maps] #963458but ! – the api is loaded already – with or without that consent
zum ersten: hast du von fastest cache den cache geleert?
ok ich schreib jetzt mal in deutsch.
Ich nutze nach der Umstellung von Internetseiten von http nach https immer das Tool : Search & Replace von Inpsyde ( da ist der Bueltge mal dabei). Geniales teil, aber man kann wenn man ungeschickt sucht sich die datenbank zerhauen.
Einfache Denker würden zB nach http in der Datenbank suchen und gegen https tauschen. Das kann schon zu Problemen führen
Man geht so vor, dass man zunächst die Datenbank mit dem Tool sichert.
Dann kann man zB in deinem Fall nach : http://www.fitgutschein in allen Tabellen suchen lassen, und gegen https://www.fitgutschein ersetzen. Das kann man zunächst ohne Änderung im “Dry Run” machen ( schau dir die Screenshots an) in deinem Fall wird er einige Links zu Scripten und css Dateien finden die noch http sind.
Im folgenden Schritt dann select all tables and save changes to database.
Das wars. Klappt bei mir immer.what should be possible is to insert on background-video input field the nocookie link version too.
All other things can be managed this way: https://kriesi.at/support/topic/youtube-shortcode/
and the further link to my testpage: https://webers-testseite.de/youtube-shortcode-for-enfold/
it uses the enfold surrounding container so it is responsive due to enfold settings of the containersYes – but now it is a bit different:
the shrink calculation is on enfold 4.3 ff a seperated js file
so just upload a copy of that file avia-snippet-sticky-header.js to your child-theme js folderadd this to your functions.php of your child-theme:
add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 ); function wp_change_sticky_header_script() { wp_deregister_script( 'avia-sticky-header' ); wp_enqueue_script( 'avia-sticky-header-child', get_stylesheet_directory_uri().'/js/avia-snippet-sticky-header.js', array('avia-default'), $vn, true); }
and edit then this copy as you need it.
can we please have the shortcode set to be disabled first and then enabled by active setting of the user. this will be the better solution i think!
Disable on default then the shortcode generated buttons will enable the usage of ( webfont, maps, youtube etc.)i downloaded from the google fonts helper page the open-sans with more stylings (300, 300i, 400, 400i, 600, 600i, 700, 700i) only for modern browsers (woff, woff2 files) the zip was accepted but only a 400 is shown ?
Did i do something wrong – or is my manual way then the better solution?the nocookie variants are GDPR compliant – but background video does not accept these youtube links in the input field.
This has to be changed definitly! And i hope that the 4.4 Version will have that!by the way Yigit : is there a debounce function implemented on Enfold ?
on a lot of source codes i read something like this:
win.on( 'debouncedresize', function(){ el_height = $(elements).attr('style',"").filter(':first').height(); set_height(); } );
but i can not find where this is implemented
that is normal enfold behavior that it is not sticky. but that will be only pure css .
What do you mean by doesn’t work on mobile
the logos are on that case under each other . I think that looks better than two very sall logos besides each other.
by the way – you have to use the script to make it easier for you .
If you want to test these settings :
1) the first parameter after a youtube link ( after the ID) has a questionmark ?
2) all following parameters have to be added by a &so it is :
https://www.youtube-nocookie.com/watch?v=YEmI2MDpasE?ecver=2&rel=0
it is in your get in touch section from the demo: https://kriesi.at/themes/enfold-health-coach/#av_section_2
the link is now: https://kriesi.at/themes/enfold-health-coach/wp-content/uploads/sites/62/2016/05/cheese.jpg
if you want to download it for your layout.it is your Book Now Section: Open this color-section and replace the background-image for it – with a new one or with the downloaded above
these links are leftovers of the pre-Https era of Enfold
hm – two logos is not so complicated i thought.
see here with a customization of shrinking . – logo in the middle goes with scroll to the left position : https://webers-testseite.de/two-logo-header/
Or here https://webers-testseite.de/cynthia/mille-deco/
because of the other logo experiments on that page it is hard to optimize it for all pages the same time :lol: https://webers-testseite.de/cynthia/logo-move/May 18, 2018 at 6:18 pm in reply to: Embedded YouTube video has wrong dimension and orientation #958758have you tested to insert that little css above in your quick css and have a look what happens.
hope you will have no performance troubles –
get familiar with debouncing ( resize case) and throttling (scroll case) functions.
but both on the same time – i would not know how to get this.you see how debounce and throttle work on this page https://css-tricks.com/debouncing-throttling-explained-examples/
All Data that goes out of your page is then under that Certificate.
But you have to differentiate between encrypted transfer and encrypted content. Only the transmission is encrypted here.
But that is why GDPR (DSGVO) wants that your site has that https.However, if you want to receive data that contains particularly sensitive data according to Art.9 DSGVO, you must encrypt the contents. Whether there is this possibility, I do not know. I would then request such data via e-mail and encrypt it with OpenPGP.
Special category data is personal data which the GDPR says is more sensitive, and so needs more protection.
In order to lawfully process special category data, you must identify both a lawful basis under Article 6 and a separate condition for processing special category data under Article 9. These do not have to be linked.
There are ten conditions for processing special category data in the GDPR itself, but the Data Protection Bill will introduce additional conditions and safeguards.
You must determine your condition for processing special category data before you begin this processing under the GDPR, and you should document it.i think if that are the results of his page basilis posted then there are no troubles at all
May 18, 2018 at 5:11 pm in reply to: Embedded YouTube video has wrong dimension and orientation #958692I have my guess. Did you update the theme via ftp? And did you do it by overwriting the existing files?
Then the reason is clear to me.May 18, 2018 at 5:08 pm in reply to: Embedded YouTube video has wrong dimension and orientation #958689sorry i thought because of a german title that you are natively spoken english.
If you do not find the reason for that – you can add that via quick css, till you find the reason for it.
try this – and see if your troubles are gone – afterwards we can see where the fault is
May 18, 2018 at 4:09 pm in reply to: Embedded YouTube video has wrong dimension and orientation #958646ich kann es so nicht nachvollziehen. Denn wenn ich es als Enfold ALB setze in zB 1/2 container und das Videoformat mit 4:3 angebe, dann wird es richtig angezeigt.
edit : Deine ganze video.css Datei wird nicht geladen:
Hast du bei performance eventuell nötige Teile abgeschaltet?
Wenn ich den Inhalt der Video.css Datei bei Dir (via browser developer tools ) virtuell hinzufüge läuft es so wie bei mir/* ====================================================================================================================================================== Video ====================================================================================================================================================== */ .avia-video, .avia-iframe-wrap{clear:both; position: relative; margin-bottom:20px; } /*responsive iframe trick*/ .avia-video iframe, .js_active .avia-iframe-wrap iframe, div .avia-video .avia-iframe-wrap{position: absolute; width:100%; height:100%; left:0; top:0; padding:0;} .avia-video-custom{height:0;} .avia-video-16-9, .js_active .avia-iframe-wrap{padding-bottom: 56.25%; height:0;} .avia-video-4-3{padding-bottom: 75%; height:0;} /*html 5 video - always has 100 width and natural height. behaves like image when it comes to aspect ratio*/ video{ width:100%; height:auto; } .mejs-layer { z-index: 1; width: 100% !important; } .mejs-layer.mejs-overlay-play{ height:100% !important; } #top .avia-video .mejs-container, #top .avia-video .mejs-container video{ height:100% !important; width: 100% !important; position: absolute; }
-
This reply was modified 6 years, 9 months ago by
Guenni007.
the easiest way is to use the developer tools of your browser. Nearly all modern browsers got one ( on Safari it has to be activated over the settings dialog of your Safari).
These are very might tools not only to see what class or ID you got on elements. There are javascript environments to test if a script is working.
There are a lot of tutorials on youtube how to use them – not all are good but for the beginning it will give you some infos.basicly it starts with a right mouse click over the element what you like to examine. Every browser calls it a bit different “inspect element” something like this.
you can see what i do if i like to get the element here on board of your nick “madmanbean”:
left film symbol click and see in fullscreen: https://webers-testseite.de/videos-on-lightbox/on that right side of those tools you can add css rules or edit them virtually. ( on the video i change font color to red)
see the video on the bottom left : it shows how to test a script virtually on developer tools
autoplay isn’t supported by a lot of mobile devices / mobile browsers.
this is more or less on performance reasons but above all to prevent unwanted traffic consumption. Not all Users have unlimited data volumethats why i like to see the page.
on source code this will be the easiest way to see that on first view.i thought that the rel=0 is only for the end of the video – on pause the ecver=2 solves the problem.
to enable gzip there are a lot of options. It depends on your Internet Service Provider what options he allows you to set via php.ini or htaccess.
I often do it via htaccess file on the wordpress root (the htaccess file is a hidden file with a dot on front – so on ftp client you might not see it directly till you enable show hidden files)
there you can set a lot of other options : f.e. browser caching , etag and gzipon apache servers i add to my htaccess file:
# Secure your wp-config # Disallow access to important files <FilesMatch "(^\.|wp-config\.php|xmlrpc\.php|(?<!robots)\.txt|(liesmich|readme)\.*)"> Require all denied </FilesMatch> # secure htaccess-file <files ~ "^.*\.([Hh][Tt][Aa])"> order allow,deny deny from all satisfy all </files> # Keep-Alive <ifModule mod_headers.c> Header set Connection keep-alive </ifModule> # mime types <IfModule mod_mime.c> AddType application/javascript js AddType application/vnd.ms-fontobject eot AddType application/x-font-ttf ttf ttc AddType font/opentype otf AddType application/x-font-woff woff AddType application/x-woff woff AddType image/svg+xml svg svgz AddEncoding gzip svgz </Ifmodule> # GZip Kompression <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|svg|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> # Browsercache <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType text/html "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" ExpiresByType application/x-font-ttf "access plus 1 month" ExpiresByType application/x-font-woff "access plus 1 month" ExpiresByType application/x-woff "access plus 1 month" ExpiresByType application/xhtml-xml "access plus 600 seconds" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/svg "access plus 1 year“ ExpiresByType image/png "access plus 1 month" ExpiresByType image/x-icon "access plus 1 month" </IfModule> # Deflate by FileType <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/atom_xml AddOutputFilterByType DEFLATE application/x-woff AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-font-woff AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-shockwave-flash </IfModule> # ETag Header unset ETag FileETag None
these related videos on pause are hampered by: ecver=2 (Google that )
this is an undocumented option on API but it works ! (only if you hide modest branding of youtube it does not go both)
so ad &ecver=2 to your youtube links – but on Enfold the Video ALB does not accept links with youtube options behind – so only with my shortcode ( this is an iframe solution) this workstip: insert the normal youtube link as seen on the browser url window ( with watch?v=. … )
and add to all Enfold Video. ALB youtube films via functions.php of your child-theme that code
maybe autoplay is not so good if you have a lot of films on one page:https://webers-testseite.de/youtube-with-parameters/
here only for that page-
This reply was modified 6 years, 9 months ago by
Guenni007.
do this to your functions.php of your child-theme and all links got that addendum:
function add_to_youtube_videos(){ if(is_page(21397)){ ?> <script> (function($){ $('.lightbox-added[href*="www.you"]').each(function() { var $this = $(this); var _href = $this.attr("href"); $this.attr("href", _href + '?enablejsapi=1&ecver=2&autoplay=1&cc_load_policy=1&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3'); }); })(jQuery); </script> <?php } } add_action('wp_footer', 'add_to_youtube_videos');
-
This reply was modified 6 years, 9 months ago by
-
AuthorPosts