Hello I have inserted a sticky button in this page: https://gonowjets.com/lan-gonowjets/ “Reservar vuelo” with this code in quick CSS but I don’t know why instead being a normal button it is much bigger…. I have the same code and same button with other web site with enfold and works perfect (here works fine: https://faceclinic.es/lan/aravaca-lan-dental-0324/).
Can you help me on that ? I don’t know why the button gets like that. Thank you.
/* crear barra contacto en landings */
.mobile-nav {
background: rgba(255,255,255,0.01);
position: fixed;
bottom: 0;
height: 90px;
width: 120%;
display: flex;
justify-content: space-around;
}
.bloc-icon {
display: flex;
justify-content: center;
align-items: center;
}
.bloc-icon img {
width: 30px;
}
@media screen and (min-width: 2000px) {
.mobile-nav {
display: none;
}
}
Hi,
Please try the following in Quick CSS under Enfold->General Styling:
#top div .av-dark-form input[type="text"], #top .av-custom-form-color .button {
border-width: 1px !important;
}
Best regards,
Rikard
Kenji NaritaGuest
Hello!
My name is Kenji Narita and I work in web production in Japan.
I’m translating from Japanese to English, so I’m sorry if some sentences are difficult to understand.
A client consulted with me about not being able to update Enfold.
Enfold version: 4.5.4
Enfold Child Version: 1.0
It looks like this site was originally created by a different web production company.
Therefore, the production company was responsible for managing Enfold and logging into Envato Market.
However, I was advised that the production company had gone bankrupt and updates were no longer possible.
There was no update button on the WordPress theme screen, so I created an Envato Market account with my own address and tried to update it, but I couldn’t because there was no purchase history.
I haven’t been able to update since I can’t contact the production company.
In this case, do I have to purchase and update the theme for a fee?
Hi,
You can use the button element options to create this:


The button element has many more options, please review them, as you choose “custom colors” in the drop down you will be given more options.
Best regards,
Mike
Hi,
Thank you for the link to your site and your patience, for your first slide with the button, it has a link so adding the button creates a nesting link, which typically wil cause issues, but it looks like this css will help:
#main .aviaccordion-excerpt p > a {
text-decoration: none;
}
#main .main_color a.my-accordion-button {
text-decoration: none;
background: blue;
padding: 10px;
border-radius: 2px;
color: #FFF;
position: relative;
top: 135px;
}
#main .aviaccordion-slide-link .aviaccordion-title {
top: -50px;
position: relative;
}
#main .aviaccordion-slide-link {
text-decoration: none;
}
this is the expected results:

Best regards,
Mike
Hey ballindigital,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#top .avia_cart_buttons {
opacity: 1;
}
#top div.avia_cart_buttons a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover,
#top div.avia_cart_buttons a.button.show_details_button:hover {
color: black !important;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hey Stefan,
I believe that you are referring to this button:

