Forum Replies Created
-
AuthorPosts
-
June 21, 2021 at 7:55 am in reply to: Openaccess and comply with European Accessibility act – Problem #1306668
Hey!
Thank you for the update.
We tried to enqueue the script by adding this code in the functions.php file but for some reason the site is not loading properly on our end.
wp_enqueue_script( 'avia-open-access', 'https://openaccessplugin.com/access.js', array( 'jquery' ), $vn, true );Would you mind checking it on your end?
Regards,
IsmaelHey Telepsy_NL,
Thank you for the inquiry.
How did you add the Active Campaign script? You might be able to combine the scripts if they are both added in the Enfold > Google Services > Google Analytics field. Enabling the analytics script via the privacy options should also enable the other.
Best regards,
IsmaelJune 21, 2021 at 7:38 am in reply to: Menu item is not displayed on the home page + different video size in microsoft #1306665Hi,
Thank you for the update.
Looks like the menu item is now displaying properly in the home page, even when we are not logged in. How did you fix it?
Best regards,
IsmaelJune 21, 2021 at 7:34 am in reply to: WooCommerce Product Catalog displayed as blog archive #1306664Hi,
Thank you for the inquiry.
You might have accidentally set the product page as blog page in the Enfold > Theme Options, or in the Settings > Reading panel. Please check the settings to make sure that the product page is not selected.
If you want to use the advance layout builder to create the content of the shop page, please check the following documentation.
// https://kriesi.at/documentation/enfold/woocommerce-shop/#custom-woocommerce-shop-overview-with-advanced-layout-editor
Best regards,
IsmaelHi,
It seems like you do not have back links according to the analysis tool because it cannot scan the builder content, but the links are there. This issue should not affect the front end and crawlers should be able to read the content of the page properly. If you are not sure if you are doing SEO correctly, you can refer to the documentation.
// https://yoast.com/tag/seo-basics/
This tool should also help.
// https://yoast.com/research/real-time-content-analysis/
The analysis tool should work fine with the default editor.
Best regards,
IsmaelHi,
We added the code in the functions.php file and selected the new font in the General Styling > Fonts. The heading layer is displaying the correct font weight now.
Screenshot: https://postimg.cc/1nv5gDZP
Best regards,
IsmaelHi,
It might not be working yet because the css files are compressed. Please toggle or temporarily disable the Enfold > Performance > File Compression settings, and make sure to purge the cache afterwards.
Thank you for your patience.
Best regards,
IsmaelHi,
Have you tried adjusting the dimension of the thumbnail? You should also add this css code to prevent the theme from stretching the featured image or to prevent it from inheriting the width of the content container.
.big-preview.single-big a img { width: auto; }Best regards,
IsmaelJune 20, 2021 at 9:33 pm in reply to: Sub Menu Element – remove bullets and add own icon (mobile with toggle switch) #1306592Hi,
Thank you for the update.
1.) We added the following css code to remove the menu indicator or the arrows.
.mega-indicator { display: none !important; }2.) And this one to remove the lines in the mobile menu.
.av_minimal_header .main_menu #mega-menu-wrap-avia #mega-menu-avia li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a { border: 0; }3.) This is not possible out of the box but you should be able to use css to change the style of the mobile menu icon. Example:
#mega-menu-wrap-avia .mega-menu-toggle .mega-toggle-block-3 .mega-toggle-animated-box::before { content: "\f411" !important; font-size: 30px; top: -20px; position: relative; } .mega-toggle-animated-inner { display: none !important; }Best regards,
IsmaelHi,
Would you mind removing the previous script that we recommended previously? We would like to test it again without the script. Maybe we could come up with a solution without altering the order of the elements in the checkout container. And please post the login details in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
You have to add the code in the functions.php file, and replace “block” with “swap”. Look for this line..
return "block";.. and replace it with:
return "swap";You do not have to change the name of the font. If it is not working, try to use “block” again.
Best regards,
IsmaelHi,
How did you add the analytics snippet? The privacy option cannot block the script because the tracking snippet was not added in the Enfold > Google Services > Google Analytics field. You have to add the code in that field.
Best regards,
IsmaelHi,
It is probably code related as it seems to work randomly with the current videos. We actually left only mp4 videos in the test slider to check if there is a problem with the other format, but the issue persists. Maybe an issue with the layer slider transition. It might work correctly with Slider Revolution, but it is not included in the theme by default.
Best regards,
IsmaelHi,
Glad to know that it is now working.
To select a default category, you can add this code above the other line with the trigger function.
$("name_of_category_sort_button").trigger("click");Just replace the placeholder with the actual name.
Best regards,
IsmaelJune 20, 2021 at 8:59 pm in reply to: Not getting the smooth scrolling on One Page Demo when clicking menu items. #1306582Hi,
@madsonic: Unfortunately, we cannot figure out why the scrolling is not working on some installations, while it works fine on others. It also works properly in the actual demo and in our local installation. If you do not want to install the plugin, deactivate it and add this code in the functions.php file instead.// include custom jQuery version function ava_include_custom_jquery() { wp_deregister_script('jquery'); wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', array(), null, true); } add_action('wp_enqueue_scripts', 'ava_include_custom_jquery');Best regards,
IsmaelHi,
Have you tried disallowing folders inside the /wp-content/themes/enfold/framework/php/ directory as suggested above? You can disallow most of the folders and files in that folder. All files and folders that have nothing to do with the front end can be disabled or disallowed in the robot.txt file.
Example:
Allow: / Disallow: /wp-admin/ Disallow: /wp-content/plugins/ Disallow: /wp-content/themes/enfold/framework/php/auto-updates Disallow: /wp-content/themes/enfold/framework/php/avia_shortcodes Disallow: /wp-content/themes/enfold/framework/php/avia_shortcodes Disallow: /wp-content/themes/enfold/framework/php/legacy Disallow: /wp-content/themes/enfold/config-templatebuilder/avia-template-builder Disallow: /feed/ Disallow: */feed/Best regards,
IsmaelHi,
Thank you for the screenshots.
Have you tried setting the background-attachment to “scroll” on mobile view?
@media only screen and (max-width: 989px) { .avia-bg-style-fixed { background-attachment: scroll !important; } }This is how the background should look when set to “scroll”.
Screenshot: https://imgur.com/dbUFKtn
Best regards,
IsmaelHi,
Great! Glad to know that it worked. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Try to add an angled bracket right before the “a” selector, or just replaced the css code with this.
.bellows-submenu > .bellows-active.bellows-menu-item > a { color: #ba659b !important; }Best regards,
IsmaelHi,
A lot of the buttons in the theme just contain a link without any event listener or is not dynamically controlled by a script. If you can give us an example of an element where this needs to be implemented, we could possibly give you a hint where the changes should be done.
Would you mind giving us a link to the WCAG documentation where this particular case is discussed?
Best regards,
IsmaelHi,
the cropping option for registered thumbnails
The theme uses the following function to generate other versions or thumbnails of an image. One of the parameters is called “crop”, which tells WordPress to crop or scale the image.
// https://developer.wordpress.org/reference/functions/add_image_size/
Yes, the theme relies on those thumbnail names. You may need to regenerate the thumbnails or the images if you did something in the database.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelHi,
Thank you for following up.
This css code should hide the controls initially and only display them on hover.
#player .vp-controls { opacity: 0; } #player:hover .vp-controls { opacity: 1; }Best regards,
IsmaelHi,
You can use this css code to remove the spinning loader.
.av-siteloader-extra { display: none !important; }And you can open another thread here.
// https://kriesi.at/support/forum/enfold/#new-post
Best regards,
IsmaelHi,
Thank you for following up.
Based on the screenshot, some of the characters in the code were converted or encoded, which is why the code is not working correctly. Please make sure to copy the code directly from the forum, and not from your email.
Best regards,
IsmaelHi,
These images are all stored in masonry galleries,
How do you store the images in the masonry galleries? Where can we see the masonry galleries? This just makes this all the more confusing. In the portfolio-test page above, we only see the plugin gallery, but no masonry gallery, so we cannot understand the connection between the plugin’s gallery and the masonry galleries.
If you want to extract the ids of the images from a masonry element, you can parse the shortcode and get the value of th ids parameter. This is an example of masonry shortcode.
[av_masonry_gallery ids='357,356,355,354,353' caption_elements='title excerpt' caption_styling='' caption_display='always' size='flex' orientation='' gap='large' columns='flexible' av-medium-columns='' av-small-columns='' av-mini-columns='' items='24' paginate='none' color='' custom_bg='' overlay_fx='active' animation='active' container_links='active' link_dest='' lightbox_text='' lazy_loading='disabled' id='' custom_class='' template_class='' av_uid='av-kq1y46dy' sc_version='1.0']This is the part that you should extract to get the id of the images.
ids='357,356,355,354,353'I will forward the issue to our channel. Maybe someone else will better understand what you are trying to do.
Best regards,
IsmaelHi,
We inspect the shortcode in the debug field but the contact form shortcode is not there, only the 1/3 column, which is quite odd. The contact form persists in the front end even after updating the page.
[av_one_third av_uid='av-3sa62'][/av_one_third]Have you tried recreating this particular page from scratch? Please delete the page completely, move it to the trash, then rebuild it from the start.
Best regards,
IsmaelJune 17, 2021 at 1:29 pm in reply to: Cannot add images to enfold gallery / masonry gallery #1306179Hi,
Thank you for the screencast.
Looks like the issue only happens when the gallery is edited or when you try to add more items to it for the first time. The error does not occur after the first attempt. We were able to edit the gallery and add more images to it. Unfortunately, we are not yet sure why this error occurs.
Best regards,
IsmaelHi,
We tried to login to the site using the previous credentials but they are not working anymore. Please create a new thread and post the details again in the private field.
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHi,
Thank you for the inquiry.
Are you trying to remove the default widgets in the sidebar? Try to add this filter in the functions.php file.
add_filter( 'avf_show_default_sidebars', '__return_false', 10, 1);Best regards,
Ismael -
AuthorPosts
