Forum Replies Created
-
AuthorPosts
-
Es wird so nicht funktionieren. Man könnte sogar auf deiner Seite das in einer Lightbox aufrufen. Hier wäre dann ein Popup vom type:’ajax’ nützlich. – Leider hängt das Einbinden von externen Seite sehr davon ab, was die abgefragte Seite für Sicherheiten eingerichtet hat:
Fehlermeldung ist dann z.B.:
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://www.kleinanzeigen.de/s-anzeige/moderne-doppelhaushaelfte-mit-keller-in-ruhiger-lage-kueche-geschenkt-/3077951470-208-6482/. (Grund: CORS-Kopfzeile ‘Access-Control-Allow-Origin’ fehlt). Statuscode: 403. 2
Das kannst Du eben nicht beeinflussen. Auch ich richte meist auf meinen Seiten genau das ein, das niemand die Seite einbinden kann.
via htaccess bei apache Servern.Die gegenseite müsste dann deiner Seite erlauben:
Header set Access-Control-Allow-Origin "https://deine-domain.de"Wenn man via iframe eine Seite einbinden will muss die Gegenseite die X-Frame-Options für dich erlauben
bzw. : moderner den CSP Header so einrichten, das die Seite als frame-ancestor gelistet ist.Also – wenn es denn Eure Bilder sind – lade die auf deiner Seite hoch und gestalte dann mit Enfold deine Galerie
i do not see my css code in your page!
have you read my post? i told you that it will not work if there are elements below.
Sticky elements do only hold there place inside the direct parent container. so there must be a column with huge content and the column besides with less height. This could be a sticky element then.Insert my code above and look to your blog page: https://institutionofelectronics.ac.uk/news/
or more impressive then : https://institutionofelectronics.ac.uk/2025/05/30/designing-power-supplies-for-industrial-functional-safety-part-1/
or did you want something other than a sticky element. e.g. a fixed element, possibly even a draggable element?this could be a nice usage – but the stickyness only belongs to the direct parent container.
https://webers-testseite.de/sticky-elements/
Some explanations are shown here:
https://webers-testseite.de/sticky-sidebar/you are talking about the news sites?
but if there are additonal columns below – what should happen?