It seems to look correct to me, the orange arrow expands the button options and they also show in the center of the mobile screen.
Perhaps a screenshot of what you see would help.
Best regards,
Mike
I am up to date on enfold using (5.6.12)
Display excerpt is checked. And the title and caption are displaying, however the button is overlapping the text and title instead of displaying beneath it.
The button is added with html just like you show above, and it appears however in the wrong place.
Hello,
We are working on creating a new website using the Agency – Enfold Parallax Demo, and we came across an issue that we can’t find a solution. We are creating the main menu and providing in the links the #{and the id of the section}, so far so good. The problem comes when the user clicks on a button to change the page, then the menu is becoming not functional because the urls (Section IDs) are not present in the specific page.
Please advise.
Best,
Androklis
-
This topic was modified 1 year, 11 months ago by
androklis.
Hey Stefan,
Thank you for the inquiry.
There is no option for this by default but you might be able to use the avf_form_send filter to check the content of the contact form fields before sending the email. Usage examples can be found in the links below:
// https://kriesi.at/support/topic/contact-form-submit-button-hook/#post-1370093
// https://kriesi.at/support/topic/form_submit-event-not-fired-with-enfold-form/#post-1425948
// https://kriesi.at/support/topic/work-with-variables-sent-by-enfold-form-avia_process_form_data/#post-1070392
Best regards,
Ismael
Hey Yaphoon,
Thank you for the inquiry.
You can use the avia_social_share_link_arguments filter in the functions.php file to add more icons to icons to social share box. Please check the link below for more info:
// https://kriesi.at/documentation/enfold/social-share-buttons/#display-custom-social-icons-in-social-share-box
Best regards,
Ismael
Is there a way to get the enfold share buttons to appear at the top of a blog post also? Right now they only appear at the bottom. I would like them at the top and bottom.
Hi,
When I check your page on desktop the css I posted above is not applied, and this is what makes the button larger and center, so I don’t know if you have an error in your css, or if you didn’t add it because you didn’t understand, but this is the desktop part of the css that you should ensure to use:
@media only screen and (min-width: 768px) {
#top .caption_bottom .slideshow_caption .slideshow_inner_caption {
position: relative;
text-align: center;
}
#top .slideshow_inner_caption .avia-slideshow-button.avia-button {
width: 300px;
height: 100px;
font-size: 24px;
}
.html_header_transparency #top #main .caption_bottom .slideshow_caption {
padding-top: 0;
}
}
this is the result:

I now assume that you now wanted the button to move up a little, so you would then add this css:
@media only screen and (min-width: 768px) {
.slideshow_inner_caption {
top: -100px;
}
}
for this result:

feel free to adjust to suit.
Best regards,
Mike
Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
@media only screen and (min-width: 768px) {
#top .caption_bottom .slideshow_caption .slideshow_inner_caption {
position: relative;
text-align: center;
}
#top .slideshow_inner_caption .avia-slideshow-button.avia-button {
width: 300px;
height: 100px;
font-size: 24px;
}
.html_header_transparency #top #main .caption_bottom .slideshow_caption {
padding-top: 0;
}
}
@media only screen and (max-width: 767px) {
#top .caption_bottom .slideshow_caption .slideshow_inner_caption {
position: relative;
text-align: center;
}
#top .slideshow_inner_caption .avia-slideshow-button.avia-button {
padding: 10px 6px;
font-size: 10px;
}
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hi,
I was just working on another thread where a similar issue was that the sub-menu and the burger menu were still open when the browser back button was used, this is due to the browser serving a browser cached version of the page. The following javascript solved this in my tests, and while my above solution worked for the custom button issue you are having I thought that perhaps this would be a better solution for you as it will also solve the use of the browser back button, so give this a try instead of the above solutions and see if it works for you. I recommend using the WP Code plugin then add a new snippet, in the top right corner use the javascript snippet as the code type:

and add this code:
window.addEventListener('pageshow', (event) => {
if (window.matchMedia('(min-width: 990px)').matches) {
document.querySelectorAll('.sub-menu').forEach((subMenu) => {
subMenu.style.opacity = '0';
subMenu.style.visibility = 'hidden';
});
} else {
const overlay = document.querySelector('.av-burger-overlay');
if (overlay) {
overlay.style.display = 'none';
overlay.style.opacity = '0';
}
const hamburger = document.querySelector('.av-hamburger');
if (hamburger) {
hamburger.classList.remove('is-active');
}
document.documentElement.classList.remove('av-burger-overlay-active', 'av-burger-overlay-active-delayed');
}
});
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hey Bruno,
Thanks for the screenshots, I tested this on my demo site with Safari on Mac and Firefox on Windows and the sub-menu and the burger menu were open when the browser back button was used, this is due to the browser serving a browser cached version of the page. The following javascript solved this in my tests, I recommend using the WP Code plugin then add a new snippet, in the top right corner use the javascript snippet as the code type:

and add this code:
window.addEventListener('pageshow', (event) => {
if (window.matchMedia('(min-width: 990px)').matches) {
document.querySelectorAll('.sub-menu').forEach((subMenu) => {
subMenu.style.opacity = '0';
subMenu.style.visibility = 'hidden';
});
} else {
const overlay = document.querySelector('.av-burger-overlay');
if (overlay) {
overlay.style.display = 'none';
overlay.style.opacity = '0';
}
const hamburger = document.querySelector('.av-hamburger');
if (hamburger) {
hamburger.classList.remove('is-active');
}
document.documentElement.classList.remove('av-burger-overlay-active', 'av-burger-overlay-active-delayed');
}
});
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Good day,
When using the Health Demo as the basis for my homepage I have the following problem and cannot solve it.
If I select a submenu item in the Service menu (e.g. Nutrition) and then navigate back using the Safari browser’s back button, the menu is not displayed correctly. (the menu is opened and the menu sub-item of my previous selection is displayed).
This error appears on the iPAD in the Safari browser during the demo https://kriesi.at/themes/enfold-health-coach/
but also on my own homepage. I cleared the cache several times, but that didn’t solve the problem.
I know I could use the burger menu for iPAD, but I want to use the normal menu for landscape mode.
Thank you very much for your help and
With kind regards
Bruno
Hi,
When the menu is open this class is added: is-active

I don’t really understand why you are doing this, but I think it has to do with your custom button with the script onclick="window.history.back() it seems like if you didn’t use that you would not have this issue, correct?
Try using a button with a proper link.
Best regards,
Mike
Hey greg47,
Thanks for the video, the first thing that I notice is that you entered a second html & head tag ino your page with the script that ChatGPT gave you:

