Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
It is probably not working because the menu is positioned below the header. The Enfold > Header > Header Layout > Menu and Logo Position settings should be set to Logo left, Menu right.
Best regards,
IsmaelHi,
Alright. We will close this thread for now. Please feel to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the info.
To fix the old or classic style of the events page, we had to place the tribe events css modification in the style.css file. Please check the links in the private field and please do not forget to purge the cache or do a hard refresh.
Best regards,
IsmaelJanuary 29, 2021 at 3:55 am in reply to: Homepage element not scaling properly with iPhones #1276210Hi,
only her left eye and left part of her face are showing at the far left edge of the screen.
This is the only thing that I can actually see on my end and it is quite normal because the background position is set to center right. If you want to adjust the position of the background on mobile so that the subject is more visible, you can use this css code.
#openhome { background-position: 70% 30% !important; }
I cannot reproduce the rest of the issue on a device emulation, so we might have to wait for the rest of the team so that they could check it properly.
Best regards,
IsmaelJanuary 29, 2021 at 3:46 am in reply to: Adding button to mute/unmute audio on fullscreen background video #1276209Hi,
Thank you for that info.
Do you see any errors in the browser console when you check the site on Safari? I asked the rest of the team to inspect the issue on Safari and hopefully they will find the problem and provide a working solution.
Best regards,
IsmaelHi,
Glad to know that it is working as expected now. Please feel free to open a new thread should you need anything else.
Have a nice day.
Best regards,
IsmaelHey arapps,
Thank you for the inquiry.
You can override the element in your child theme by creating a new shortcode path. Please check the following documentation for more info.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
IsmaelHey Gabster,
Thank you for the inquiry.
Try to edit the Easy Slider element and in the Styling > Slideshow Image Size settings, select the first option (No scaling, Original Width and Height) to display the original images or the actual size of the images.
Best regards,
IsmaelHey riseadmin,
Thank you for the inquiry.
Did you figure out the issue? It now stays in the current page after adding a product to the cart, instead of redirecting to the cart page.
Best regards,
IsmaelHey laboiteapixels12,
Thank you for the inquiry.
Which language would you like to translate it to? Instead of editing the file directly, try to use the Loco Translate plugin in order to translate that specific text to whichever language you want it translated.
// https://wordpress.org/plugins/loco-translate/
Best regards,
IsmaelHey ZikomoWebdesign,
Thank you for the inquiry.
Did you add the css code provided in the documentation? The css code should allow you to move the position of the elements or change their order within the header.
// https://kriesi.at/documentation/enfold/example-of-widget-left-logo-right-menu-below/#toggle-id-2
Best regards,
IsmaelJanuary 28, 2021 at 8:05 am in reply to: Would need a blog header including search function #1275997Hey Frank,
Thank you for the inquiry.
We can use the ava_after_main_container hook in the functions.php file to insert additional element above the content. Example:
add_action("ava_after_main_container", function() { // insert search element here }, 10);
You may also directly edit the header.php template to insert additional content below the header.
Best regards,
IsmaelHey Stilecatalini,
Thank you for the inquiry.
Are you referring to the parallax effect? This effect or option is actually disabled on mobile devices by default. Setting it to “fixed” instead of “parallax” might work, but this option is partially or not fully supported on iOS devices and Android browsers.
// https://caniuse.com/background-attachment
// https://stackoverflow.com/questions/21476380/background-size-on-iosBest regards,
IsmaelJanuary 28, 2021 at 7:50 am in reply to: Paralax option blows picture up while extremely wide pic doesn't fill whole wndw #1275993Hey jgooiker,
I want: a full width responsible picture that shows the whole pic
This may not be possible because different screens or devices have different aspect ratio and screen resolutions. What you can only do is to resize the image so that is has an aspect ratio and size that caters to most standard screen resolutions, but do not expect that the whole image will be visible in the section or slider area unless you want it to display distorted.
This is the list of the most popular screen resolutions used to date.
// https://gs.statcounter.com/screen-resolution-stats
As you may noticed, most popular screen resolutions have an aspect ratio of 16:9, so resizing the image to have that same aspect ratio should work.
Best regards,
IsmaelJanuary 28, 2021 at 6:09 am in reply to: Accordion Element – set "Initial Open" depending on screen size #1275969Hi,
Thank you for the update.
We cannot find the recommended script in the document or page. Did you remove it? Please add the script again so that we could check if it is actually working or if there is any error. Please make sure to copy the code directly from the forum and not from your email.
Best regards,
IsmaelHi,
Thank you for the info.
You should be able to use the avf_portfolio_cpt_args filter to adjust the existing parameters of the portfolio post type and define the capabilities. And as recommended in the article, you have to use a membership plugin such as the wordpress.org/extend/plugins/members to be able to assign custom capabilities to user roles.
// https://memberpress.com/plugins/members/docs/
Please be very careful when assigning capabilities to user roles.
Best regards,
IsmaelHi,
You have to add the pre_get_posts filter along with the previous code that we recommended and remove the slug and set the with_front parameter of the portfolio post type to false. The pre_get_posts function should alter the default query.
This is the final code, which seems to be working properly when we tested it on our installation.
/** * Remove the slug from published portfolio permalinks. Only affect our custom post type, though. */ function avf_portfolio_cpt_args_mod($args) { $args['rewrite']['slug'] = '/'; $args['rewrite']['with_front'] = false; return $args; } add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod', 10); function ava_remove_custom_slug( $post_link, $post, $leavename ) { if ( 'portfolio' != $post->post_type || 'publish' != $post->post_status ) { return $post_link; } $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link ); return $post_link; } add_filter( 'post_type_link', 'ava_remove_custom_slug', 9999, 3 ); /** * Have WordPress match postname to any of our public post types (post, page, portfolio). * All of our public post types can have /post-name/ as the slug, so they need to be unique across all posts. * By default, WordPress only accounts for posts and pages where the slug is /post-name/. * * @param $query The current query. */ function ava_add_cpt_post_names_to_main_query( $query ) { // Bail if this is not the main query. if ( ! $query->is_main_query() ) { return; } // Bail if this query doesn't match our very specific rewrite rule. if ( ! isset( $query->query['page'] ) || 2 !== count( $query->query ) ) { return; } // Bail if we're not querying based on the post name. if ( empty( $query->query['name'] ) ) { return; } // Add CPT to the list of post types WP will include when it queries based on the post name. $query->set( 'post_type', array( 'post', 'page', 'portfolio' ) ); } add_action( 'pre_get_posts', 'ava_add_cpt_post_names_to_main_query' );
Please do not forget to flush or save the permalink settings.
Best regards,
IsmaelJanuary 28, 2021 at 5:50 am in reply to: How to make the Advanced Layer Builder DEFAULT when creating a new page/post? #1275951Hi,
– Yes, the script above still works when we tested it on our end — jQuery migrate plugin is enabled, so it might be a plugin issue, a cache or because of minified/compressed scripts.
– Sorry for the confusion. I meant the upcoming versions of the theme, not the current latest version. Compatibility patches or updated functions for jQuery will be available in the next version of the theme.
– Yes, that is possible but you have to deregister the default jQuery script and register it back with the path to the version that you prefer. The following code should do just that.
function ava_modify_jquery_version() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js', false, '2.0.s'); wp_enqueue_script('jquery'); } } add_action('init', 'ava_modify_jquery_version');
Best regards,
IsmaelHi,
@luhlacom: Have you tried using an absolute URL instead of a relative path in the menu item URL field? Or just place the anchor without the page path? If you are still encountering the issue after doing the recommendations, please create a new thread and post the site details in the private field.Best regards,
IsmaelHi,
Thank you for the update.
Looks like the default avatar from Ultimate Member plugin is displaying as the profile picture instead of the actual gravatar. What happens when you disable the Ultimate Member plugin? You may need to wait for a bit after disabling the plugin before the changes will be reflected in the front end.
Or try to toggle the Ultimate Member > settings > users > turn off gravatar option.
Best regards,
IsmaelJanuary 28, 2021 at 5:28 am in reply to: Help with WP Popup. Trigger popup via ALB button click #1275939Hi,
Thank you for the info.
You just need to add the class name spu-open-1234 in the field without the class attribute or any tags. If you want to apply multiple class names, just separate them using a blank space.
spu-open-1234 spu-open-4321
Best regards,
IsmaelHi,
@HuxburyQuinn: Thank you for the info. We cannot reproduce the issue on our end, so it is possible that it is caused by a plugin or a custom modification in the theme. Did you install a plugin that has an option where you can control the visibility or status of the pages or posts?// https://wordpress.org/plugins/block-visibility/
Best regards,
IsmaelJanuary 28, 2021 at 5:23 am in reply to: sorting by category and post author for a website for writers #1275937Hi,
That is possible but you may need to alter the default query of the Masonry element and include the author parameters or arguments.
// https://developer.wordpress.org/reference/classes/wp_query/#author-parameters
To alter the query of the Masonry element, you could use the avia_masonry_entries_query filter. Usage examples can be found in the following thread.
// https://kriesi.at/support/topic/display-pictures-by-number-order/#post-1221028
// https://kriesi.at/support/topic/exclude-a-category-in-masonry-portfolio/#post-1268963
// https://kriesi.at/support/topic/show-arrows-in-easy-slider-and-full-screen-slider-but-not-dot-things/#post-1149381Best regards,
IsmaelHi,
Thank you for the info.
We set the slide type to Responsive instead of Fullsize in the Slider Settings, and adjusted the canvas height so that it is almost the same as the background image. We also set the Slider Background Image > Size to cover.
Best regards,
IsmaelHi,
Thank you for the info.
The issue seems to also occur on IE browsers version 10 and older. Would you mind posting the FTP account so that we could edit the files and debug the issue? Please place the info in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
Did you purge the cache after doing the modification? Please post the WP and FTP login details in the private field so that we could test it.
Best regards,
IsmaelHi,
You may need to disable the Responsive Images option if you want the images with different cropping position to actually display. For some reason, WP always selects the thumbnail with the default cropping position.
And to adjust the compression level, please use this snippet in the functions.php file.
// set the compression level of calculated images add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); function avf_set_quality_mod($quality) { $quality = 65; // compression level, default is 100 return $quality; }
Best regards,
IsmaelHi,
Yes, that should be possible. We could check if the ID of a particular page exists in the class attribute of the body tag, and dispatch a click event to the appropriate category. The script may look something like this..
add_action('wp_footer', 'ava_auto_click'); function ava_auto_click(){ ?> <script> (function($){ $(document).ready(function() { var body = $("body"); // checks if the body contains the class name page-id-734 if(body.is(".page-id-734")) { $('.category_sort_button').trigger('click'); } // checks if the body contains the class name page-id-721 if(body.is(".page-id-721")) { $('.another_category_sort_button').trigger('click'); } }); })(jQuery); </script> <?php }
Best regards,
IsmaelHi,
Thank you for the update.
You may need to replace all instances of $post->ID and $post_id with $the_id so..
$outlet = get_post_meta($post->ID, 'outlet', true);
.. should be.
$outlet = get_post_meta($the_id, 'outlet', true);
Best regards,
IsmaelHey Yory,
Thank you for the inquiry.
Those pages are from the Enfold 2017 demo, so you have to import that demo in order to get those pages. The actual name of the demo file is enfold-2017.xml if you would like to import it manually as described in the documentation.
You could also use the following shortcodes if you only need the elements in those pages.
custom-shop: https://wtools.io/paste-code/b3uo
The calligraphy-set product page is using the default product template or the default editor.
Best regards,
Ismael -
AuthorPosts