have a look to one of your news pages or the blog page itself:
.responsive body#top.blog, .responsive body#top.wp-singular { overflow-x: visible !important; } .responsive body#top.blog #wrap_all , #top.wp-singular #wrap_all{ overflow: visible !important; } @media only screen and (min-width: 767px){ .responsive body#top.blog .sidebar_right .container, #top.wp-singular .sidebar_right .container{ display: flex; } .responsive body#top.blog .sidebar , #top.wp-singular .sidebar{ position: -webkit-sticky !important; position: sticky !important; top: 180px; align-self: flex-start; flex: 0 1 30% } }but that does not work with following sections under the sticky container.
If you use more specific selectors, you can style “strong” differently.
if you want it only on some words in a textblock you had to use the way above from Rikard.
for example if you like to have a different color for them only on one page – use the page ID :#top.page-id-12345 strong { color: black; }sometimes it might be necessary to have an !important on the value. (black !important;)
PS: if you are editing text-blocks the editor could do that for you
this will create an inline-style:
<span style="color: #ff0000;"><strong>Important</strong></span>
so it should be possible to have a burger menu on placing f.e. a code-block element with html code:
<nav class="datenschutz-menu" role="navigation"> <div class="container av-menu-mobile-active"> <a href="#" class="mobile_menu_toggle no-scroll" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"> <span class="av-current-placeholder">Datenschutz</span> <span class="subnav-hamburger subnav-hamburger--spin-r"> <span class="subnav-hamburger-box"> <span class="subnav-hamburger-inner"></span> </span> </span> </a> [menu name="datenschutz"] </div> </nav>and then influencing it by:
function subnav_hamburger_first(){ ?> <script> (function($){ var $subham = $(".mobile_menu_toggle"); $subham.on("click", function(a) { $subham.find(".subnav-hamburger").toggleClass("is-active"); $subham.next(".menu-datenschutz-container").find('#menu-datenschutz').toggleClass("av-open-submenu"); }); $('#menu-datenschutz li').on("click", function(b) { $(this).addClass('selected').siblings().removeClass('selected'); $(this).parents('#menu-datenschutz').toggleClass('av-open-submenu'); $(this).parents('.av-menu-mobile-active').find('.subnav-hamburger').toggleClass('is-active'); }); })(jQuery); </script> <?php } add_action('wp_footer', 'subnav_hamburger_first');
and a lot of css thensee on https://webers-web.info/hamburger/
PS: sorry i had to reinstall the whole website – so Privacy page is still not that way discussed above – i will change that today.
see here on very small screens: https://webers-web.info/datenschutz/
that sidebar menu on the left goes to a hamburger on top right on small screen width.you see on the link above (https://jonsuh.com/hamburgers/) – and (on enfold main burger DOM ) what are the class names – i used them too – because then a predefined look is allready present.:
and the script to manage the burger is allready loaded(page-id-3 – is my privacy page)
add_action('ava_after_main_menu', function() { if ( is_page(3)){ echo '<nav class="datenschutz-menu" role="navigation">'; echo '<div class="container av-menu-mobile-active">'; echo '<a href="#" class="mobile_menu_toggle no-scroll" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"><span class="av-current-placeholder">Datenschutz</span>'; echo '<span class="subnav-hamburger subnav-hamburger--spin-r"><span class="subnav-hamburger-box"><span class="subnav-hamburger-inner"></span></span></span>'; echo '</a>'; echo do_shortcode('[menu name="datenschutz"]'); echo '</div>'; echo '</nav>'; } });on that line:
echo do_shortcode('[menu name="datenschutz"]');you see the usage of that menu shortcodenow i got that extra subnav-hamburger (this name is set by me – it only reminds me that this is subnavigation on privacy page )
now i have to have the same behaviour on that second burger menu:function subnav_hamburger_first(){ if(is_page(array( 3))){ ?> <script> (function($){ var $subham = $(".mobile_menu_toggle"); $subham.on("click", function(a) { $subham.find(".subnav-hamburger").toggleClass("is-active"); $subham.next(".menu-datenschutz-container").find('#menu-datenschutz').toggleClass("av-open-submenu"); }); $('#menu-datenschutz li').on("click", function(b) { $(this).addClass('selected').siblings().removeClass('selected'); $(this).parents('#menu-datenschutz').toggleClass('av-open-submenu'); $(this).parents('.av-menu-mobile-active').find('.subnav-hamburger').toggleClass('is-active'); }); })(jQuery); </script> <?php }} add_action('wp_footer', 'subnav_hamburger_first');This is not a trivial request, which is why there are several paid plugins available. To grasp the complexity of a multilevel burger menu, take a look at the avia-snippet-hamburger-menu.js code.
Your explanation makes sense to me.
i did it this way with the edited child-theme files
(just erased the && ! isMobile ):function wp_change_sticky_header_script() { wp_deregister_script( 'avia-sticky-header' ); $vn = avia_get_theme_version(); $options = avia_get_option(); $child_theme_url = get_stylesheet_directory_uri(); $min_js = avia_minify_extension( 'js' ); // $min_css = avia_minify_extension( 'css' ); for that js - file not needed to mention here $condition = ( isset( $options['header_position'] ) && $options['header_position'] == 'header_top' ); $condition2 = ( isset( $options['header_sticky'] ) && $options['header_sticky'] == 'header_sticky' ) && $condition; avia_enqueue_script_conditionally( $condition2 , 'avia-sticky-header-child', "{$child_theme_url}/js/avia-snippet-sticky-header{$min_js}.js", array('avia-default'), $vn, true); } add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 );but allways to do this on all pages where i like to have a shrinking header on mobile devices too – and to generate allways the minified file from the actual avia-snippet-sticky-header.js file – is a lot of work.
A filter set by you would be a great time saver here
using something like this :
add_filter('avf_shrinking_header_on_mobile', '__return_true');
😉 I am of course aware that a filter has no place in a script file. But maybe there is a trick that could regulate it differently.you can see here an example on using that shortcode including the existing classes from enfold to handle a hamburger menu – if you look to the DOM – it is very nearby the setup from : https://jonsuh.com/hamburgers/
because all scripts are allready implemented to enfold – you have to find a way how to insert that DOM Structure<button class="hamburger hamburger--collapse" type="button"> <span class="hamburger-box"> <span class="hamburger-inner"></span> </span> </button>but try to find a plugin ( yes the good ones are not free) that handles the hamburger insertion with a given WordPress menu.
Remember, this is an older theme from 2022. Many new features have been added since then. Some of the instructions in the explanations are now outdated.
I have just noticed that the 20s setting does not work outside of unanimated columns either.
or a little more choice:
<?php function custom_named_menu_shortcode( $atts ) { extract( shortcode_atts( array( 'name' => '', // Default to an empty menu name 'class' => 'custom-menu', // Default CSS class 'depth' => 0, // Default depth (0 for unlimited) ), $atts ) ); if ( ! empty( $name ) ) { return wp_nav_menu( array( 'menu' => $name, 'menu_class' => $class, 'container' => 'nav', // You can change this to 'div', false, etc. 'container_class' => $class . '-container', 'echo' => false, // Important: returns the menu HTML instead of printing it 'depth' => $depth, ) ); } return ''; // Return empty if no menu name is provided } add_shortcode( 'named_menu', 'custom_named_menu_shortcode' ); ?>and use the shortcode like that:
[named_menu name="your-menu-name" class="my-custom-menu" depth="2"]First : i’m using this shortcode to insert a named menu from wordpress menu options:
maybe an example of mine helps you to find your own way to do it.
function print_menu_shortcode($atts, $content = null) { extract(shortcode_atts(array( 'name' => null, ), $atts)); return wp_nav_menu( array( 'menu' => $name, 'echo' => false ) ); } add_shortcode('menu', 'print_menu_shortcode');maybe the menu-shortcode will help you – and f.e. here : https://jonsuh.com/hamburgers/
there are some plugins to test. …
hail brave new AI world
New snippet
see in Action here: https://webers-testseite.de/impressum/this is for child-theme functions.php:
see code here on paste bin: https://pastebin.com/zc4fvX1w
because of a innerHtml (lines 158-176) it is not possible to post it here – (maybe mod knows how)

and here is the style for quick css
/* --- Draggable Search Window --- */ #gcmSearchUIContainer { /* Changed ID for clarity */ position: fixed; top: 100px; /* Initial position from the top */ left: 50%; /* Start horizontally centered */ transform: translateX(-50%); /* Adjust for true centering */ width: 380px; /* A suitable width for a small window */ background-color: #f9f9f9; border: 1px solid #ccc; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.25); z-index: 100001; /* Ensure it's on top, slightly higher than before if needed */ overflow: hidden; /* To contain rounded corners with header */ } #gcmSearchUIContainer.hidden { display: none; } #gcmSearchUIHeader { padding: 10px 15px; background-color: #e8e8e8; border-bottom: 1px solid #ccc; cursor: move; /* Indicates this area is draggable */ border-top-left-radius: 8px; /* Match container's radius */ border-top-right-radius: 8px; /* Match container's radius */ display: flex; justify-content: space-between; align-items: center; } #gcmSearchUIHeader .gcm-title { font-weight: bold; font-size: 1.1em; color: #333; } #gcmSearchUIHeader #gcmCloseSearchBtnDraggable { /* Specific ID for close button in this context */ background: none; border: none; font-size: 1.3em; font-weight: bold; color: #777; cursor: pointer; padding: 0 5px; } #gcmSearchUIHeader #gcmCloseSearchBtnDraggable:hover { color: #000; } #gcmSearchUIBody { padding: 15px; display: flex; flex-direction: column; /* Stack elements vertically */ gap: 10px; /* Space between elements in the body */ } #gcmSearchUIBody #gcmSearchInputDraggable { /* Specific ID for input */ width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } #gcmSearchUIBody .gcm-controls-row { display: flex; justify-content: space-between; /* Space out controls */ align-items: center; gap: 8px; /* Space between buttons in a row */ } #gcmSearchUIBody .gcm-navigation { display: flex; gap: 5px; } #gcmSearchUIBody button { padding: 8px 12px; border: 1px solid #aaa; border-radius: 4px; background-color: #e7e7e7; cursor: pointer; min-width: 40px; /* For Next/Prev buttons */ text-align: center; } #gcmSearchUIBody button:hover { background-color: #d7d7d7; } #gcmSearchUIBody #gcmSearchBtnDraggable { /* Specific ID */ flex-grow: 1; /* Allow Find button to take more space if needed */ } #gcmSearchUIBody .gcm-results-count-draggable { /* Specific ID */ font-size: 0.95em; color: #333; white-space: nowrap; /* Prevent wrapping */ } /* --- Highlighting Styles (remain the same) --- */ .custom-highlight { background-color: yellow; color: black; font-weight: bold; } .custom-highlight.current-custom-highlight { background-color: orange; outline: 1px solid red; }Do not forget to remove the leading php on that downloaded snippet before you insert it to your child-theme functions.php
Download: https://pastebin.com/dl/zc4fvX1w
try this in your child-theme functions.php:
see the better solution on bottom!
Directly and reliably opening the browser’s own “Search in page” dialog (typically activated by Ctrl+F or Cmd+F) via an HTML button is generally not possible due to security restrictions and the lack of a standardized web API.
May 10, 2025 at 2:02 am in reply to: Loading animation from the fullscreen-slider-buttons won’t stop #1483950shure – see: https://kriesi.at/support/topic/enfold-upcoming-fixes/
fixed: ALB Audio Player cannot edit playlist when bundled Layerslider is deactivated
May 9, 2025 at 11:24 am in reply to: Loading animation from the fullscreen-slider-buttons won’t stop #1483915Yes, I also recognised that from many of the buttons.
temporarily until the problem is fixed:
#top .avia-button .avia_loading_icon { display: none !important; }May 8, 2025 at 4:08 pm in reply to: Move blog-tags after blog-categories on the post-meta-infos #1483878i think there is now a filter
try:add_filter('avf_show_tags_meta', 'show_tags_on_blog_posts'); function show_tags_on_blog_posts(){ return true; } function new_avf_postslider_posts_meta_data_show(){ return true; } add_filter('avf_postslider_posts_meta_data_show', 'new_avf_postslider_posts_meta_data_show');last one is for grid style.
See: https://kriesi.at/documentation/enfold/blog-post/#display-post-tags-on-blog-posts-elementBut you do not use it now?
May 8, 2025 at 3:23 pm in reply to: Move blog-tags after blog-categories on the post-meta-infos #1483864i do not see your page / nor knowing what kind of blog layout you have choosen.
This is something i used sometimes to have tags inside meta info.
The snippet looks if the Theme Options – Blog Layout – blog post tags is checked
maybe you can modify it to your needs.function new_avf_post_slider_meta_content( $meta_content, $entry, $index, $atts, $meta_array ) { $tags = get_the_tags($entry->ID); $tags_output = ""; if('blog-meta-tag' == avia_get_option('blog-meta-tag') && $tags ){ $tags_output .= '<div class="post_tags"><strong>Tags: </strong>'; foreach ( $tags as $tag ) { $tags_output .= '<a href=" '. get_tag_link( $tag->term_id ) .' ">'; $tags_output .= $tag->name ; $tags_output .= '</a>' ; if(next($tags)){ $tags_output .= ', ' ; } } $tags_output .= '</div>'; $meta_array[] = $tags_output; $meta_content = implode( '<div class="slide-meta-del">/</div>', $meta_array ); } return $meta_content; } add_filter( 'avf_post_slider_meta_content', 'new_avf_post_slider_meta_content', 10, 5 );See first if this is a nearby solution: https://enfold.webers-webdesign.de/
ok – here is a quick solution (with AI support).
Enfold has the hook where you can insert something directly after the body opening tag. So put this to your child-theme functions.php:function ava_custom_jalousie_loader() { ?> <script type="text/javascript"> window.addEventListener('load', function() { document.body.classList.add('loaded'); }); </script> <?php } add_action( 'wp_footer', 'ava_custom_jalousie_loader' ); add_action('ava_after_body_opening_tag', function() { echo '<div id="preloader-wrapper">'; echo '<div id="jalousie-preloader">'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '<div class="jalousie-slat"></div>'; echo '</div>'; echo '</div>'; });if you want less amount of jalousie-slat – remove some divs
now the css:
#preloader-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; perspective: 1000px; overflow: hidden; } #jalousie-preloader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; background-color: transparent; transform-style: preserve-3d; } .jalousie-slat { width: 140%; position: relative; left: -20%; flex-grow: 1; background-color: #222222; /* === change to your color you like === */ transform-origin: 50% 50%; transition: transform 0.8s linear, opacity 0.4s linear 0.4s; backface-visibility: hidden; transform: rotateX(0deg); opacity: 1; box-sizing: border-box; } body.loaded #preloader-wrapper { opacity: 0; visibility: hidden; transition: opacity 0.3s 0.8s, visibility 0.3s 0.8s; } body.loaded #jalousie-preloader .jalousie-slat { transform: rotateX(90deg) scaleY(0.01); opacity: 0; }ok – now i see that venetian blind effect – because opening your link does not show it on first load – only if you switch to another page – it is there.
see here a better snippet that splits first into words then into chars:
https://webers-testseite.de/split-words/you did not really specify what effect is meant. The effect of the letters on top and how they appear?
those heading letter animations will all work with splitting the words to single chars – and then animate each char.
This little snippet tries to show you how you can split an enfold heading ( give a trigger class to the heading element f.e.: single-letters) and put this to your child-theme functions.php:function words_to_single_chars(){ ?> <script> var textWrapper = document.querySelectorAll('.single-letters .av-special-heading-tag'), i; for (i = 0; i < textWrapper.length; ++i) { textWrapper[i].innerHTML = textWrapper[i].textContent.replace(/\S/g, "<span class='char'>$&</span>"); } </script> <?php } add_action('wp_footer', 'words_to_single_chars');see a working example on : https://webers-testseite.de/impressum/
if you look to the DOM you will see each letter inside a span tag like:<span class="char">I</span>___________
;)
by the way: This is a very interesting site, which certainly comes without layout modules and requires a high level of programming knowledge. The web design studio responsible for it: https://dgrees.studio can certainly offer you a similar design for your site, but probably not quite at the cost of a selfmade framework solution.until the bug is fixed – just re-enable the LayerSlider plugin:
Enfold (child) – Layout Builder – Integrated (bundled) LayerSlider plugin …if you got that snippet inside your functions.php :
add_theme_support('deactivate_layerslider');
remove that too.that is the reason why i asked if you have clicked the “salvare” button after inserting your settings. And then save the page.
PS it is now ( but check the above said please )
#top.page-id-918 #av_section_6 { background-color: #7bb0e7; } #top.page-id-918 #av_section_6 .flex_column.av_one_full { padding: 0 150px; }and ( hm?)
#top.page-id-918 #av_section_6.main_color { color: #eeee22; }this (huge padding left/right) is not the best method to restrict the content width; because what would you do on mobile?
There are settings on the column element itself to rule those settings for smaller screens. But – none of them is seen in the DOM – inspecting that page with dev tools.now here is a pre question to be clear. After setting up your background-color on color-section – and the padding on 1/1 column :
Did you always complete the corresponding entries at the bottom of the element with “save” before you saved the page?

#top.page-id-918 #av_section_7 { background-color: #7bb0e7; } #top.page-id-918 #av_section_7 .flex_column.av_one_full { padding: 0 150px; }And btw. on all your other color-sections and 1/1 columns you do not have there a padding of 0 150px
The width is determined by manually set line-breaks ! -
AuthorPosts



