Hi,
As the title says, I would like to have on easy slider arrow navigation on desktop and dot navigation on mobile.
I have tried this, but it doesn’t work. Any idea? Thank you.
/* Hide dot navigation on desktop devices */
@media only screen and (min-width: 768px) {
.custom-slider-nav .avia-slideshow-dots {
display: none !important;
}
}
/* Hide arrow navigation on mobile devices */
@media only screen and (max-width: 767px) {
.custom-slider-nav .avia-slideshow-arrows a {
display: none !important;
}
/* Optional: Ensure the dots are visible on mobile if they were hidden by another setting */
.custom-slider-nav .avia-slideshow-dots {
display: block !important;
}
}
Hallo zusammen!
Ich habe die Schritte wie in https://kriesi.at/support/topic/pop-up-lightbox/#post-1429407 beschrieben umgesetzt und dann den Shortcode von einem Formular eingefügt. Mein Ziel ist es, ein Formular in einem Popup anzuzeigen, wenn man auf einen Button klickt.
Also:
function magnific_popup_with_no_scroll_and_button() { ?>
<script>
(function($) {
$(window).on('load', function(){
$('.open-popup-button a').addClass('open-popup-link');
$('.open-popup-link').addClass('no-scroll');
$('.open-popup-link').magnificPopup({
type:'inline',
midClick: true,
callbacks: {
beforeOpen: function () {
$('body').css("overflow-y", "hidden");
},
close: function() {
$('body').css("overflow-y", "auto");
},
},
});
});
})(jQuery);
</script>
<?php
}
add_action( 'wp_footer', 'magnific_popup_with_no_scroll_and_button', 99 );
Das in die functions.php eingesetzt.
Eine Code-Box mit folgendem Inhalt erstellt:
<div id="open-popup" class="popup mfp-hide">
<p>[av_layout_template template_id='popform']</p>
</div>
Und auch das im Quick-CSS hinzugefügt:
.popup {
position: relative;
background: #FFF;
padding: 20px;
width: auto;
max-width: 500px;
margin: 20px auto;
}
Weil es nicht funktioniert hat habe ich auch das noch hinzugefügt:
add_filter('avia_allow_shortcodes_in_codeblock', '__return_true');
add_filter('avf_alb_support_modal_templates', '__return_true');
Leider funktioniert es nicht. Es öffnet sich ein Modal aber darin steht nur der Shortcode. Ich bin ratlos. Kann mir bitte jemand dabei helfen das hinzubekommen.
Link zur Testseite im PC.
-
This topic was modified 5 months, 3 weeks ago by
felix_frank.
-
This topic was modified 5 months, 3 weeks ago by
felix_frank.
the filter avf_logo_subtext is nice to have both Logo Image and Text
try instead:
function use_text_logo_only($logo){
$link = apply_filters( 'avf_logo_link', home_url( '/' ) );
$logo_tag = "h1";
$logo_heading = "Wayne Anderson";
$alt = get_bloginfo( 'name' );
$title = get_bloginfo( 'name' );
$logo = '<a class="logo text-logo" href="'.$link.'" alt="'.$alt.'" title="'.$title.'"><'.$logo_tag.'>' .$logo_heading.'</'.$logo_tag.'></a>';
return $logo;
}
add_filter('avf_logo_final_output','use_text_logo_only');
and on quick css:
(maybe with your header setting – you had to adjust the css a little bit )
#top .logo.text-logo {
display: flex;
justify-content: left;
align-items: center;
width: auto;
}
#top .logo.text-logo h1 {
margin: 0 !important;
font-size: 30px; /* adjust to your needs */
text-transform: uppercase !important;
}
PS: if you like to have different alt and title tags replace in the snippet above with hardcoded strings
$alt = "your alt attribute";
$title = "your title attribute";
and if you do not like to have a h1 – just replace to a different tag ( h2, div, span etc. ) but then you had to adjust the css to that tag
see example page: https://webers-testseite.de/background-video/
Hi,
link : https://pc-lab.fr/?bypass_code=FmUELDTcVMozUyFI
I’m refering to the small bar on top of the normal menu bar.
The menu item, “FAIRE UN DON“, as set in the secondary menu parameters should be coloured, and the “NOUS REJOINDRE” should be outlined.
Moreover, I’d like to try to increase their font size.
Hope I’m more clear.
BR
-
This reply was modified 5 months, 3 weeks ago by
Ad-Min747.
Hi,
The filter we recommended was placed in the style.css file instead of the functions.php file. We removed it and added the following script instead. The text will still display with a slight delay, but the transition should now be disabled.
add_action('wp_footer', function() {
?>
<script>
jQuery(document).ready(function($) {
$(".avia-fold-unfold-section").each(function() {
var $section = $(this);
var $container = $section.find(".av-fold-unfold-container");
if ($container.length) {
$container.css({
"max-height": "none",
"transition": "none"
}).removeClass("folded").addClass("unfolded");
}
var $buttonWrapper = $section.find(".av-fold-button-wrapper");
if ($buttonWrapper.length) {
$buttonWrapper.css("display", "none");
}
});
});
</script>
<?php
}, 999);
We also edited the modification in the Quick CSS field.
@media only screen and (max-width: 768px) {
.av-fold-unfold-container {
max-height: none !important;
transition: none !important;
opacity: 1 !important;
}
.avia-fold-unfold-section .av-fold-button-wrapper,
.av-fold-button-container {
display: none !important;
}
#top .avia-fold-unfold-section .av-fold-unfold-container:after {
display: none !important;
}
.avia-fold-init,
.avia-fold-init-done {
display: block !important;
max-height: none !important;
opacity: 1 !important;
}
}
Best regards,
Ismael
Edit: here is the solution with working separators on those color-sections
the color-section that should react like this:
give a custom class to it: av-video-section
give a background-color to it that does not disturb your video switch (not white – something that fits to your video content
place a codeblock element on top of your color-section ( codeblock to content – not as codesnippet)
<video class="responsive-background-video"
autoplay muted loop playsinline
data-video-mobile="path/to/mobile.mp4"
data-video-desktop="path/to/desktop.mp4">
<source src="" type="video/mp4">
</video>
this to your quick css:
.responsive #top #wrap_all .avia-section.av-video-section {
position: relative;
overflow: hidden;
min-height: initial; /* taken from Enfold section setting */
}
.responsive #top #wrap_all .avia-section.av-video-section .container {
position: relative;
z-index: 1;
max-width: 100% !important;
width: 100% !important;
padding: 0 !important;
}
.responsive #top #wrap_all .avia-section.av-video-section .responsive-background-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover !important;
z-index: 0;
min-height: inherit; /* transfer from Enfold section setting */
}
.responsive #top #wrap_all .avia-section.av-video-section .avia-divider-svg {
z-index:2;
}
.responsive #top #wrap_all .avia-section.av-video-section .avia-divider-svg.avia-to-front {
z-index:100;
}
the snippet for child-theme functions.php
function custom_responsive_background_video_script() {
?>
<script>
(function($) {
"use strict";
$(document).ready(function() {
$('.responsive-background-video').each(function() {
const video = this;
const $video = $(video);
const source = video.querySelector('source');
const win = $(window);
// Get video paths from data attributes
const mobileVideo = $video.data('video-mobile');
const desktopVideo = $video.data('video-desktop');
if (!mobileVideo || !desktopVideo) return;
function updateVideoSource() {
const isMobile = win.width() < 768;
const newSrc = isMobile ? mobileVideo : desktopVideo;
if (source.src.indexOf(newSrc) === -1) {
source.src = newSrc;
video.load();
}
}
// Initial load
updateVideoSource();
// Resize handling
win.on('debouncedresize', updateVideoSource);
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_responsive_background_video_script', 999);
see example page with divider : https://webers-testseite.de/background-video/
PS: Nice side effect: you could equip two sections on the same page (each loop) – you would then only have to place it in one color section:
<video class="responsive-background-video"
autoplay muted loop playsinline
data-video-mobile="hero-mobile.mp4"
data-video-desktop="hero-desktop.mp4">
<source src="" type="video/mp4">
</video>
<div class="content">Hero Content</div>
and then in another section:
<video class="responsive-background-video"
autoplay muted loop playsinline
data-video-mobile="about-mobile.mp4"
data-video-desktop="about-desktop.mp4">
<source src="" type="video/mp4">
</video>
You must then add the corresponding data-video attributes to your video links.
what you can do – ( not with enfold specific tools )!
do not set the background-image with enfold color-section settings.
put into the color-section on top a code-block element with this content
(adjust to your path and videos):
See Solution on next posts
Hey Antonio,
The setting that you are referring to uses css to hide the color section after page load, PHP can not determine the screen size of the device, since it is a server side code language. CSS is a client side code language that loads on the user device, but will not stop the video from being served. Another option would be Javascript, such as in this thread, but it is also a client side code language, while it can stop the load of the video as long as the Javascript runs first, but using a caching plugin like WPRocket may derfure the Javascript and cause it to not work. Most caching plugins force Javascript to run in the footer, but this would need to run in the header before the videos.
So ultimately you will be losing the render blocking of Javascript to gain the video from not loading, if your video is very large you will save on the page load, but otherwise you will see warnings that the Javascript is causing page render blocking.
Best regards,
Mike
you do not see the image above in https://kriesi.at/support/topic/how-to-remove-the-bar-above-the-main-menu-preferebly-without-any-css-code/#post-1490697
click on it to enlarge the image.
so Enfold (or Enfold-Child) – Header then on the right “extra Elements” Tab
remove all entries there.
Header Social Icons : No social Icons
Header Secondary Menu : No Secondary Menu
Header Phone Number/Extra Info: No Phone Number/Extra Info

Hi,
We created a website with a video on the homepage. To speed up loading, we created two videos, one for desktop and one smaller for mobile. Each video was placed in a color section with its own visibility settings (image). Everything looks fine visually, but we noticed the website was loading slowly, even though both videos were loading in the console (image). How can we make it so that only the desktop or mobile version of the video loads on each device?
Thanks advance,
BR,
Antonio.
Hey joakleaf,
The update to 7.1.3 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
Hi Jody,
Try this:
When in the display > menu window, click on the top right tab (screen settings) it pulls down and then select Title target
Please see screenshot here (mine’s in Dutch …)
Let me know if it works for you.
Cheers,
Steven
-
This reply was modified 5 months, 3 weeks ago by
steviger.
Hi,
Great, I’m glad to hear that you got the update working. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
We missed the screenshot above. Please try to replace the modification with this css code:
#top .av-minimal-toggle .toggle_content .avia-testimonial {
width: 50%;
display: block;
float: left;
}
@media only screen and (max-width: 989px) {
/* Add your Mobile Styles here */
#top .av-minimal-toggle .toggle_content .avia-testimonial {
width: 100%;
display: block;
float: none;
}
}
Result:

Best regards,
Ismael
Hi Rikard
That worked! Thank you so much. I simply used the code from your Enfold documentation, and now everything works as usual.
I have one last question: Your code only supports one mobile screen size (max-width: 989px). What does the code look lik,e if I need to differentiate between mobile and tablet portrait modes – so that the margin-top is correct?
@media only screen and (max-width: 989px) {
.responsive #top #main {
/* Margin top value should be equal to header height*/
margin-top: 110px !important;
}
.responsive #top #wrap_all #header {
position: fixed;
}
}
Thanks
Sarah
Hi,
Thanks for that, but there are no files at all uploaded to the site which you gave us access to earlier.
Best regards,
Rikard
Hey Heather,
Please see this article about purchasing extended support.
As for your search issue, please disable all of your plugins and then check.
The Enfold theme has had a known issue with the Advanced Woo Search plugin, particularly concerning the display and functionality of the search bar in the main menu. A reported issue involves the search bar appearing briefly and then disappearing when integrated via the “Shortcode in Menus” plugin. Please see this thread.
Another possibility is your Autoptimize plugin forcing the “display:none” instead of allowing the results to show. Autoptimize often causes errors like this. Nonetheless once you extend your support we can review further.
Best regards,
Mike
HeatherGuest
Hello,
Can I purchase extended support for my current site? Instead of the theme and support? My site is running Woocommerce and I am trying to add product images to the search results page. I have tried using the Advanced Woo Search plugin but it is not working and I believe it because of a conflict with the Enfold theme.
Also, I have a search box in the top right corner of the nav bar. When you enter search terms a drop box appears with results however, it closes really quickly and you cannot click on any of the results. How do I fix this?
Thanks
What are the steps to ensuring a home page background video plays immediately without lag?
Currently, a video hosted at Vimeo is used in a Color Section as a Background Video. It takes too long to display. Also, if the browser tab is open and revisited later, the video doesn’t show at all—the browser must be reloaded for the video to show again, after a long delay of course.
The video URL has this appended: ?autoplay=1&loop=1&background=1&mute=1
Hi,
@Jason: You have probably enabled the Top Header before. If you really need to keep the left sidebar or header and still include a search field on the page for mobile view, you can try adding a Search element from the Advanced Layout Builder.

Please open another thread if you have more questions.
Best regards,
Ismael
Hi,
Thank you for the info.
We adjusted the code in the Quick CSS field a bit. It should be working correctly now.
@media only screen and (min-width: 769px) {
/* Add your Desktop Styles here */
#top .fullsize .template-blog .big-preview {
padding: 0 0 10px 0;
width: 40%;
}
.av-alb-blogposts .post-entry {
display: block;
}
.av-alb-blogposts .big-preview.single-big a {
height: 100%;
}
.av-alb-blogposts .big-preview.single-big a img {
object-fit: contain;
}
#top .fullsize .template-blog .post-title {
text-align: left;
font-size: 30px;
padding: 15px 0;
max-width: 800px;
margin: 0 auto;
}
#top .fullsize .template-blog .post-meta-infos {
text-align: left;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
width: 60%;
float: left;
}
#top .fullsize .template-blog .blog-meta {
display: none;
}
#top .fullsize .template-blog .big-preview {
padding: 0 0 10px 0;
width: calc(40% - 50px);
float: left;
margin-right: 50px;
min-height: 200px;
}
}
@media only screen and (min-width: 989px) {
#top .fullsize .template-blog .big-preview img {
min-width: 494px;
}
}

