Forum Replies Created
-
AuthorPosts
-
if you mean those dot navigations to scroll to the next section – you can see here a working example page on how to use the submenu alb Element to have such a navigation.
https://pureinstall.webers-testseite.de/dot-navigation-with-colored-sections/
this test page, however, I would have to update, which is probably no longer up to date – so maybe it will be offline for a moment
by the way – see responsive behavior.if you only like to influence the form that is generated on the frontend – mostly these plugins will set a custom class to name the form.
But why such a site that offers an email obfuscator doesn’t even have an email on the site is beyond me. The whole page would be in Germany (without imprint and privacy page) anyway not DSGVO compliant.
where should the font take effect? in the form, or at the recipient of the message. The latter would virtually force the recipient to load the font on his device, which would not be compliant with the GDPR if it were possible at all.
For one thing, it took me a very long time to see anything at all that had to do with the scripts. You have to experiment a lot on the site to realize that you can pack the cards and move them horizontally.
Wouldn’t it be better to write a small script that allows horizontal scrolling for the desktop with the mouse wheel, and in the mobile case is controlled by swipe. But then you would have to set small arrows (best animated) to even get the idea that here content is to be seen horizontally.maybe you give a link to the pen too!
Danke – übrigens das hier: https://kriesi.at/support/topic/set-transparent-header-as-default-header-style/#post-1341443 ist schade, dass es schon zu ist.
Wie man ein Child-Theme ALB Element etabliert weisst du? – Doku
Man kann aber auch – indem man ein original script auslädt und dafür eher dann ein Child-Theme script an dessen stelle lädt dieses ersetzen.
Das Script um das es in diesem Fall geht ist: avia-snippet-sticky-header.js und befindet sich im Unterordner js.
Diesen Hierarchiebaum, würde ich im Child auch beibehalten. Heißt auch einen Unterordner “js” im Child-Theme folder erstellen und dort die Kopie des Scriptes ablegen. – Soweit so gut.
Das Ausladen des Elternscriptes und laden des Child-Theme scriptes:
( in die child-theme functions.php dieses Snippet )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); }In dieses Script gehst du nun und änderst ( im neuesten Enfold ist es auf Zeile: 76)
if( shrinking && ! isMobile )in:
if( shrinking )Das ware es dann auch.
no – the first snippet of mine is a global setting of all pages to transparent and glassy header.
this is useful if you want to change the header layout of all pages.
The other snippet is for the convenience of not having to set the default template every time you set a new page.
So it is a preselection of the metabox in editor mode.i think your snippet is right:
i tested this ( from my snippet list ) – and it works
( it is just a different function name )add_action( 'after_setup_theme', 'ava_enfold_builder_layout_mod' ); function ava_enfold_builder_layout_mod(){ add_filter('avf_builder_elements', 'avf_enfold_builder_layout_settings_mod'); } function avf_enfold_builder_layout_settings_mod($elements) { $counter = 0; foreach($elements as $element) { // Layout > Header visibility and transparency if($element['id'] == 'header_transparency') { $elements[$counter]['std'] = 'header_transparent'; } $counter++; } return $elements; }you have forgotten the classes to add
try:
add_filter('avf_header_setting_filter', function($header) { $header['header_transparency'] = 'header_transparency header_glassy'; $header['header_class'] .= " av_header_transparency av_header_glassy"; return $header; }, 10, 1);i don’t know if the setting in the editor mode will overwrite this – so you have the chance to setup other header types then.
so i will have a look if a preset in your way could be done.
February 16, 2022 at 6:44 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340951Some Caching Plugins can hamper a correct saving – maybe you check that first – without caching tools ( except enfold – that is running on my installation – and did not hamper saving texts )
February 16, 2022 at 6:24 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340948i see you are still under php 7.4 – maybe you update to the php8
Nimm mal besser die zweite liste ( constants ) raus – die absoluten pfade könnten jemand auf dumme gedanken bringen.
Hast du besondere Einträge in der htaccess vorgenommen ?
EDIT: es ist ja nicht nur das mit den Smileys – der hinzugefügte Text ist nach dem erneutem Speichern auch nicht mehr da !
February 16, 2022 at 6:06 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340944the film would not have been necessary – I believe you as well, – but if it is not reproduced in my case, it can’t be due to Enfold.
What I observe in the film, however, is that it also takes a very long time until the page rebuilds. Have you tried to increase the memory limits of the installations. Could also be done via wp-config.php.define( 'WP_MEMORY_LIMIT', '96M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' );February 16, 2022 at 5:54 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340939did you look into your wp-config.php ?
allthough my setup of the istallation above has :
define('DB_CHARSET', 'utf8');and it works
some users in the net tell that a switch to :
define('DB_CHARSET', 'utf8mb4');can help to resolve such troubleFebruary 16, 2022 at 5:45 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340935on the very bottom of your text i placed afterwards another sentence.
And it is not dependent if i then edit on text mode or visible mode !February 16, 2022 at 5:40 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340932i did what you write – copied your text ( only the “umlaute” are wrong from the beginning ) saved – and edit the text block again. The smileys stay the same.
https://webers-testseite.de/portfolio/smileys/can you have a look into your wp-config.php what kind of charset is defined inside.
-
This reply was modified 4 years, 1 month ago by
Guenni007.
the items count on case “All” will be difficult to get – because we need to find out the number of posts, and in case of selecting multiple categories (or taxonomy) we need to have the adjusted total number of posts. If there are common posts.
To be honest, I don’t think Amazon’s implementation is a success. The hamburger menu is a separate menu item and not a copy of the text menu.
The page has nothing to do with responsive design. Here you have to scroll right and left to see the content, as in the past in the frame / table layout aera.…
-
This reply was modified 4 years, 1 month ago by
Guenni007.
February 16, 2022 at 1:48 pm in reply to: Very big Problem with Enfold / Advanced Layout Builder #1340904And even if you check that checkbox on enfold options : Peformance – see link
the smileys work on my end too:
https://webers-testseite.de/textbox-with-smiley/I think my provider is working on my servers right now. All my pages are extremely slow at the moment. – Sorry
Just some brainstorming – without the entry number field the calculation will be wrong.
Why don’t we use a calculation of how many posts are in the given categories ( taxonomies )?
is it possible to get the number of post in the selected post-type ( f.e. with get_terms() )Yes this line in the code is for removing:
animation : none !important;
otherwise your animated gif will rotate
see here an animated gif ( without that animation : rotation of default enfold preloader) : https://webers-testseite.de/Brilliant mike! thanks.
But here too – it is important to know the amount of slides and choose it in “entry number field” if you have a multi-column layout for the slider.
if you set to show all slides it will only show one dotyou can see edited postslider.php here ( and download it too ) : https://pastebin.com/7sYWtWDT
if you like to have both arrows and dots – remove the outcomment signs on line 1021if that is the case – you are right! i do use borlabs cookie plugin – and selfhost my fonts – so i did not come into conflict with GDPR in this way.
Can you please read here further : https://kriesi.at/support/topic/prevent-google-font-loading-before-opt-in-gdpr-data-privacy/
It seems that only google font is loaded if maps or recaptcha are used.
Fontawesome isn’t part of enfold! or ?by the way – there is an analogon usage for recaptcha from Google – filter is called: avf_skip_enqueue_scripts_backend_grecaptcha
add_filter("avf_skip_enqueue_scripts_backend_grecaptcha", function( ) { return "skip_loading"; }, 10, 1);Maybe you deactivate everywhere the maps api ( do not enter API KEy on Enfold Options ) – and then you load the script asynchronously on the required pages before function initMap() not using the Google Maps ALB Element but a Codeblock-Element to place your map.
f.e.:<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR-KEY-COMES-HERE&callback=initMap" type="text/javascript"> </script>see more info here: Google Maps
_____________________Easier Way for Enfold normal users :
PS: i see first time the filter: avf_skip_enqueue_scripts_backend_gmaps – what about that skip_loadingadd_filter("avf_skip_enqueue_scripts_backend_gmaps", function( ) { return "skip_loading"; }, 10, 1);don’t know if there is a function argument necessary – guess it will run this way too.
Guess filter : avf_load_google_map_api_prohibited is still working but deprecated.as long as you do not enable the use of Google fonts by default – everything is GDPR compliant – after consent, the way is then clear for embedding as well.

You must of course use the advanced features of the theme’s privacy settings for this.

if you have an animated gif there – you can remove the animation instruction from av-siteloader
.av-siteloader { border: none !important; animation : none !important; content: url(/wp-content/uploads/animated.gif); width: 100px; height: 100px; }PS: SVG = Scalable Vector Graphics
if you selfhost them ( and this is allowed from Google – no it is even recommended : Link ) – it is not illegal then.
See here the mentioned Google Webfonts Helperthese are borders with one border at opacity: 1
but you can try something like this:
.av-siteloader { border: none !important; content: url(/wp-content/uploads/alternative-image.png); /*** might be a svg file too ***/ width: 150px; height: 150px; }btw. this is background-color definition:
#top .av-siteloader-wrap { background-color: #000; }you don’t mean the logo that you can set in enfold options – but you mean that spinning wheel!
this is just a keyframe animation with rotate settings@-webkit-keyframes av-load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes av-load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg); } }and this is the rule for the siteloader:
.av-siteloader , #top div.avia-popup .mfp-preloader{ font-size: 10px; position: relative; text-indent: -9999em; margin:0 auto; border-top: 2px solid rgba(0, 0, 0, 0.2); border-right: 2px solid rgba(0, 0, 0, 0.2); border-bottom:2px solid rgba(0, 0, 0, 0.2); border-left: 2px solid #000; -webkit-animation: av-load8 0.8s infinite linear; animation: av-load8 0.8s infinite linear; }maybe you can change the borders to none – and insert an icon as content.
-
This reply was modified 4 years, 1 month ago by
-
AuthorPosts
