Forum Replies Created
-
AuthorPosts
-
Hi,
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,
IsmaelHi,
The home page looks broken. Did you add any html tags inside that page? You must have forgotten to close one of those tags. Try to revert the page back to a working revision.
Best regards,
IsmaelHi,
You can try the layer slider’s background video option. Unfortunately, video background is still disable for any of the theme’s sliders or elements.
Best regards,
IsmaelHi,
Thanks for the info.
You can try this script in the functions.php file:
function tel_fix(){ ?> <script> (function() { const buttons = document.querySelectorAll('.avia-button'); buttons.forEach( button => { const link = button.getAttribute("href"); if( link.includes('tel') ) { button.setAttribute('href', link.replace("https://", "")); } }); })(); </script> <?php } add_action('wp_footer', 'tel_fix');It will just remove the https protocol.
Best regards,
IsmaelHi,
I can’t reproduce the issue on my own installation. Have you tried disabling some of your plugins? Did you modify the site’s htaccess file?
Best regards,
IsmaelNovember 23, 2018 at 5:14 pm in reply to: Image sliders does not resize image to fit within the selected dimentions #1037011Hi,
Have you tried setting a maximum height value for the slider? Example:
.avia-slideshow { max-height: 500px; }Do you have a test page that we can check?
Best regards,
IsmaelHey medienvirus,
Thank you for using Enfold.
It looks like a query for item filter. Did you install any plugins or add any scripts for that? What happens when you mark that url as solved in your google search console?
Best regards,
IsmaelNovember 23, 2018 at 4:50 pm in reply to: Youtube Videos with no infos and now follow-Up videos from others (and no contol #1036998Hey Pascal,
Thank you for using Enfold.
This thread should help:
// https://kriesi.at/support/topic/adding-parameter-to-youtube-urls
I modified the script a bit:
function youtube_fix(){ ?> <script> (function($){ $('body').on('DOMNodeInserted', function(){ $('iframe.mfp-iframe[src*="youtube.com"]').each(function() { var _src = $(this).attr("src") $(this).attr("src", _src + '&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&showinfo=0&controls=0') }); }) })(jQuery); </script> <?php } add_action('wp_footer', 'youtube_fix');Best regards,
IsmaelHey DROR,
Thank you for using Enfold.
1.) This is a screenshot of the shop page on my end.
// https://imgur.com/a/2Uz9FcT
Where are you testing it?
2.) You can decrease the size of the logo to prevent the header elements from overlapping.
@media only screen and (max-width: 767px) { .responsive #top .logo { width: 50%; } }Best regards,
IsmaelHey Maskenzauber,
Thank you for using Enfold.
You can manually create a video or an image grid using the builder’s columns. You can also use the sliders to create a media gallery.
Best regards,
IsmaelHi,
Thanks for the info. Yes, IE doesn’t support that property but it looks like you have already fixed it on that browser. This is what I get on IE:
// https://imgur.com/a/mYgxdV9
How did you fix it?
Best regards,
IsmaelNovember 23, 2018 at 11:44 am in reply to: Portfolio Masonry Element Deep Linking to Category #1036925Hi,
Thanks for the update.
Yous should append the custom_ajax query, with the post id as value, to the portfolio page url. Example:
http://imaginepreview.com/senzafine/projects?custom_ajax=961The int 961 is the id of the “Federal Election Commision” post, so you when you get to the portfolio page using that link, the script will automatically open that particular post.
Best regards,
IsmaelNovember 23, 2018 at 11:27 am in reply to: Placing back a revision, places back another post #1036919Hi,
Thanks for the update.
The site is running on an old version of the theme, 4.4.1, and it’s using the beta version of WP, so I can’t edit the post with ALB. This is fine but installation of another plugin is not allowed for the current user, so I can’t activate the Classic Editor plugin. Please upgrade the theme to version 4.5 and downgrade WP to version 4.9.8 if possible. I’ll check it again afterwards.
Best regards,
Ismael -
AuthorPosts
