Forum Replies Created
-
AuthorPosts
-
June 29, 2024 at 10:02 am in reply to: Add google font to enfold and still being DSGVO compatibel #1460039
loading the font from Google is not GDPR compliant – hosting the font on your own servers is.
but this is from performance point of view a heavy font: even the woff files will have for each font-weight over 1.1MB
Try it yourself via Enfold – Import/Export – Custom Font Manager – and upload that zip file : https://webers-testseite.de/ZenKakuGothicNew.zip
only light, regualar and bold are inside ( there is on google black and medium inside – but see comment above)
You can find those uploaded fonts then under General Styling – Fonts (Tab) at the end of the list inside :

if you want to hamper google font loading via Enfold from google pages – paste 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 );PS: if you got a CDN Server – then it might be better to load it from their servers.
But how to write with that font-face i do not know – how do you choose your letters:
伟伯网页设计June 29, 2024 at 9:24 am in reply to: [Security Alert]: Polyfill.io Issue for Google Maps Platform users #1460036How can I explicitly test whether it is loaded – here, for example, I can’t find anything in the network analysis.
https://kriesi.at/themes/enfold-construction/contact/
i think that the dotlottie is using some polyfill features. And some older parallax scripts do too.
June 29, 2024 at 8:45 am in reply to: [Security Alert]: Polyfill.io Issue for Google Maps Platform users #1460031thanks for the info – and these projects are Enfold Sites? Can you deduce where a use of polyfill in Enfold might come from?
Also, when I go to the demo pages with Google Maps usage – I can’t find a polyfill usage.June 29, 2024 at 8:25 am in reply to: [Security Alert]: Polyfill.io Issue for Google Maps Platform users #1460028For your reference, attached is a list of your projects where we have detected Maps Javascript API usage. Please check all sites associated with these projects.
thanks for the info – and these projects are Enfold Sites?
you can try this – but best would be to have featured images of the same aspect-ratio.
.grid-sort-container .grid-image { background-color: #f8f8f8 !important; } @media only screen and (min-width: 768px) { .grid-sort-container .grid-image img { position: absolute; left: 0; bottom: 0; } } @media only screen and (min-width: 480px) and (max-width: 767px) { .grid-sort-container .grid-entry:nth-of-type(n+2) .grid-image img { position: absolute; left: 0; bottom: 0; } }where does that main.css inside child-theme folder comes from?
I guess here is the crux.
There are a lot of slider rules inside . – commenting them out – will do the job.
but i think you had to invest more time to look if these are neccessary.…
did you set some css to style that section ?
i do not have display : grid on my slide-entry-wrap nor on slide-entryThis is reproducible: if you load the page, and then go to this image, then inspect this image directly with the Dev Tools, and then go to the title in the DOM of the Dev Tools, you will see the same links. Only when you click, the title and the read more button have the “correct” links.
Aha – I had first checked whether the navigation at the bottom worked and then compared the links at the top. So it is indeed the case that the wrong link exists when you first open it.
This is strange behaviour.did you get it to work correct? Because on my browser the links of all three are the same.
(image, title and lees meer)-
This reply was modified 1 year, 4 months ago by
Guenni007.
schau mal ob du noch für andere Browser suffixe benötigst:
z.B. ::-webkit-input-placeholder::placeholder { font-weight: bold; opacity: 1 !important; color: red !important; }and by the way: https://css-tricks.com/almanac/selectors/p/placeholder-shown/
by the way:
der Doppelpunkt is hier beim Placeholder wichtig – wohingegen, das Eingabefeld dieses nicht benötigt.input:placeholder-shown { border: 1px dashed red !important; } input::placeholder { color: red !important; opacity: 1 !important; }https://webers-testseite.de/h-tag/
to have no bad influence on other text-block elements – give a custom class (f.e.: inline-headings) to those text-block elements.
deaktiviere doch mal alle Plugins, schau dann nach ( bitte cachings vom Browser löschen und falls aktiviert Merging erneuern ) ob das Problem behoben ist.
Wenn ja – dann mal ein Plugin nach dem Anderen aktivieren und jeweils testen.hast du eventuell ein snippet in deiner Child-Theme functions.php welches entry-title betreffen könnte. der sollte eigentlich innerhalb von entry-info liegen.
Was er bei manchen nicht macht. Es scheinen auch nur die avia-post-next betroffen zu sein. Befindet sich der Beitrag im previous link , dann ist der entry-title zu sehen.
Eventuell ist es auch ein Plugin was hier mit reinfunkt.________
you may have a snippet in your childtheme functions.php that could affect entry-title. it should actually be inside entry-info.
Which for some it is not. It also seems that only the avia-post-next is affected. If the post is in the previous link, then entry-title is visible.
There may also be a plugin involved.June 27, 2024 at 4:55 pm in reply to: enfold Kontakformular – Formularelement Datumsauwahl: Auswahl älter als 1944 #1459872Brilliant – Thanks again.
was genau hast du hochgeladen? den Font selbst – einen Ordner mit dem Font darin? oder doch ein zip file mit besagtem Ordner?
Welches Format hat dein Font file?June 27, 2024 at 5:58 am in reply to: enfold Kontakformular – Formularelement Datumsauwahl: Auswahl älter als 1944 #1459813by the way dear devs / mods – shouldn’t the today button insert the date of today in that input field ? – it only shows the current date in the days table.
June 27, 2024 at 12:33 am in reply to: enfold Kontakformular – Formularelement Datumsauwahl: Auswahl älter als 1944 #1459797Das hier in die Child-Theme functions.php:
function my_datepicker_defaults() { ?> <script type="text/javascript"> window.addEventListener("DOMContentLoaded", function () { (function($) { $(".avia_datepicker").datepicker({ beforeShow: function(input, inst) { jQuery("#ui-datepicker-div").addClass(this.id); inst.dpDiv.addClass("avia-datepicker-div"); }, showButtonPanel: true, closeText: AviaDatepickerTranslation.closeText, currentText: AviaDatepickerTranslation.currentText, nextText: AviaDatepickerTranslation.nextText, prevText: AviaDatepickerTranslation.prevText, monthNames: AviaDatepickerTranslation.monthNames, monthNamesShort: AviaDatepickerTranslation.monthNamesShort, dayName: AviaDatepickerTranslation.dayNames, dayNamesShort: AviaDatepickerTranslation.dayNamesShort, dayNamesMin: AviaDatepickerTranslation.dayNamesMin, dayNames: AviaDatepickerTranslation.dayNames, dateFormat: AviaDatepickerTranslation.dateFormat, firstDay: AviaDatepickerTranslation.firstDay, isRTL: AviaDatepickerTranslation.isRTL, minDate: AviaDatepickerTranslation.minDate, changeMonth: true, changeYear: true, yearRange: "c-100:c+10", }); }(jQuery)); }); </script> <?php } add_action('wp_footer', 'my_datepicker_defaults', 20);Wenn du nicht in Abhängigkeit vom current Year ( das was oben gerade in der Leiste angezeigt wird ) die Dropdown Zeitspanne angeben willst kannst du auch oben stattdessen absolute Werte eintragen:
yearRange: "1900:2034",oder ein Mix:yearRange: "1900:c+10",Leider fand ich keine Möglichkeit mich in die Funktion einzuhaken , um nur diesen Wert zu ändern , und die default Werte unverändert zu belassen.
die Einstellung yearRange ist hier zuständig.June 26, 2024 at 10:35 pm in reply to: is there a way to detect mobile devices that force desktop view? #1459790i managed it now with :
function detect_ios_device(){ ?> <script type="text/javascript"> window.addEventListener("DOMContentLoaded", function () { if (navigator.maxTouchPoints > 1) { document.documentElement.className += ' ios-device '; } }); </script> <?php } add_action('wp_head', 'detect_ios_device');so even if you set your iPhone / iPad to show websites as desktop websites – this is an additonal class on html then.
i can use then :
.responsive:not(.avia_mobile).avia-safari #top input[type=checkbox] { -webkit-transform: scale(2,2); transform-origin: left center; } .responsive.ios-device.avia-safari #top input[type=checkbox] { -webkit-transform: none; }you can see here an example not using the transparency option in enfold for a second alternative logo.
But here i start with a fill change on start – and after the class ( header-scrolled) is present – the initial fill is shown:.html_header_transparency #header:not(.header-scrolled) .buchstabe { fill: #FFF; }https://webers-testseite.de/
all letters have that class “buchstabe” ( the german word for it. ) – i start with #FFFby the way – if you have made your graphic in illustrator.
Open the graphic style window – now take your graphic element with a unique style – and drag and drop it to that graphic style window.
it will genrate a new graphic style – you can rename that graphic style to your needs.
1) after drag and drop to graphic style window:

2) rename the new generated graphic styles:

3) now on save as svg – choose: CSS Properties : Style Elements

4) Result in svg code will be:

PS: Layer Names will become Groups with that ID
Thats the old illustrator error. Because illustrator (in former versions) always uses this class with index ( st0, st1, st2 etc.)
So there is a mess if there are more than one inline svg used on a page. The last one on page makes the rules for that class.
The big advantage of using inline svgs is that you can influence some colors ( fill, stroke etc. ) by external css.
If you are now using the transparency logo option from enfold – that logo is placed later in the DOM than the primary logo.
If that logo uses the same classes inside ( sti ) than this will determine the rules for it.You can use the code from Mike – but then do not use the transparency logo option. The fill color will then be set by that extra class set from enfold after header shrink scroll has finished.
My advice is – after Illustrator has saved the file – to open those svgs in a good text editor (Sublime Text for Mac or Notepad ++ for Windows) and change those classes to something more unique. Make sure that within the defs (style) you had to replace the .st1 and the class=”st1″ (etc.) in your svg.
PS: newer Illustrators will have the custom classes : cls-1 – same problem.
see here with an image : https://webers-testseite.de/popup-gallery/
or simpler by a different font icon
#top .image-overlay .image-overlay-inside::before { content: "\E80E" !important; font-family: entypo-fontello; font-size: 42px; font-weight: 400; }a lot of places do have the solution on this.
But a subsequent solution to the “problem” must be accompanied by a complete recalculation of the existing image formats. This is because you can only influence the calculation basis for the upload process. Existing images are not changed by the snippet alone.some of the plugins that handle the recalculation do have a solution for uploading process too. Because i’m not shure if the enfold existing snippet:
add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); function avf_set_quality_mod($quality) { $quality = 55; return $quality;}has influence on other image formats ( only pixel based can be handled on general ) but i guess that the snippet above does not work with png files.
A nice little tool is from Shortpixel reSmush.it – see some info: https://shortpixel.com/
for me the free version is good enough.yes sorry – didn’t read carefully your first post.
but where do you like to goback ? – f.e. if you are comming from your homepage to f.e. portfolio : beelden?
my class above will link back to the page where you are coming from – in that case to homepage. If you are comming from a different portfolio – it will go back to that. Always back to the page you came fromsee here on my main navigation the goback button: https://webers-testseite.de/
if you place a gallery – you can choose on style – gallery style : to show only one big image – and the rest will be shown in lightbox.

