Forum Replies Created
-
AuthorPosts
-
July 11, 2018 at 4:24 am in reply to: FALLBACK IMAGE NOT WORKING in Fullwidth Slider with Video #983989
Hi,
That line is in the same file as the modification described in the previous thread.
Line 174 should look like this.
if(this.isMobile)Best regards,
IsmaelHi,
The entypo fontello font source file can’t be loaded because of a cross origin issue. This is why the icons don’t display properly.
Access to Font at 'https://www.edintattootravelpackages.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff' from origin 'http://bleepstudio.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bleepstudio.com' is therefore not allowed access. index.html:1 Access to Font at 'https://www.edintattootravelpackages.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf' from origin 'http://bleepstudio.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bleepstudio.com' is therefore not allowed access.Alter the url of the assets listed above or allow cross origin access.
// https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes-
Best regards,
IsmaelHi,
The delayed animation is disabled on mobile devices by default so the “animated number” animates on page load. The elements usually start to animate when they are visible in the view port. You can find the script in the js > shortcodes.js, line 643. Look for the “$.fn.avia_waypoints” function.
if(isMobile) { element.addClass('avia_start_animation').trigger('avia_start_animation'); }That line instantly triggers the animation on mobile view.
Best regards,
IsmaelHey Andrea,
Thank you for using Enfold.
Where can we see the issue? Please provide a link to a post with deep nested comments. A screenshot will help.
Best regards,
IsmaelHi,
Thanks for the update.
This script should remove the word “Incentive reis”.
function ava_custom_script_remove_word() { ?> <script> (function($) { $('.slide-entry-title.entry-title a').each( function() { var text = $(this).text(); var newtext = text.replace(/Incentive reis /g, ''); $(this).text(newtext); }); })(jQuery); </script> <?php } add_action( 'wp_footer', 'ava_custom_script_remove_word', 9999 );Best regards,
IsmaelHi,
Thank you for using Enfold.
Use this css code to have the tablet view have the same layout as the phone view.
@media only screen and (max-width: 1024px) { .responsive #top #wrap_all .av-flex-cells .no_margin { display: block; margin: 0; height: auto !important; overflow: hidden; padding-left: 8% !important; padding-right: 8% !important; } #top #wrap_all .av_header_transparency { background-color: #ffffff; color: #655f5c; border-color: #e1e1e1; } .responsive #top .av-hide-on-mobile, .responsive #top .av-hide-on-tablet { display: none !important; } }Best regards,
IsmaelJuly 11, 2018 at 3:44 am in reply to: Google Mobile Friendly Test Shows Page is Partially Loaded #983971Hi,
Awesome! Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
IsmaelHi,
Thank you for the update.
Add this code in the functions.php file.
/** * Disable button in backend if the user has manually set them to be disabled * * @since 4.3 * @added_by Kriesi */ function av_disable_button_in_backend( $shortcode ) { $key = 'av_alb_disable_'.$shortcode['shortcode']; $disabled = avia_get_option($key); if($shortcode['shortcode'] == 'av_masonry_entries') { $shortcode['disabling_allowed'] = null; } if($key == $disabled && !empty( $shortcode['disabling_allowed'] )) { $shortcode['disabled'] = array( 'condition' => true, 'text' => __( 'This element is disabled in your theme options. You can enable it in Enfold » Performance', 'avia_framework' )); } return $shortcode; } if( avia_get_option('disable_alb_elements') == "manually" ) { add_filter( 'avf_shortcode_insert_button_backend', 'av_disable_button_in_backend', 10, 1 ); }Best regards,
IsmaelHi,
Thank you for the update.
You have to modify the config-templatebuilder > avia-shortcodes > portfolio > portfolio.php file. Add this code around line 653
if ( comments_open() ) { if ( $num_comments == 0 ) { $comments = __('No Comments'); } elseif ( $num_comments > 1 ) { $comments = $num_comments . __(' Comments'); } else { $comments = __('1 Comment'); } $write_comments = '<a href="' . get_comments_link() .'">'. $comments.'</a>'; } else { $write_comments = __('Comments are off for this post.'); } $output .= "<div class='grid-entry-excerpt grid-comments entry-content' ".$write_comments."</div>";Best regards,
IsmaelHi,
Nice. It doesn’t work when you manually add a container inside a code or text block element.
Best regards,
IsmaelHi,
It must be a server related issue. You can update the theme manually via FTP.
// https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#update-via-ftp
// https://kriesi.at/archives/the-complete-guide-to-updating-enfoldBest regards,
IsmaelHi,
You should add the caption in the Edit Gallery > ATTACHMENT DETAILS > Title field. The lightbox will use the value of that attribute to display a text below the image.
Best regards,
IsmaelHi,
Thanks for the update.
Add the following css codes.
#header_main .main_menu { width: 100%; } #header_main .avia-menu { left: 50%; transform: translateX(-50%); } #top nav .social_bookmarks { position: absolute; right: 0; }Best regards,
IsmaelHi,
Thank you for the update.
Use the following css code to center align the images vertically.
#top div .avia-gallery img { left: 50%; float: none; position: absolute; display: block; top: 50%; transform: translate(-50%, -50%); } #top .avia-gallery .avia-gallery-thumb a { position: relative; }Best regards,
IsmaelHi,
Thank you for the update.
You have to reset the database before attempting another demo import. This plugin should help you reset the previous data.
// https://wordpress.org/plugins/wordpress-reset/
Best regards,
IsmaelHi,
The theme doesn’t compress the images. It just sets the quality to 100 which is why the compressed image or thumbnail has a larger file size than the source file. The default quality set by WordPress is 80.
Best regards,
IsmaelHi,
Thank you for the update.
You can try this css code to create a prev and next arrow.
.av-tab-section-outer-container:after { content: '\e879'; font-family: 'entypo-fontello'; font-size: 50px; position: absolute; top: 100px; z-index: 1000; right: 20px; } .av-tab-section-outer-container:before { content: '\e878'; font-family: 'entypo-fontello'; font-size: 50px; position: absolute; top: 100px; z-index: 1000; left: 20px; }Best regards,
IsmaelJuly 11, 2018 at 2:27 am in reply to: Featured image with the same dimension shows different thumb in blog overview #983951Hi,
Thanks for the update.
Where can I see the issue again? The thumbnails’ size are 355x116px when I checked the page.
So when/where does the cropping takes place and how can I avoid cropping?
The cropping takes place as soon as the images are uploaded. There’s also a function or script that automatically selects the appropriate size or thumbnail based on the current screen size or resolution which is why we added the filter above.
// https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/
Best regards,
IsmaelJuly 11, 2018 at 2:22 am in reply to: Remove thumbnail overlay, disable changing of big image, remove first thumbnail #983950Hi,
2.) If you need the lightbox to work, edit the config-templatebuilder > gallery > gallery.js file and then comment out or remove this block of code.
gallery.on('mouseenter','.avia-gallery-thumb a', function() { var _self = this; big_prev.attr('data-onclick', _self.getAttribute("data-onclick")); big_prev.height(big_prev.height()); big_prev.attr('href', _self.href) var newImg = _self.getAttribute("data-prev-img"), oldImg = big_prev.find('img'), oldImgSrc = oldImg.attr('src'); if(newImg != oldImgSrc) { var next_img = new Image(); next_img.src = newImg; var $next = $(next_img); if(big_prev.hasClass('avia-gallery-big-no-crop-thumb')) { $next.css({'height':big_prev.height(),'width':'auto'}); } big_prev.stop().animate({opacity:0}, function() { $next.insertAfter(oldImg); oldImg.remove(); big_prev.animate({opacity:1}); big_prev.attr('title',$(_self).attr('title')); }); } });3.) You should turn on the custom css class field so that you can apply the code to a specific gallery or element.
Best regards,
IsmaelJuly 11, 2018 at 2:11 am in reply to: Google Mobile Friendly Test Shows Page is Partially Loaded #983944Hey havi,
Thank you for using Enfold.
The theme’s shortcode scripts and stylesheets are being loaded even though they’re not present in the page. You can change that behavior in the Enfold > Performance panel. Set the “Disable Template Builder Elements” to load only used elements. You can also enable the css/js compression to optimize the page speed.
This article should help you optimize the site.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
Best regards,
IsmaelHey apremierdj,
Thank you for using Enfold.
Yes, that is possible. Just add this css code on the Quick CSS field.
.av-hotspot-container .av-image-hotspot_inner { background: transparent; border: 1px solid gray; }Best regards,
IsmaelHey Eduardo ,
Did you encounter any issues with theme? Please contact themeforest for a refund.
Best regards,
IsmaelJuly 11, 2018 at 2:00 am in reply to: Theme Home page defaulting to WordPress "Coming Soon" page #983939Hey bonbuttercup,
Thank you for using Enfold.
The theme has its own “Maintenance Mode” option. You can find that inside the same theme options panel. You don’t need to set the home or blog page in the Settings > Reading panel.
Best regards,
IsmaelHey AuroraArcus,
Thank you for using Enfold.
Use the code or text block element of the advance layout builder. You can also use hooks or filters to add the script.
// https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
// https://codex.wordpress.org/Plugin_API/Filter_Reference/the_contentBest regards,
IsmaelHey rkumar12,
Thank you for using Enfold.
The blog posts element doesn’t have a sorting function by default. You’re probably looking for the Portfolio Grid or the Masonry element. You have to set the Blog Layout > Blog Layout settings to “Use the advance layout builder…” option first.
Best regards,
IsmaelJuly 11, 2018 at 1:50 am in reply to: Color Section Background to React same way as Full Width Easy Slider [HELP] #983932Hey neverstar,
Thank you for using Enfold.
This is not possible because the height of the full width slider is based on the slider image while the height of the color section is based on the content inside, not the background image. The color section’s background will have to adjust to its content. One workaround is to apply a different background image that is specifically resized for mobile view. You can also set the background size to 100% or “contain” but it will distort the image or create white space around the container.
Best regards,
IsmaelHey Ushbot,
Thank you for using Enfold.
Where did you put the “myMap” function? Have you tried to use the theme’s map shortcode or widget?
Example:
[av_google_map height='400px' zoom='16' saturation='' hue='' zoom_control='aviaTBzoom_control' maptype_control='' maptype_id='' streetview_control='aviaTBstreetview_control' google_link='' confirm_button='Click to load Google Maps' page_link_text='Open Google Maps in a new window' google_fallback='' attachment='' attachment_size='' av_uid='av-jjgca5oe' custom_class=''] [av_gmap_location address='' postcode='' city='' state='' country='Japan' long='138.252924' lat='36.204824' marker='' imagesize='40'][/av_gmap_location] [/av_google_map]Best regards,
IsmaelHi,
Thank you for the update.
Where can we see the page with the pdf files? Did you test it on another computer or network?
Best regards,
IsmaelJuly 11, 2018 at 1:33 am in reply to: Fresh install, getting 'Saving didn't work!' error message. #983924Hey whonym,
Thank you for using Enfold.
The address leads me to a 404 page. Is that the correct address? Please check it carefully. T
The theme’s documentation should help you get started. :)
// https://kriesi.at/documentation/enfold/
Ask us here in the forum if you need further assistance.
Best regards,
Ismael -
AuthorPosts