Best regards,
Ismael
Hey derdschuh,
Thank you for the inquiry.
Try adding this css code to properly resize the testimonial items on smaller screens:
@media only screen and (max-width: 1366px) {
/* Add your Mobile Styles here */
#top .av-minimal-toggle .toggle_content .avia-testimonial {
width: 50%;
display: block;
float: left;
}
}
@media only screen and (max-width: 768px) {
/* Add your Mobile Styles here */
#top .av-minimal-toggle .toggle_content .avia-testimonial {
width: 100%;
display: block;
float: none;
}
}
Result:

Best regards,
Ismael
Hey RENZCOM,
Thank you for the inquiry.
Try to add this css code to adjust the header height in tablet landscape view:
@media only screen and (max-width: 1366px) {
.responsive.html_mobile_menu_tablet #top #header_main>.container .main_menu .av-main-nav>li>a, .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
height: 90px;
line-height: 90px;
}
}
Best regards,
Ismael
Hi,
You need to remove this css code if you want the featured image to resize automatically based on screen size. This rule sets a minimum height of 630px for the image, preventing it from shrinking while resizing the window. It does preserve the aspect ratio using object-fit: cover.
#top.single-post .fullsize .template-blog .big-preview img {
width: 1200px;
min-height: 630px;
object-fit: cover;
}
Best regards,
Ismael
That’s not what we’re looking for. If you look at the training page, as the viewer on a desktop computer (not in fullscreen) makes the page smaller or larger by adjusting the sides, the image changes size accordingly, both height and width. That’s what we want the Memo image to do. It did this automatically before the next-to-last update by adding this code to our custom CSS:
#top.single-post .fullsize .template-blog .big-preview img {
width: 1200px;
min-height: 630px;
object-fit: cover;
}
After that update and the latest one, the image stays the same height–nothing changes but the width. All we want is for the Memo image to act like all the other images, and I don’t understand why the same code no longer works.
Hey Chris,
The update to 7.1.3 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
We can’t say if your site will stay the same or not, it depends on what has been done to it. You can export the theme settings under Enfold->Import/Export though, and make sure that you have a backup of your old site before updating anything.
Best regards,
Rikard
Hi. I am struggling having my logo vertically centered on the header.
My logo size is 170×32.
The logo is vertically centered on mobile size only, when screen size is <=767 pixels.
From 768 to 989, I still have burger menu, but the logo is aligned to top.
On 990 and above, burger menu disappears, and the logo is still aligned to top.
Tested with Chrome and Firefox.
In the past I’ve tried playing with the top-padding value, but it was not working always well. I’d like to have a clean solution if possible…
Adding info to access the website in Private area.
Thanks in advance!