Hi there!
Firstly, thank you very much for your help.
I would like to create a second type of button on the front page of my website (link included below).
I have successfully created and customized my buttons in 1 default style.
However, I would like to have a second type/class of button with different font and different size of font, on the same page as the first button.
I tried hard to read the instructions here: https://kriesi.at/documentation/enfold/button/ but am sort of confused with regards to what direction I should take – add custom CSS? But am not sure where to put it.
Thank you!
Firstly : I restored the old setup, 3 days ago (FTP + mySQL), To avoid the bugs with wordpress 6.1. – No the site is stable again.
Secondly, I would migrate the ENFOLD (4.3 => last version ) , then to upgrade the WORDPRESS. (WordPress 4.8.21 ==> 6.1)
I see the weird file : function.php in child theme.. strange !
I go here : https://www.teamargon18france.eu/wp-admin/admin.php?page=avia + theme update, but it’s written : “No Updates available. You are running the latest version! (4.3)”
looks like the connexion with my last purchase doesn’t work.
there is no “UPGRADE” button available.
should I push manually the enfold files I download from themeforest using FTP, here : ?
/home/teamargoxp/www/wp-content/themes/enfold
or should I update my API key ? (currently API key is : (see in Private Content))
Hi,
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
a:where(:not(.wp-element-button)) {
text-decoration: none;
}
Lines were added in WP 6.1 and will be removed in upcoming Enfold update :)
Best regards,
Yigit
I’m using enfold child theme (5.1.2), in Settings -> Privacy and Cookies -> Cookie Handling I’ve removed one button from cookie consent bar. It works well, but when settings get exported and imported, buttons get reset and removed button is visible again. Is it a bug or I am doing something incorrectly?
Thanks for the swift response, really appreciate it.
When entering the admin panel (wordpress), it however doesn’t say Enfold in the menu any more. This seems to be because the theme is not loading, and/or because the theme is in recovery mode.
Should I press the red button to the upper right, “Exit rescue mode”?
This is what it looks like: http://www.bilddump.se/bilder/20221114132003-84.55.121.202.png
Therefor, no updates for the theme is showing: http://www.bilddump.se/bilder/20221114131714-84.55.121.202.png
I assume uploading through FTP is the only way I can do it, then?
-
This reply was modified 3 years, 3 months ago by
dolcen.
-
This reply was modified 3 years, 3 months ago by
dolcen.
Hi,
Typically you would follow our documentation and find your icon at fontello.com and then add it to your site. But Patreon is not available at fontello.com
So if you add a social icon that you don’t use and add your Patreon link to it we can use css to swap out the icon with one of these

let us know which one you like.
Best regards,
Mike
Hi,
Thanks for the clarification. I see that button when I change to the block editor, but I’m not sure what the actual problem is though. Is it that you can’t edit the page in question in the Enfold Layout Builder, or in the block editor? Please note that it’s advisable to only stick to one of the two editors, as they are not really compatible with each other.
Best regards,
Rikard
Hi Tilman,
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
/* No capitals */
.avia-toc-style-elegant a {
text-transform: none;
}
/* Font size for level 1 */
.avia-toc-style-elegant .avia-toc-level-1 {
font-size: 20px;
}
/* Font size for level 2 */
.avia-toc-style-elegant .avia-toc-level-2 {
font-size: 18px;
}
/* Style toggle button */
.toc-toggle {
background: transparent;
border: none;
font-size: 20px;
}
Then add following code to bottom of functions.php file of your child theme to add toggle button to TOC
add_action('wp_head', 'toggle_toc');
function toggle_toc(){
?>
<script>
jQuery(window).load(function(){
var $input = jQuery('<input class="toc-toggle" type="button" value="≡" />');
$input.prependTo(jQuery(".avia_auto_toc"));
jQuery( ".toc-toggle" ).click(function() {
jQuery( ".avia-toc-container" ).toggle();
});
});
</script>
<?php
}
Best regards,
Yigit
Hi Dave,
Thanks for contacting us!
Your website looks great :)
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
@media only screen and (max-width: 767px) {
.responsive #scroll-top-link {
display: block !important;
}}
For future readers: Please refer to this post – https://kriesi.at/documentation/enfold/footer/#display-scroll-to-top-button-mobile
Regards,
Yigit
Hey Dave,
Thanks for the link to your site, to show the scroll top button on mobile please add this css to Enfold Theme Options ▸ General Styling ▸ Quick CSS field
@media only screen and (max-width: 767px){
.responsive #top #scroll-top-link {
display: block;
}
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
On my Computer I have a scroll to top button at the bottom of every page, when on a mobile its gone.
Can I add this to the child theme, so I also have a scroll to top button to simplify getting to the menu on mobile devices.
I just started using WP and built my site with Enfold theme and Child, including WooCommerce
Hey AuroraArcus,
Thanks for the login to your site, to create a booking button in your footer widget we will create the button using the shortcode wand, so we will open a new post and in the block editor select the classic block and in the toolbar select the shortcode wand ▸ Button:

then the standard Advanced Layout Builder button element will open for you to design the button, after you build your button and save the button shortcode will show for you to copy to your widget:

Then go to your widgets and use the Custom HTML widget and paste the shortcode:

once you have copied the shortcode to your widget you can discard the new post that you used to create the shortcode in as it is no longer needed. Now your widget button should look like this:

So if you are happy with the button that I created you can keep it or you can follow these steps and create your own.
While I created the button I added the custom class widget-book in the element options in case you wanted to fine tune the button with some css, in my final test I found the footer link color overrides the color of the text in the button so I add this css in your Quick CSS to adjust:
#footer .widget-book a {
color:#fff;
}
so you can add any further customizations to your rule if you wish.
Best regards,
Mike
Hey Enfold-Team,
is there a possibility to add a CTA-Button only to the mobile menu?
The result should have a button like this: https://sfvoe.de/wp-content/uploads/2022/11/CTA-mobile.jpg
Thank you in advance!
Kind regards
Jonas
Hey,
Thanks for contacting us!
I added following code to Functions.php file near line 46th
// Register TikTok icon as a theme icon
function avia_add_custom_icon($icons) {
$icons['tiktokicon'] = array( 'font' =>'tiktok', 'icon' => 'ue800');
return $icons;
}
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
// Add TikTok icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons['TikTok'] = 'tiktokicon';
return $icons;
}
add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
And added following code to bottom of Quick CSS field in Enfold theme options > General Styling
#top #wrap_all .av-social-link-tiktokicon a,
#top #wrap_all .av-social-link-tiktokicon a {
color: #fff;
background-color: #FE2C55;
}
Instructions on our docs – https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options
You are currently not using a child theme, so the modification in Functions.php file will be overwritten when you update the theme. To make the changes update proof, please switch to a child theme – https://kriesi.at/documentation/enfold/child-theme/.
Please review your website :)
Best regards,
Yigit
Hi,
Thanks for contacting us!
You can refer to this post – https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options and it to theme options as image.
Enfold uses icons from Fontello and currently there is no TikTok icon on Fontello, so we are unable to add it to theme options.
If you need assistance with that, please let us know :)
Regards,
Yigit
Hello,
I’m using a iconbox and have set the the link to be “Yes, apply link to icon and title”, but i need it to be on the whole button.
I tried to use the guide “How to make icon box clickable?” on https://kriesi.at/documentation/enfold/icon-box/ but that open it on in a new tab, and i need it to open in the iframe.
I do it when i click on the play button and the title.
What should i change from the guide or do i need another solution?
Ciao Rikard. I was out for 3 days, I couldn’t check it earlier.
I’ve just connected to production, and I still cannot save it. I thought “maybe Rikard was able to save it because he connected using the user I’ve created for Kriesi”, and I tried again connecting with your user. See below the result:
https://imgur.com/GAZtX8X
Let me repeat the steps:
1) I connect here https://www.sentierigressoney.it/wp-admin/
2) I go to “Enfold Child” / “Theme Options”
3) the button “Save all changes” is enabled already (and this is strange: it is normally disabled, if there are no changes left. In staging it is disabled, indeed).
4) I click on it, I have the issue you see in the screenshot.
It is not browser related: I’ve just tried with Edge, same result. I’ve just tried with Chrome, incognito mode: same result.
In STAGING environment it is working as expected (https://staging.sentierigressoney.it/wp-admin)
Thanks for your help!
Bye,
A.-
Hi,
Thanks for enabling the site again, when I add something to the form upload button the console shows a javascript error:
Uncaught ReferenceError: fieldId is not defined in a child theme file /wp-content/themes/enfold-child/script.js
try disabling or removing this custom script as the error may be causing a conflict for the plugin.
You are also getting CORS errors on the site, try also correcting those.
Best regards,
Mike
Hi Ryan,
Thanks for giving us admin access.
It seems that the problem is more of a caching issue, I have disabled CSS File Merging And Compression in Enfold > Performance to fix this.
Also, you can change those colors in Advanced Styling, just change the colors in Menu Item Button.
Please review your site.
Best regards,
Nikko
Hey Ryan,
Please try the following in Quick CSS under Enfold->General Styling:
#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
background-color: #edae44;
color: #ffffff;
border-color: #edae44;
}
Best regards,
Rikard
here is – i think the best solution – with iframe :
(by using custom-class: iframe-popup-link )
function iframe_popup_posts() {
?>
<script type="text/javascript">
(function($){
$(window).on('load', function () {
if (top === self) {
} else {
$('#header, #footer, #socket, .sidebar').hide();
$('#main').css('padding-top', '0');
$('.container .av-content-small').css('width', '100%');
$('.content').css('border-right', 'none');
};
$('.iframe-popup-link').find('a').addClass('no-scroll');
$('.iframe-popup-link a').magnificPopup({
type:'iframe',
closeOnContentClick: false,
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'iframe_popup_posts', 999);
see again right side button: https://enfold.webers-webdesign.de/popup-posts/
as you said that ?iframe=true works – why don’t you use that to establish a f.e. button to open that page in an iframe.
Buttons do have a drop down to choose the post/page they will open.
If you gave to the button a custom-class f.e. iframe-open
function button_opens_iframe() {
?>
<script type="text/javascript">
(function($){
window.addEventListener("DOMContentLoaded", function () {
$('.iframe-open a').each(function() {
var Link = $(this).attr('href').replace(/\/$/, '');
$(this).attr('href', Link + '?iframe=true');
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'button_opens_iframe');
I can’t say that this takes very long, – but what remains is that the complete page – and not only the content is shown – but you should be able to do that with css.
https://enfold.webers-webdesign.de/popup-posts/
Hi,
I’m trying to rebuild one of my pages and it seems on latest version of Enfold new created buttons stopped properly working.
I’ve created button my page but after publishing it there is no hover effect or click effect on my buttons.I’ve configured button to go to specific page but it does act like without effect.
Can you please check why this is happening?
See private content:
Hello,
I’m just a regular participant like you, but your help request caught my eye. I visited your site on a phone, tablet, and desktop and couldn’t help but notice your mobile menu only activates on the smallest of screen sizes, which means when you view it on a tablet or turn your phone in landscape mode, your menus and logos do overlap.
To help fix this, you might consider changing the following.
From the enfold menu, Enfold>Main Menu
Under the option “Menu For For Mobile”, change the drop down menu to “SmartPhones & Tablets below 990px”
The option below that asks about Screen Mode in Landscape Mode, set that to “use current screen width”
To move the logo to the furthest point left,
Also, Enfold> Header
Under the tab that says Header Behavior, at the bottom is a button option that says “Let Logo & Menu Change to Fit Browser window” turn that ON
Making those changes should fix your issue.
I am trying to use the yith request for quote plug in, but with avia it is not visible. How can I make visible this add to quote button with Avia? it is very important to be able to use it there, because of the type of images I want to use.
I have several installations with your theme Enfold.
The feature https://kriesi.at/documentation/enfold/button/#toggle-id-7 doesn´t work.
We have one page already online – it worked, but then just didn´t work anymore.
Actually a new customer would like to use this feature the same way. I tried to add it in my homepage
and it doesn´t work, too.
Just nothing happens.
Could you pls help?
Anymore informations needed?
Hi Bernd,
CSS added in WP 6.1 targets all links that does not have “wp-element-button” class. So please add following code to bottom of Quick CSS field in Enfold theme options > General Styling
a:where(:not(.wp-element-button)) {
text-decoration: none;
}
Best regards,
Yigit
Hi,
Some CSS issues were introduced with WordPress 6.1 such as underlined links and increased margin in Masonry element.
Please add following code to Quick CSS field in Enfold theme options > General Styling tab to fix those issues
/* To fix underlined links */
a:where(:not(.wp-element-button)) {
text-decoration: none;
}
/* To fix increased margin in Masonry */
figure {
margin: 0;
}
We will include CSS fixes in upcoming Enfold update and update this post if we find more CSS issues.
Regards,
Yigit
Hey,
Thanks for contacting us!
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
a:where(:not(.wp-element-button)) {
text-decoration: none;
}
Regards,
Yigit
Hi Rikard,
Unfortunately the css-snippet isn’t a useful solution for us. Because we have much more than 100 client-websites with Enfold. And we’re facing this issue on many of this websites since the last WordPress update.
It seems, that the css-snippet
a:where(:not(.wp-element-button)) {
text-decoration:underline;
}
is placed inline by one of the javascripts. But I don’t know exactly from which JS and why.
Regards,
Bernd
-
This reply was modified 3 years, 4 months ago by
Bernd.
-
This reply was modified 3 years, 4 months ago by
Bernd.