typically when ChatGPT gives you this it is to point out that the script goes into the head of your page, I recommend not adding this.
So it looks like you are creating a event that will click the burger menu, the check to see if the menu is open is missing the class is-active so the script will run in all cases, even if it is alread closed.
Try changing this line: var menuButton = document.querySelector('.av-hamburger.av-hamburger–spin.av-js-hamburger.av-inserted-main-menu');
to this var menuButton = document.querySelector('.av-hamburger.av-hamburger–spin.av-js-hamburger.av-inserted-main-menu.is-active');
Then it should only click the menu if it is open.
Best regards,
Mike
Hey Tanja,
You could try using the shortcodes which can be found here: https://kriesi.at/documentation/enfold/social-share-buttons/
Best regards,
Rikard
Hello,
when automatically translating pages using WPML (as defined here: https://kriesi.at/documentation/enfold/translation/#span-stylefontweight-400translate-everythingspan) Everything is automatically translated except buttons and special headings.
Once the page is translated if we enter in the advanced WPM translator, you can search the string and it appears without translation, then you can translate it manually.

How can we automatically translate all page content including av_heading heading amb buttons?
Thanks in advance.
Hi,
Thank you for the update.
Please use this css code instead:
#top .tribe-events-c-subscribe-dropdown__button-text {
display: none !important;
}
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the code and make sure to purge the cache.
Best regards,
Ismael
Hi,
I’m using the Enfold mobile menu in full screen mode.
Here’s my use case:
– I’m on my WordPress website on mobile.
– I open the menu with the burger button.
– I click on another page from the menu and navigate to it.
– I go back using the previous button.
-> Issue: The menu remains open.
I asked ChatGPT to generate some code for me. I inserted it into the page, and it works well. It automatically clicks on the burger button when I go back, closing the menu if it was open. Perfect!
However, if I change the page without opening the menu with the burger button, when I go back, it automatically clicks on the burger button and opens the menu. The opposite thing happens.
Here’s the code generated by ChatGPT that works only in the first case.
<!DOCTYPE html>
<html lang=”fr”>
<head>
<meta charset=”UTF-8″>
<title>Page avec gestion du menu</title>
<script>
window.addEventListener(‘pageshow’, function(event) {
// Vérifier si l’événement de pageshow est une traversée de l’historique
if (event.persisted) {
// Masquer le menu
var menuButton = document.querySelector(‘.av-hamburger.av-hamburger–spin.av-js-hamburger.av-inserted-main-menu’);
if (menuButton) {
menuButton.click(); // Simuler un clic sur le bouton de menu pour le masquer
}
}
});
</script>
</head>
<body>
<!– Contenu de votre page ici –>
<!– Bouton du menu (à remplacer par le sélecteur réel de votre bouton de menu) –>
<button class=”av-hamburger av-hamburger–spin av-js-hamburger av-inserted-main-menu”>Menu</button>
</body>
</html>
Can you help me ? Thank you
-
This topic was modified 1 year, 11 months ago by
greg47.
-
This topic was modified 1 year, 11 months ago by
greg47.
> a.av-av_button-60d3b58ef6e39d033d89831f5df0c979
I know that, but that can change. Copy paste the button and the “New” button is not working anymore. Whis a custom-class, the button is working everywhere with the same class name.
> see: https://pastebin.com/jT1B5XJa
> on line 758 i added that class as custom-class-button (which is added on line 764 to the wrapper element)
Thats how I do it right now. But that is only a workaround… I dont like to copy the elements to the child theme, as there is no update received with Enfold update.
Why not add a filter to all shortcodes automatically: like apply_filters(‘avia_shortcodes’,$output, $shortcode, $args); or something there everyone can modify the output befor been delivered to wordpress? Is there such a filter which I can hook in to propagate the class, which I didnt find yet?
Are you able to influence the trigger? why don’t you use a.avia-button
or would you like to differentiate which buttons were clicked? In this case, you have to use the generated unique class as a trigger for each button element. f.e. a.av-av_button-60d3b58ef6e39d033d89831f5df0c979 – you can see that on dev tools what unique class is added.
Next: you can use that custom class on the anchor element itself by having a child-theme buttons.php.
if you would like to have that solution – you only have to edit that buttons.php to add the {$meta['el_class']} to the anchor too.
see: https://pastebin.com/jT1B5XJa
on line 758 i added that class as custom-class-button (which is added on line 764 to the wrapper element)
disadvantage of this quick change: if two custom classes are assigned – only the last one receives this addendum
(if you do not know how to use child-theme alb elements – tell me – or look to https://kriesi.at/documentation/enfold/intro-to-layout-builder/#customization )
See: https://webers-testseite.de/button-class-to-anchor-tag/
–

Thenn you can use as trigger (in this case) : a.conversion-button
Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
.coupon button {
min-width: 100px;
width: 100px;
}
Best regards,
Rikard
Hi,
Thanks for your patience, this is a older thread, I don’t recognize the screenshots that you provide, but most of the threads that I have seen all use javascript to capture the click and send it to GTM, it sounds like you have this part figured out but you want to use classes instead, I would expect that using a clstom class to trigger click would work for any element, like a image, or a button, these are clickable elements. If it will only work on the link “a” tag why don’t you add “a” after your custom class like .customClass a ?
But if you would like to request a new feature, the Dev Team has opened a new Github Feature Request for users to place requests and follow them as the Dev Team reviews them.
Best regards,
Mike
Hi,
First add the custom class specialHeight to each 1/4 column that you want the button the hot pepper image to line up below the special heading.
You don’t need to add this to the third odd item or items with no button or image.
Then typically I would add the following script to the end of your child theme functions.php file in Appearance ▸ Editor, but I see that you are not using a child theme so you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:

then add this code and save.
function custom_specialHeight_script() { ?>
<script>
(function($){
$('.flex_column_table').each(function(){
var $specialHeading = $('.specialHeight .av-special-heading',this);
var specialHeadingHeight = Math.max.apply(Math, $specialHeading.map(function(){
return $(this).height();
}).get());
$specialHeading.height(specialHeadingHeight);
});
var resizeId;
window.addEventListener('resize', function() {
clearTimeout(resizeId);
resizeId = setTimeout(doneResizing, 300);
});
function doneResizing(){
location.reload();
}
})(jQuery);
</script>
<?php
}
add_action( 'wp_footer', 'custom_specialHeight_script', 99 );
I did this for you on your test site.
Best regards,
Mike