Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
Did you remove the account above? We tried to access the dashboard again using that account, but it’s not valid anymore.
We might have to add another condition to the script so that it won’t get applied on certain pages.
if($(window).width() > 1366 || ! $('body').is('.woocommerce-page, .page-id-209') ) { avia_scroll_top_menu(); }This checks if the body container contains the class names “.woocommerce-page” or “.page-id-209”. Please adjust the selectors if necessary.
Best regards,
IsmaelJuly 16, 2020 at 7:12 am in reply to: Copy/Clone slide Caption Content to div outside slider. #1230846Hi,
Yes, you’re right. I forgot to consider the initial slide. Thank you for the info.
Best regards,
IsmaelJuly 16, 2020 at 7:08 am in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1230845Hi,
We tried to modify the files via the Appearance > Editor panel but we always get an error.
Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
We might have to access the file server directly. Please post the SFTP login details in the private field.
It probably doesn’t work yet because the /js/avia-snippet-megamenu.js in the child theme is not yet registered. So to register the script, look for the av_dequeue_child_stylecss function inside the child theme’s functions.php file, then place this snippet.
wp_dequeue_script('avia-megamenu'); wp_enqueue_script('avia-megamenu', get_stylesheet_directory_uri().'/js/avia-snippet-megamenu.js', array('avia-default'), '', true);You can also create a new wp_enqueue_scripts hook if you don’t want to mix JS with the CSS files.
Thank you for your patience.
Best regards,
IsmaelJuly 16, 2020 at 6:53 am in reply to: No ReadMore or Pagination on alternative template Blog Posts #1230841Hi,
I now see that that action has also made sure that the fix for the opened blog entries also applies to the opened blog archive entries. Now everything indeed points to the real blog page in the breadcrumbs.
It’s a happy accident then. Please let us know if you need anything else.
Added remark for ReadMore issue:
Your solution for setting the WP Settings to default cannot be used, as it results in an issue with Blog Grid pagination (404s). Blog Grid page pagination only works when the WP settings are set the same as the Homepage & Blog Settings in Enfold theme. You may want to look into that.This might be due to the Blog page and Blog category having the same slug, so the server doesn’t know where to redirect the paginated pages. You may want to consider changing the name of the category.
Thank you for your patience.
Best regards,
IsmaelHi,
@Guenter said that we will be using the default srcset functions that are already available in the WP core and add it gradually starting from the Image element. There’s no ETA yet, unfortunately, but it will probably be available in the next beta release (4.7.5.1).// https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/
// https://developer.wordpress.org/reference/functions/wp_calculate_image_srcset/Thank you all for your patience.
Best regards,
IsmaelJuly 16, 2020 at 6:15 am in reply to: Text block / Differences between block-editor and classic-editor #1230831Hi,
Very sorry for the delay. Rikard said that he can see the difference between the editor but he’s not sure if this is something from the theme. It doesn’t seem like a critical issue because you can still work on the editor.
Best regards,
IsmaelHi,
Yes, you can delete those entries. The theme will just regenerate them if you decided to use the default compression again. But of course creating a backup or a restore point first is always recommended whenever you need to do something in the database.
Thank you for your patience.
Best regards,
IsmaelHey!
Thank you for that info.
As I told you before, I only added a searchform.php file in my enfold-child folder, to transform the classic search to WooCommerce search.
That is actually the problem. The script used for the AJAX search depends on the markup inside that form, so you have to revert it back to default if you want to make the AJAX search work again. Unfortunately, you can’t use both WooCommerce and the theme’s default search.
Best regards,
IsmaelHi,
Great! Glad to know that it’s working properly now. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Awesome! Glad to know that it’s working properly now. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Sorry for the confusion. Try to add snippet in the functions.php file.
function avf_custom_exec_sc_only_mod( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) { return true; } add_filter( 'avf_alb_exec_sc_only', 'avf_custom_exec_sc_only_mod', 10, 6 );This should allow the theme to execute shortcodes outside the builder.
Thank you for your patience.
Best regards,
IsmaelJuly 15, 2020 at 1:31 pm in reply to: Support for srcset also for background image in the color section #1230594Hi,
Thank you for the update.
We adjusted the script and wrap the line in back quotes. It still doesn’t work because the data-src attribute is missing from the color section container. Did you modify the section.php file as suggested previously? If you can provide the FTP account, we’ll add the modifications for you.
If you want to test it yourself, just replace the themes\enfold\config-templatebuilder\avia-shortcodes\section.php file with this..
// https://pastebin.com/0ZiZb5iE
Best regards,
IsmaelHi,
Sorry about that. We found this css code which shifts the grid wrap to the right by 16px cutting the right edge off.
.slide-entry-wrap { margin-left: 16px !important; }Did you add it? If not, you can use this css to override it.
.slide-entry-wrap { margin-left: 0!important; }Best regards,
IsmaelJuly 15, 2020 at 1:04 pm in reply to: What's the Definitive methods for Lightbox/Modal's in 2020? #1230589Hey SyberKnight,
Thank you for the inquiry.
The theme is still using the same lightbox script, so previous methods that are available in the forum or in the documentation will still work. And it will still automatically apply the script to links or images when necessary. If you want to control how the lightbox script behaves, you can re-initialize the lightbox script for a certain element, then pass your own parameters.
These are some examples available in the forum. Just search for “magnificPopup”.
// https://kriesi.at/support/topic/secundary-menu-no-modal-possible/#post-1205935
// https://kriesi.at/support/topic/pop-up-fenster/#post-1201896
// https://kriesi.at/support/topic/add-caption-in-lightbox-under-image-in-masonry-gallery/#post-1180698additionally, what do you suggest for constraining these lightboxes to dimensions we choose AND controlling scrolling both vertically & horizontally?
Unfortunately, you can only set the size of the lightbox container with css because there is no parameter given for it.
Best regards,
IsmaelHey kwlodar,
Thank you for the update.
We might be able to force the tab section to resize after clicking on the next or previous button in the forms, but we have to access the site first and check it further. The script might look something like this:
(function($) { $('.bookly-box button').on('click', function() { var tab = $(this).parents('.av-layout-tab'); var id = tab.data('av-tab-section-content'); $('.av-section-tab-title[data-av-tab-section-title="' + id + '"]').trigger('click'); }) })(jQuery);Best regards,
IsmaelHey Mike2482,
Thank you for the inquiry.
The only workaround is to make the description column to a standard column.
The theme contains a script that automatically prepends the description on every first item of the columns or sections on mobile view, because as the name says it is used to describe the content of that particular column. If that is not your intention, then you have to use the default column.
Another solution is to make the table scrollable by setting the Advanced > Responsive Styling to the second option.
Best regards,
IsmaelHey tichie,
Thank you for the inquiry.
Yes, the code above should still work — it will sort the posts based on their title. You could add it in the child theme’s functions.php file, but if there is no child theme yet, try to use this plugin.
// https://wordpress.org/plugins/insert-headers-and-footers/
Best regards,
IsmaelHi,
Glad that you’ve found a solution.
If you want to target the main container of the layer slider, the theme automatically applies a unique ID to it. This is the markup of the layer slider container.
<div id="layer_slider_1" class="avia-layerslider main_color avia-shadow avia-builder-el-0 el_before_av_section avia-builder-el-first container_wrap fullsize ls-direction-fix ls-overflow-visible" style="height: auto;"></div>The ID is #layer_slider_1.
If you want to target a slider on a specific page, just prepend the page ID selector like so:
.page-id-22 #layer_slider_1 { /* style here */ }.. where 22 is the page ID.
Best regards,
IsmaelJuly 15, 2020 at 12:05 pm in reply to: Colour section layout problem in very wide screen and h1 problem in home page #1230571Hi,
Thank you for the update.
so why when editing the page I see that long long slug?
By default, WordPress sets the default permalink or URL of the page or post based on its title. It doesn’t matter if the page is set as front or home page. If you want to change the URL, you have to edit it manually.
Best regards,
IsmaelHi,
Thank you for the inquiry.
We are having a bit of difficulty navigating the site and the WPML settings because of the language. Can we set the default language to EN temporarily? Is this a staging site?
Did you set the Translation Management > Multilingual Content Setup to “Use the translation editor” by default?
// https://www.youtube.com/watch?time_continue=31&v=fHwjObRRhN0&feature=emb_logo
Best regards,
IsmaelHey Dameon,
Thank you for the inquiry.
The items in the cross-sell field will only display in the cart page and the related products are fetch randomly based on the categories or tags of the current product. Please check the following documentation for more info.
// https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/
Cross-sells are products that you promote in the cart, based on the current product.
Best regards,
IsmaelHi,
Sorry for the delay. We get a 500 internal server error whenever we try to search for posts. Did you modify the funtions-enfold.php file before? This file contains the AJAX search function (avia_ajax_search). We also tried to implement the Relevanssi function but it’s still not working.
Please post the FTP details in the private field so that we can check the issue further.
Best regards,
IsmaelHey Black_Box1996,
Thank you for the inquiry.
Is it working correctly when the cache and compression plugins are disabled? Unfortunately, it’s not possible to restore any of the previous email messages unless an email logging plugin is already installed prior to sending those emails.
// https://wordpress.org/plugins/wp-mail-logging/
// https://wordpress.org/plugins/email-log/Best regards,
IsmaelHey!
Sorry for the delay. Did you set the video slide’s Styling > Video Display settings to the second option (stretch)? The controls are not visible when this option is enabled because as it says the theme has to stretch the video in order to cover the whole slider container and to keep any black bars from displaying. This also moves the controllers outside the slider container. Unfortunately, it’s not possible to adjust the style of the controls..
If you really need the controls to display, you have to set the Styling > Video Display to the first option.
Best regards,
IsmaelHey P3T3R_0ne,
Thank you for the inquiry.
In order to keep the design or layout of the pages consistent including the forums, the theme overrides the default forum templates. If you want to add the title to the topic or forum pages, we have to modify the includes > loop-pages.php file. You can add the title inside the header container.
echo '<header class="entry-content-header">';Start with this code.
if(bbp_is_single_topic()) { bbp_topic_title(); } if(bbp_is_single_forum()) { bbp_forum_title(); }The snippet above will only return the title without any styling. If you want to style it, try to wrap it in some html tags.
Best regards,
IsmaelJuly 14, 2020 at 8:48 am in reply to: replace the content of a shortcode with the value of shortcode attibutes #1230218Hey Rob,
Sorry for the delay. We are a bit confused about the question. What do you mean exactly by “content of a shortcode” and which “shortcode attributes”?
In the template-builder.php file, there is a filter called “avia_builder_precompile”. Maybe you can use the filter to get the builder content or shortcodes and do your modifications before returning it to the template.
Best regards,
IsmaelHey claudioaddobbatim2r2,
Thank you for the update.
Try to increase the z-index property or the stack order of the links.
.menu.av-main-nav li a{ background:transparent!important; z-index: 10000; }If the compression settings are enabled, please disable it temporarily prior to checking the page.
Best regards,
IsmaelJuly 14, 2020 at 8:31 am in reply to: background video/picture in color section – resize in mobile devices #1230210Hi,
Sorry for the delay. Background videos are disabled on mobile devices by default, which is why you’re only seeing an empty box. In place of that box, you can apply a fall back image. Please edit the color section, then go to the Styling tab and select a fall back image in the background section. However, if you really need to display videos on mobile view, you have to use the Video element instead. You can make it so that the color section is hidden on mobile devices and only display the Video element. Just toggle the visibility of the elements in the Screen Options tab.
Thank you for your patience.
Best regards,
IsmaelHi marcobe!
Thank you for the inquiry.
We have to modify the enfold\config-templatebuilder\avia-shortcodes\postslider\postslider.php file and use the get_the_tags function to fetch the tags. Look for this code around line 866:
$meta .= "<time class='slide-meta-time updated' $markup>" . get_the_time( get_option( 'date_format' ), $the_id ) . '</time>';Below you can use this function.
// https://developer.wordpress.org/reference/functions/get_the_tags/
$tags = ""; $posttags = get_the_tags($the_id); if ($posttags) { foreach($posttags as $tag) { $tags .= $tag->name . ', '; } $meta .= $tags; }Cheers!
IsmaelJuly 14, 2020 at 7:55 am in reply to: Copy/Clone slide Caption Content to div outside slider. #1230193Hi,
Thank you for the inquiry.
Looks like the slider triggers a “avia-transition-done” after every slider item fade or slides in. Maybe we can add a listener for that event and do the side effects after the transition.
$('.avia-slideshow:not(.av_fullscreen)').on("avia-transition-done", function() { // do something after slider transition });Best regards,
Ismael -
AuthorPosts
