Forum Replies Created
-
AuthorPosts
-
Hey!
Great, glad I could help you :)
Best regards,
PeterHey!
You can change the menu color with following css code:
#top #wrap_all #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-text { color: #000; }
Did you solve the white border issue? I can’t see a white border near the cart icon.
Best regards,
PeterSeptember 24, 2018 at 2:58 pm in reply to: Change visibility of contact module dropdown list control #1013647Hi,
Great, glad I could help you :)
Best regards,
PeterHey pddcoms,
Please add this code to the child theme functions.php to remove the link titles:
function avia_footer_scripts_remove_a_titles(){ ?> <script type="text/javascript"> jQuery(document).ready(function(){ setTimeout(function(){ jQuery("a.av-masonry-entry").removeAttr("title"); }, 500); }); </script> <?php } add_action('wp_footer', 'avia_footer_scripts_remove_a_titles');
Best regards,
PeterHey Thomas-cgn,
Please create us an admin account and we’ll look into it.
Best regards,
PeterHi!
Great, glad I could help you :)Regards,
PeterHey Wisith,
I’m not familiar with the Mailchimp plug-in but you can create a popup with the mailchimp form builder: https://mailchimp.com/help/add-a-pop-up-signup-form-to-your-website/
Then add this code to your child theme functions.php:
function avia_custom_head_javascript() { ?> <script> // Fill in your MailChimp popup settings below. // These can be found in the original popup script from MailChimp. var mailchimpConfig = { baseUrl: 'mc.us8.list-manage.com', uuid: '8e6cb1cf9675fdb6769c3732e', lid: 'eea4db8087' }; // No edits below this line are required var chimpPopupLoader = document.createElement("script"); chimpPopupLoader.src = '//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js'; chimpPopupLoader.setAttribute('data-dojo-config', 'usePlainJson: true, isDebug: false'); var chimpPopup = document.createElement("script"); chimpPopup.appendChild(document.createTextNode('require(["mojo/signup-forms/Loader"], function (L) { L.start({"baseUrl": "' + mailchimpConfig.baseUrl + '", "uuid": "' + mailchimpConfig.uuid + '", "lid": "' + mailchimpConfig.lid + '"})});')); jQuery(function ($) { document.body.appendChild(chimpPopupLoader); $(window).load(function () { document.body.appendChild(chimpPopup); }); }); </script> <?php } add_action('wp_head', 'avia_custom_head_javascript');
and replace the data at the top
baseUrl: 'mc.us8.list-manage.com', uuid: '8e6cb1cf9675fdb6769c3732e', lid: 'eea4db8087'
with the data of your popup (it can be found in the code mailchimp gives you to embed the popup form).
Best regards,
PeterHi,
You forgot to assign the menus to the theme menu locations (link to the settings page is in the private content area). I now assigned the menus to locations to fix the issue but you can switch the positions or create new menus.
Best regards,
PeterHi,
Glad I could help you :)
Best regards,
PeterSeptember 24, 2018 at 2:14 pm in reply to: Event List Plugin/widget does not work with the Events Calendar plugin #1013628Hi,
Both plugins seem to be incompatible with each other – the Event list plugin causes a php error on the admin page of the calendar plugin. You can try to use the default list event widget instead: https://theeventscalendar.com/knowledgebase/configuring-the-list-widget/Best regards,
PeterSeptember 24, 2018 at 2:06 pm in reply to: concerning to resize functions and fullwidth logo #1013619Hi,
Yes the debouncedresize event is included in enfold/js/shortcodes.js:
// window resize script var $event = $.event, $special, resizeTimeout; $special = $event.special.debouncedresize = { setup: function() { $( this ).on( "resize", $special.handler ); }, teardown: function() { $( this ).off( "resize", $special.handler ); }, handler: function( event, execAsap ) { // Save the context var context = this, args = arguments, dispatch = function() { // set correct event type event.type = "debouncedresize"; $event.dispatch.apply( context, args ); }; if ( resizeTimeout ) { clearTimeout( resizeTimeout ); } execAsap ? dispatch() : resizeTimeout = setTimeout( dispatch, $special.threshold ); }, threshold: 150 };
Best regards,
PeterSeptember 24, 2018 at 2:00 pm in reply to: Change visibility of contact module dropdown list control #1013615Hi,
Please try this code:
function avia_footer_scripts_conditional_form(){ ?> <script type="text/javascript"> jQuery("#element_avia_3_1").hide(); setTimeout(function(){ jQuery("#avia_2_1").trigger('change'); }, 500); jQuery("#avia_2_1").change(function(){ if(jQuery(this).val()== "Show") { jQuery("#element_avia_3_1").show(); } else { jQuery("#element_avia_3_1").hide(); } }); </script> <?php } add_action('wp_footer', 'avia_footer_scripts_conditional_form');
Replace “Show” (without the quotes) with the value you want to use to trigger the second dropdown.
Best regards,
PeterHi,
Glad it works now :)
Best regards,
PeterHi,
I fixed it – I had to set the textdomain and file prefix in the advanced option tab.Best regards,
PeterSeptember 24, 2018 at 1:25 pm in reply to: Conditional Logo Image for URL Containing Parent Page #1013595Hey koonpete,
You would need to check the parent page of the current page and include this check in your if statements. This post on stackoverflow may help you: https://stackoverflow.com/questions/13916783/check-if-a-page-is-a-parent-or-if-its-a-child-page
Best regards,
PeterHi,
Please use this code to hide the street name + directions link:
#top .wpsl-directions, #top .wpsl-street{ display: none !important; }
Best regards,
PeterSeptember 24, 2018 at 1:13 pm in reply to: Text Block, setting outbound link, open link in new window does not work #1013586Hey gatehealing,
I fixed it – the “WP Accessibility” plugin removed the target attributes. I deactivated this feature on the settings page (link in private content) and the links now open in a new tab.
Best regards,
PeterSeptember 24, 2018 at 12:59 pm in reply to: Condensing testimonials content to a consistent grid format #1013583Hey John,
I haven’t tested it but this plugin: https://wordpress.org/plugins/read-more-without-refresh/ should help you to create a short preview version of the testimonials.
Best regards,
PeterHey StephenWard9,
I think this article will help you to add a tracking event: https://kriesi.at/documentation/enfold/contact-form/#add-on-click-event-to-the-contact-form-submit-button-
So basically add this code to your child theme functions.php:
add_filter('avf_contact_form_submit_button_attr','avia_add_submit_attributes_to_cf', 10, 3); function avia_add_submit_attributes_to_cf($att, $formID, $form_params){ $att = "onclick=\"_gaq.push(['_trackPageview', '/VP/XXX/XXX']);\""; return $att; }
and replace:
_gaq.push(['_trackPageview', '/VP/XXX/XXX']);
with your tracking event.
Best regards,
PeterHey perihelionweb,
I couldn’t log in (the standard login url redirects me to a 404 page) but you can try to replace youur code with
add_action( 'ava_before_bottom_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
to fix the issue.
Best regards,
PeterSeptember 24, 2018 at 11:30 am in reply to: Is there a way to display the Socket below a Fullscreen Slider? #1013555Hey!
Yes – use this code instead – it will only affect the homepage:
.home #socket { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100; } .home #socket .container { padding-bottom: 30px; }
Regards,
PeterSeptember 24, 2018 at 11:29 am in reply to: MailChimp : "Something went wrong, please try again." #1013554Hi,
I added following code to the child theme functions.php
add_filter('avia_mailchimp_form_args', 'avia_fix_wpml_form_issue', 10, 2); function avia_fix_wpml_form_issue($form_args, $post_id) { $form_args['action'] = site_url() . '/'; return $form_args; }
Please check if the form now works for you.
Best regards,
PeterSeptember 24, 2018 at 11:00 am in reply to: enfold contact form doesnt send mail , but contact form 7 works? #1013550Hey Joopstroop,
I tried to send an e-mail and the form didn’t output any errors on the front end (javascript errors, etc.). Please try to install the Easy SMTP plugin https://de.wordpress.org/plugins/easy-wp-smtp/ and check if this solves the issue.
Best regards,
PeterSeptember 23, 2018 at 8:18 pm in reply to: Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlage #1013406Hi,
Wir arbeiten gerade an der Implementierung der neuen Envato Update API. Diese sollte Montag oder Dienstag fertig werden und wird dann von uns getestet und ausgerollt. Bis dahin besteht nur die Möglichkeit mittels FTP zu aktualisieren ( https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#update-via-ftp ).
Liebe Grüße,
PeterSeptember 23, 2018 at 8:07 pm in reply to: In which php file must I place my Advanced Custom Fileds code? #1013400Hi,
If you’re using the advanced layout builder for your portfolio entries the portfolio templates won’t be loaded/used. As soon as the advanced layout builder is activated another special template is used which does not accept custom php code. However you can use the ACF shortode ( https://www.advancedcustomfields.com/resources/shortcode/ ) to embed your fields – I added a link to the page to the private content field. I used this code
<strong>IDH del booking engine:</strong> [acf field="idh"] <strong>Nome della convenzione/offerta:</strong> [acf field="convenzione"] <strong>Data di inizio:</strong> [acf field="data_di_inizio"] <strong>Durata della convenzione espressa in giorni: </strong> [acf field="durata"] <strong>Numero di persone:</strong> [acf field="persone"] <strong>Numero di bambini:</strong> [acf field="bambini"] <strong>Lingua della convenzione: </strong> [acf field="lingua"]
Best regards,
PeterHey rafaelusb,
I don’t think this is a theme issue – I could reproduce the problem with the standard wordpress themes too. Also someone here: https://wordpress.org/support/topic/cant-pull-up-my-site/ reported the same error. Please try to contact the plugin developers.
Best regards,
PeterHey FadingReality,
Please try this css code to resize the images
#top #wrap_all #payment ul.payment_methods li img { max-width: 50px; }
Best regards,
PeterHi,
I tried to log in but when I use the login credentials you posted above I get the error message “ERROR: Invalid email address. Lost your password?”.
Best regards,
PeterHey!
I checked the code and the issue is caused by the customized enfold-child/js/avia.js. Please make a backup of this file, then copy the new avia.ja from the parent theme folder to the enfold-child/js/ folder and modify/customize the new avia.js again.Best regards,
PeterHi!
Great, glad I could help you :)Regards,
Peter -
AuthorPosts