Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
This is not a bug. The theme automatically adds or converts the “div” tag to “main” if the section is the very first element in the page. This can be found in the enfold\config-templatebuilder\avia-shortcodes\section.php around line 1334:
//this applies only for sections. other fullwidth elements dont need the container for centering if( $open_structure ) { if( ! empty( $main_container ) ) { $markup = 'main ' . avia_markup_helper( array( 'context' => 'content', 'echo' => false, 'custom_markup' => $custom_markup ) ); $avia_section_markup = 'main'; } else { $markup = 'div'; } // more code here }
Another main tag exists in the header.php file which is the outer or the main wrapper.
Best regards,
IsmaelSeptember 8, 2020 at 1:29 pm in reply to: Adjusting JPEG compression via functions.php file (works only in theme file!) #1244292Hi,
@Jay: The theme by default sets the jpeg_quality to 100%, so we don’t need to use that filter or add it again. Please remove the filter from the functions.php file if it was added previously. And we could also use the new filters avf_jpeg_quality and the avf_wp_editor_set_quality to adjust the default quality when necessary.
Example:
add_filter('avf_wp_editor_set_quality', function( $default, $quality, $mime_type) { return 80; }, 999, 3); add_filter('avf_jpeg_quality', function( $default, $quality, $context ) { return 80; }, 999, 3);
Best regards,
IsmaelHey Daniel,
Thank you for the inquiry.
A demo of the Timeline element can be found in the Elegant Portfolio demo. Please check the link below.
// https://kriesi.at/themes/enfold-elegant-portfolio/about/
Best regards,
IsmaelSeptember 8, 2020 at 1:11 pm in reply to: Help linking button to dynamic link – buddypress profile #1244283Hi,
Sorry for the delay. Yes, we should be able to apply the same button style to the anchor or link tag. Just add a unique id or class attribute to the link so that we can target it or add an external css style.
$myprofileurl = '<a class="custom-visit-button" href="'. home_url() . '/community/' . $current_user->user_login . '">Visit now</a>';
We can start with this css code.
.custom-visit-button { background-color: red; color: white; border-radius: 3px; padding: 10px; font-size: 12px; text-decoration: none; display: inline-block; border-bottom-style: solid; border-bottom-width: 1px; margin: 3px 0; line-height: 1.2em; position: relative; font-weight: normal; text-align: center; padding: 15px 30px 13px; font-size: 13px; min-width: 139px; max-width: 100%; }
Best regards,
IsmaelHi,
Yes, that’s right. The image overlay will only get added when the height of the image is more than 100px. The script is located in the js > avia.js file around line 598.
if(outerH > 100) { if(!overlay.length) { overlay = $("<span class='image-overlay "+span_class+"'><span class='image-overlay-inside'></span></span>").appendTo(link); }
Best regards,
IsmaelSeptember 8, 2020 at 12:52 pm in reply to: Latest event not showing when using "upcoming events" #1244278Hi,
Sorry for the late response. The upcoming event widget will only display the nearest event but it won’t display recurring or repeated events. This is possible, but will require modifications that are beyond the scope of support. You may need to hire a freelance developer or contact agencies such as Codeable to modify the current element or create another.
Best regards,
IsmaelSeptember 8, 2020 at 7:08 am in reply to: How to load js & css only for shortcodes that are present on the page? #1244181Hi,
Yes, using the dequeue or deregister function should disable the scripts and stylesheets if necessary. Have you tried adjusting the Performance > Disabling of template builder elements settings as suggested above?
Best regards,
IsmaelHi,
Thank you for the update.
Using this css code works on our end. This causes the screen-reader container or the div with the link to cover the column area, so when clicked it opens a lightbox. Another solution is to apply the link directly to an image, button or text.
Best regards,
IsmaelSeptember 8, 2020 at 7:03 am in reply to: Woocommerce checkout form not responsive on mobile and alignment issues #1244174Hi,
Glad it worked. Try to add a margin above the order_review container to keep it from overlapping with the heading.
#order_review { position: absolute; top: 11.5%; right: 0; margin-top: 20px; }
Best regards,
IsmaelSeptember 8, 2020 at 6:54 am in reply to: Layer Slider Sliders are not showing in String Translation #1244173Hi,
Thank you for the update.
We created a new slider (see private field), added a text layer and this text shows up in the translation editor. Please search for the “Translate this text in the translation editor ASDFGGGG” text in the string translation editor.
Did you create the sliders before installing the string translation plugin or WPML? Please note that old strings or text that were added prior to installing the extension or the plugin will not be included in the string translation editor. You may need to recreate the sliders from scratch.
Best regards,
IsmaelHi,
Thank you for the update.
The header layout was broken because the anchor or link tag in the phone field was not closed properly. We closed the tag and set the header size settings to large instead of slim. We also adjusted the css code in the Quick CSS field, and added this code to remove the default menu container.
#header_main_alternate { display: none; }
Best regards,
IsmaelHi!
Thank you for the inquiry.
Currently, the v3 option has to be enabled manually in the contact form’s security settings in order for it to work automatically in the background. And if I am not mistaken, the recaptcha badge doesn’t display because it is force out of view using css.
Cheers!
IsmaelSeptember 8, 2020 at 5:49 am in reply to: reCAPTCHA v3 Confusion with Default Enfold Contact Form Version: 4.7.6.3 #1244158Hi aribann!
Thank you for the inquiry.
The v3 script should not work if it’s not enabled in the contact form’s security settings. In the enfold\config-templatebuilder\avia-shortcodes\contact\contact.php file, you should see the following condition which checks if only the default captcha is activated or the other, and if it is set to not display any spam protection, it will not create the spam protection element or field.
$google = in_array( $captcha, array( 'recaptcha_v2', 'recaptcha_v3' ) ); if( 'active' == $captcha || ( $google && Avia_Google_reCAPTCHA()->is_loading_prohibited() ) ) { // show default captcha } else if( $google ) { // enable recaptcha }
Please make sure that the site contains the latest version of the theme, v4.7.6.3.
Regards,
IsmaelHi,
Sorry for the delay. We didn’t check or change anything in the htaccess file.
We can’t reproduce the link issue of the Portfolio Grid element in our installation. All images have links, which either means that for some reason that the site is still using the older version of the theme even though we have disabled it, or that the portfolio grid template has been modified.
Please clean up the themes folder by deleting the older version of the theme and the extra folders that are no longer in used. This is to avoid confusion and to make sure that the site is using the latest version of the theme.
Best regards,
IsmaelSeptember 8, 2020 at 5:13 am in reply to: Icons in tab section do not fully display or load on mobile #1244148Hi,
Thank you for the screenshot.
We were actually checking the icons in the tab section title, not the content. To make the icons visible or to disable its animation on mobile view, we added this code in the Quick CSS field.
@media only screen and (max-width: 1024px) { #top .av_font_icon { animation: none; opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } }
Please make sure to purge the cache before checking the page.
Best regards,
IsmaelHi,
Thank you for the update.
We disabled the cache and compression plugin temporarily, and turned off the theme’s Performance > File compression to regenerate the scripts. We also adjusted a few invalid css code in the General Styling field.
The mega menu container is now 800px in width and contains 400px columns.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like you’ve removed the whole line, which is why the front title is no longer displaying. We revert the code back and removed the esc_html function.
Best regards,
IsmaelSeptember 7, 2020 at 11:53 am in reply to: Lazy-Load Not Working on Blog, Gallery, or Portfolio Item Images #1243938Hi,
Thank you for the update.
Would you mind providing links to the site or the pages containing the blog and galleries? Please post the details in the private field so that we can check the current site layout and settings.
Best regards,
IsmaelHi,
I’ve set it to 4, because I don’t want to images to go by too slow.
Setting it to 1 should make the slider rotate faster which might make it more seamless. 1 means 1 second.
If you’d like to make it even faster, edit the themes\enfold\config-templatebuilder\avia-shortcodes\slideshow\slideshow.js and look for the _startSlideshow function around line 998:
//start autorotation _startSlideshow: function() { var self = this; this.isPlaying = true; this.slideshow = new this._timer( function() { self._navigate( 'next' ); if ( self.options.autoplay ) { self._startSlideshow(); } }, (this.options.interval * 1000)); },
Adjust the interval value manually to 100ms in this line..
(this.options.interval * 1000)
Replace it with:
100
Best regards,
IsmaelSeptember 7, 2020 at 11:42 am in reply to: Google Search Console Error: /themes/enfold/framework/avia_framework.php #1243930Hi,
Thank you for the update.
Do you see any tabs containing additional info about the error, and is it happening on a specific page? You might want to disallow the crawlers from indexing the theme files by adding a rule in the robot.txt file.
// https://kriesi.at/support/topic/errors-showing-in-google-search-console/#post-1005349
Best regards,
IsmaelHi,
Could you provide a screenshot of the anchor link? We don’t see it on Chrome. Please check the screenshot below.
Screenshot: https://imgur.com/oicAILX
Thank you for your patience.
Best regards,
IsmaelSeptember 7, 2020 at 11:22 am in reply to: Cookie Consent Message Bar Does Not Process Consent or Reload Page Properly #1243911Hi,
Unfortunately, this account still doesn’t work. We’ve tried every settings available but it doesn’t go through — login account is invalid. Please check the screenshot below.
Screenshot: https://imgur.com/CzEsDTQ
Best regards,
IsmaelSeptember 7, 2020 at 11:10 am in reply to: Icon List Items: Header Tags not rendered in output and TOC #1243903Hi,
We still can’t figure out why it’s not working in your installation. Please download a new copy of the theme from your account and try to upload it to the site again. And please post the FTP account in the private field so that we can debug the issue further or edit the files when necessary.
Best regards,
IsmaelSeptember 7, 2020 at 10:56 am in reply to: Enfold with WPML (Translation pulls up old settings of the page) #1243900Hi,
@PearlSmile: Sorry for the delay. In the new test page above, did you add any elements or content other than the text block? Please post the login details in the private field so that we could access the dashboard and test the translations. Thank you for your patience.
@jaciekeeley: Thank you for the detailed inquiry. Is it working properly when you’re using the default string translations? Please open a new thread and post the site details in the private field so that we can check the site.These documentations might help.
// https://wpml.org/documentation/theme-compatibility/enfold/#translating-pages
// https://kriesi.at/documentation/enfold/translation/#how-to-translate-pages-built-with-enfold-using-wpmlBest regards,
IsmaelSeptember 7, 2020 at 10:44 am in reply to: FAQ Accordion – Tab did not open on Link anymore #1243898Hi,
Sorry. We don’t have a static IP address. Could you maybe set the account so that it can be accessed by any IP address or from any country?
Best regards,
IsmaelHey stupaul22,
Thank you for the inquiry.
The shortcode files or templates are located in the enfold/config-templatebuilder/aviashortcodes directory and in order to include anything in the Masonry element, we have to modify the av-helper-masonry.php file. The markup for the title and excerpt starts from line 485. You can include the additional content from the plugin around that block.
$items .= "<{$heading} class='av-masonry-entry-title entry-title {$css}' {$markup}>{$the_title}</{$heading}>";
Best regards,
IsmaelSeptember 7, 2020 at 5:30 am in reply to: Home page with Layer Slider – reduce menu bar at the top #1243851Hi,
Thank you for the inquiry.
This css code should remove the top bar and adjust the height of the header as if the page has been scrolled down.
.home #header_meta { display: none !important; } .home .container.av-logo-container, .home .container.av-logo-container li, .home .container.av-logo-container li a, .home .container.av-logo-container .logo a, .home .container.av-logo-container .logo a img { height: 58px !important; max-height: 58px !important; line-height: 58px !important; } .html_header_top.html_header_topbar_active.html_header_sticky.html_large .home #main { padding-top: 90px; }
Best regards,
IsmaelHi,
Thank you the update. Please check our locations in the following page.
The size of the selected background for the header is only 300px. Please make sure to select the original size in the media library or uploader when setting the image as background.
Best regards,
IsmaelHey genno,
Thank you for the inquiry.
The whole page is already visible above the fold and there’s nothing else below, so the “back to top” button doesn’t display because it’s not needed. Could you explain the issue a bit more, or maybe provide a screenshot so that we can understand it better?
Best regards,
IsmaelHey Ramon,
Thank you for the inquiry.
Did you try the script from this thread?
// https://kriesi.at/support/topic/linking-to-an-open-tab/#post-1225309
The URL format should contain the tabsort parameter with the ID of the tab as its value. The URL should look like something like this.
http://site.com/sample-page/?tabsort=3
The selector or tab section ID in this line might have to be adjusted as well.
scrollTop: $("#av-tab-section-1").offset().top
Best regards,
Ismael -
AuthorPosts