Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for the update. And sorry for the late response.
This tutorial should help: https://www.w3schools.com/howto/howto_js_sticky_header.asp
What the script does is it sets the class attribute “sticky” when it reaches the element’s scroll position. That particular script is created for the “myHeader” element but you can apply it to any other elements.
Best regards,
IsmaelHi,
Thanks for the update. You can use this css code to disable the portfolio animation.
.grid-image { opacity: 1 !important; }
Best regards,
IsmaelHi,
Where are you testing it? Have you read this post? Toggling the mobile menu on hover won’t work nor it makes sense because mobile phones don’t have a hover state.
// https://kriesi.at/support/topic/opening-burger-menu-on-hover/#post-764580
Best regards,
IsmaelHi,
I would like to apologize for the late response. The login credentials are not working. Please check it carefully.
Best regards,
IsmaelHey Chris,
Thank you for using Enfold.
If you’re not using the ALB then you should render the the ACF fields in the page.php file. If ALB is active, edit the template-builder.php file. Unfortunately, you can’t create a clone of the template-builder.php file or rename it.
Best regards,
IsmaelHi,
You can increase the size of the rest of the images. I think that’s the only solution left if you don’t want to decrease the size of the “tomato” image.
Best regards,
IsmaelHi,
You can wrap the “same_category” parameter inside a conditional function like is_category or is_tax.
// https://developer.wordpress.org/reference/functions/is_tax/
// https://developer.wordpress.org/reference/functions/is_category/Best regards,
IsmaelHi,
Unfortunately, we can’t add every other options in the theme without adding unnecessary bloat, especially options that can be easily achieve with css. The performance trade off of adding a new option to change an element’s color for example, compare to a simple css color declaration in the Quick CSS field is not that reasonable.
Best regards,
IsmaelHi,
The header sticks on scroll when I use the code on my installation but it doesn’t shrink, so I adjusted it a bit. Please try it again.
Best regards,
IsmaelHi,
Thanks for the update. This should work:
add_action( 'init', 'enfold_customization_woocommerce_related' ); function enfold_customization_woocommerce_related() { remove_action('woocommerce_after_single_product', 'wrprrdisplay'); add_action('woocommerce_after_single_product_summary', 'wrprrdisplay', 20); }
Again, you can adjust the priority value. If it doesn’t work, try this:
add_action( 'init', 'enfold_customization_woocommerce_related' ); function enfold_customization_woocommerce_related() { remove_action('woocommerce_after_single_product', 'wrprrdisplay'); add_action('woocommerce_after_single_product_title', 'wrprrdisplay', 20); }
Best regards,
IsmaelHi,
Weird. Unfortunately, we can’t help any further if we can’t access the site. Please hire a freelance developer or contact our partner, Codeable.
// https://kriesi.at/contact/customization
Best regards,
IsmaelHi,
I found this code in your Quick CSS field.
@media only screen and (max-width: 767px) { .responsive #main { padding-top: 0px !important; } } @media only screen and (max-width: 767px) { .responsive #top #main { padding-top: 110px !important; } }
What it does is set the top padding of the main container to 0px and then set it back to 110px. I’m not really sure which one is actually intended.
Best regards,
IsmaelHi,
Sorry for the late response. I was away from the forum for a while. Anyway, the slide from the digital ocean site does fade in when it’s active but it doesn’t fade out when it slide out. The transition is just too fast that it looks like it’s fading out. It is possible with the slider but it will require more than some css modifications. The first css code works on my end but you can also try this:
.avia-slideshow li { opacity: 1 !important; } .avia-slideshow li:not(.active-slide) img { opacity: 0; } .avia-slideshow li.active-slide img { /* opacity: 0; */ -webkit-animation: fadein 2s; animation: fadein 2s; } @keyframes fadein { 0% {opacity: 0} 50% {opacity: 1} }
Best regards,
IsmaelDecember 3, 2018 at 3:48 am in reply to: Lighbox issue – pictures shown which do not belong to post #1040087Hi,
Sorry for the late response. Did you check the modification? He (@peter) just added this selector in the lightbox groups variable:
'.woocommerce-product-gallery',
Best regards,
IsmaelHi,
1.) You can set a slide to be an image or a video. Insert a slider, add a slide and look for the “Which type of slide is this?” settings. It’s the very first option when editing a slide, so it’s not easy to miss.
Screenshot: https://imgur.com/a/ALKQ3Rm
2.) I haven’t really tested any third party plugins but you can try Nextgen Gallery or the Envira Gallery plugins.
Best regards,
IsmaelHi,
Thanks for the update.
The script is being executed before jQuery loads, which is why it’s not working. I’ve added this code in the functions.php file to fix the issue temporarily
function ava_load_jquery_dep_script() { wp_enqueue_script( 'avia-datepicker-dummy', get_template_directory_uri() . '/js/test.js', array('jquery'), '1.0' ); wp_add_inline_script( 'avia-datepicker-dummy', 'jQuery(document).ready(function(){ jQuery(".avia_datepicker").datepicker({ beforeShow: function(input, inst) { jQuery("#ui-datepicker-div").addClass(this.id); inst.dpDiv.addClass("avia-datepicker-div"); }, showButtonPanel: true, closeText: AviaDatepickerTranslation.closeText, currentText: AviaDatepickerTranslation.currentText, nextText: AviaDatepickerTranslation.nextText, prevText: AviaDatepickerTranslation.prevText, monthNames: AviaDatepickerTranslation.monthNames, monthNamesShort: AviaDatepickerTranslation.monthNamesShort, dayName: AviaDatepickerTranslation.dayNames, dayNamesShort: AviaDatepickerTranslation.dayNamesShort, dayNamesMin: AviaDatepickerTranslation.dayNamesMin, dayNames: AviaDatepickerTranslation.dayNames, dateFormat: AviaDatepickerTranslation.dateFormat, firstDay: AviaDatepickerTranslation.firstDay, isRTL: AviaDatepickerTranslation.isRTL, changeMonth: true, changeYear: true, yearRange: "c-80:c+10" }); });' ); } add_action( 'wp_enqueue_scripts', 'ava_load_jquery_dep_script', 10 );
Best regards,
IsmaelHi,
I was away from the forum for a while. Sorry about that. Again, I couldn’t reproduce the issue consistently, so it’s quite difficult to debug. And since we’re working on a live site, we can’t do further tests without bringing it down. Do you have a staging or a dev site where we can test this? This is what I usually get when I add a product to the cart.
// https://imgur.com/a/nEUXa2Z
Best regards,
IsmaelHi,
The page is set as the main blog page, so the Enfold > Blog Layout > Blog Layout settings has to be set to “Use the advance layout builder..” so that the page loads the content of the advance layout builder, not the default blog or posts template. I have already set it to that option. Please check the blog page again.
Best regards,
IsmaelHi,
It’s working on my installation. Did you copy it from your email? Please copy it directly from this forum. Let us know if it’s still not working.
Best regards,
IsmaelHi,
Replace “woocommerce_after_single_product” with “woocommerce_after_single_product_summary” and play around with the priority value.
Best regards,
IsmaelNovember 23, 2018 at 6:17 pm in reply to: Placing back a revision, places back another post #1037045Hi,
Alright. Have you upgraded the theme on the staging site? And please use the stable version of WP.
Best regards,
IsmaelHi,
It’s not working. I just disabled it temporarily to turn the contact form send button back. You may need to search for another solution, a plugin or third party script. Have you tried using the CF7 plugin?
// https://contactform7.com/recaptcha/
Best regards,
IsmaelHi,
Have you tried using the css code above? You can adjust the max-height value as much as you’d like.
Best regards,
IsmaelHi,
Cool. Anyway, you may need to adjust it in the future because the script checks if the title attribute of the very last masonry item is undefined. I can’t find a way to select the last item with pseudo selectors while the masonry items are loading so I used the post id selector. The last item will change when you add more posts in the future.
Best regards,
IsmaelHi,
I think they disabled it because of this:
No meta boxes, even product data e.g. price, show when previewing because WP doesn’t auto save custom meta boxes.
Unfortunately, we can’t work around their modifications. You have to contact them.
Best regards,
IsmaelHi,
2.) The plugin will walk you through the steps once you installed it. If you’re a bit confuse about it, you can always refer to the W P M L documentation.
// https://wpml.org/documentation/ > Getting Started Guide
// https://wpml.org/documentation/getting-started-guide/language-setup/After the basic language setup, you have to translate or duplicate your posts/pages manually. Again, all of these things are included in the documentation.
Best regards,
IsmaelNovember 23, 2018 at 5:51 pm in reply to: Enfold 4.5 CSS – some display functions not working the same #1037027Hi,
A closing curly brace was missing on the Quick CSS field, which broke the dynamic stylesheet. It’s fixed now.
By the way, the old site is still using v4.2.2, so there may be a bit of style or option changes on the latest version. If you see anything different, just edit the element and try to reconfigure it. You may see new options (ex: Colors panel) here and there.Best regards,
Ismael -
AuthorPosts