yes – you are right – it only happens if you want to assign both to the link, then the title set here overwrites the content title.
_____________
ja – du hast Recht – es passiert auch nur wenn man dem Link beiden zuordnen will, dann überschreibt der hier gesetzte Titel den Content Titel.wenn du enfold 5.7.1 hast dann öffne mal iconbox.php
auf Zeile: 692 ff:case 'both': if( $title ) { $title = "<a href='{$link}' title='" . esc_attr( $linktitle ) . "' $blank>$linktitle</a>"; }und ersetze durch:
(replace with:)case 'both': if( $title ) { $title = "<a href='{$link}' title='" . esc_attr( $linktitle ) . "' $blank>$title</a>"; }siehe hier oben links: https://enfold.webers-webdesign.de/3-columns/
you can see on line 708 the correct way for only title case.
use that class: go-back-link for styling.
i have on some installations for posts/portfolio on top a goback button with this:
function go_back_button(){ ?> <script type = "text/javascript"> (function($){ $('<div class="avia-button-wrap avia-button-left goback"><a href="" class="avia-button av-icon-on-hover avia-color-theme-color avia-icon_select-yes-left-icon avia-size-small avia-position-center "><span class="avia_button_icon avia_button_icon_left " aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">zurück</span></a></div>').prependTo('#top.single .post-entry:first'); $('.goback').on('click', function(e){ e.preventDefault(); window.history.back(); }); })(jQuery); </script> <?php } add_action( 'wp_footer', 'go_back_button' );the
window.history.back();can do the job too.
but you can place that manually be each button with that class custom-class : goback
then only use:function go_back_button(){ ?> <script type = "text/javascript"> (function($){ $('.goback').on('click', function(e){ e.preventDefault(); window.history.back(); }); })(jQuery); </script> <?php } add_action( 'wp_footer', 'go_back_button' ); -
This reply was modified 1 year, 4 months ago by
-
AuthorPosts


