Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
Yes, you can do the modifications in the child theme, but you have to include the gallery shortcode file (.php) or template. In the php file, look for the extra_assets function.
function extra_assets() { //load css wp_enqueue_style( 'avia-module-gallery', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/gallery/gallery.css', array( 'avia-layout' ), false ); wp_enqueue_script( 'avia-module-gallery', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/gallery/gallery.js', array( 'avia-shortcodes' ), false, true ); }Change the path of the js script in the wp_enqueue_script function. However, first you have to create a new shortcode path in the child theme so that you can override the existing shortcodes or create new ones. Please check this documentation for more info.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/
Best regards,
IsmaelHi,
The block editor is in full screen mode, which is why you don’t see the left menu. You should disable the option if you want to see the dashboard menu again. You can also disable the block editor completely and revert back to the classic editor by selecting the editor from the Enfold > Theme Options, or by installing the Classic Editor plugin.
Thank you for your patience.
Best regards,
IsmaelHi,
Did you set the column to have an equal height? The modification doesn’t work because you’re trying to apply the css to the columns inside the flex_column_table element. You have to apply it directly to the flex_column_table element.
Or try to use this css code instead.
.page-id-1806 .post-entry-1806 .entry-content-wrapper.clearfix { display: flex; flex-direction: column-reverse; flex-wrap: nowrap; }Best regards,
IsmaelHi,
Thank you for info.
Where can we see the issue again? We checked the test page containing the forum index and it seems to be working properly. (see private field)
Best regards,
IsmaelHi,
In the footer.php file, look for the following lines of code (21 & 247).
line 21:
//get link to previous and next post/portfolio entry $avia_post_nav = avia_post_nav();line: 247:
//display link to previous and next portfolio entry echo $avia_post_nav;Extract those lines from the file, combine them and place them in the loop-index.php file. Please create a new thread if you need more assistance. We’ll close this one for now.
Best regards,
IsmaelMay 29, 2020 at 9:01 am in reply to: Blog archive with white background preview text and dissapearing icons in footer #1217612Hi,
Did you try the css code or media query above? It should adjust the style of the single post page on mobile view.
We don’t really see the alignment issue on our end. Please provide a screenshot.
Best regards,
IsmaelHi,
Thank you for the info.
Looks like we disabled the option with css. Please try to add this css code in the functions.php file to display the title field.
function ava_admin_css_mod() { echo '<style> .avia_mega_active.menu-item-depth-2 .description-title { display: block; } </style>'; } add_action('admin_head', 'ava_admin_css_mod');Best regards,
IsmaelHi,
Thank you for the info and guidelines.
The css code should work as long as the column is set to 1. To add more priority to it, try to add the !important rule beside the width value.
div .shop_columns_1 .products .product { width: 100% !important; }Best regards,
IsmaelHi,
Yes, you have to get a new copy of the contact.php file from the parent theme and add the modifications again manually. We created a test page with the contact form and enabled the spam protection from the Content > Security toggle. (see private field)
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
Did you try this step?
// https://kriesi.at/support/topic/issues-with-events-calendar-and-events-calendar-pro/#post-1186624
The default callback for the tribe_events_template hook will not work if the new calendar design is enabled. You can either disable the updated calendar designs from Events > Settings > Display (tab), or follow the instruction above and manually override the default-template.php file.
Best regards,
IsmaelMay 29, 2020 at 8:29 am in reply to: Image isn't showing on mobile.. and the columns align when they shouldn't #1217606Hi,
Thank you for the update.
Try to apply the margin directly to the image element instead of the column. Edit the image element, define a unique class name like “custom-image-class” in the Advanced panel, then use this css code to pull the image upwards.
.custom-image-class { margin-top: -100px; }Best regards,
IsmaelHi,
Thank you for the update.
Did you set jQuery to load in the footer? We found this error in the Chrome console..
Uncaught TypeError: $ is not a function at <anonymous>:1:1 at gtm.js?id=GTM-NHH6HM8:695.. which is generated from this script:
$(function() { $("div.av-horizontal-gallery-wrap").click(function() { dataLayer.push({ event: "generic-event", "event-category": "Slider", "event-action": "Klick auf Thumbnail", "event-label": $(this).index() + ": " + $(this).find("img").attr("title"), "event-value": 10 }) }); $("a.av-horizontal-gallery-next").click(function() { dataLayer.push({ event: "generic-event", "event-category": "Slider", "event-action": "Klick auf Control", "event-label": "Next", "event-value": 10 }) }); $("a.av-horizontal-gallery-prev").click(function() { dataLayer.push({ event: "generic-event", "event-category": "Slider", "event-action": "Klick auf Control", "event-label": "Prev", "event-value": 10 }) }) });Where did you add the script? Please try to disable the jQuery in footer option from the Enfold > Performance panel.
Best regards,
IsmaelHi,
Thank you for the info.
We edited the tribe template and move the page content inside the container_wrap element or div.
<div class='container_wrap container_wrap_first main_color fullsize'> <?php $post = get_post(3790); $content = Avia_Builder()->compile_post_content( $post ); echo $content; ?>It is working properly now.
Best regards,
IsmaelMay 29, 2020 at 8:01 am in reply to: Logo rutscht in Microsoft Edge nach links hinter das Menü #1217602Hi,
Thank you for the update.
Try to replace the css code with this one.
.avia-msie .logo a { float: right !important; max-width: 355px; }On IE, the logo doesn’t float to the right because its width is the same as its parent container.
Best regards,
IsmaelHi,
We’ll forward the request to our channel for further considerations. Thank you for the info.
Best regards,
IsmaelHi,
I’m not sure how you can have different priorities to something so core in a modern web
We understand your concern, but the feature probably doesn’t get that much attention because we noticed that it’s still possible to have a fully optimized site even without adding the srcset attribute to the templates — please check the article above and scroll to the image optimization section. It’s an old article but the suggestions there should still work.
There are also available plugins out there that offers the same functionality or better, so it makes much more sense to allocate the development time to more significant features that will actually add more value to the theme and for the users.
Thank you for understanding.
Best regards,
IsmaelHi,
Thank you for the inquiry.
You should be able to align the text with the image by using this css code.
#top .fullsize .template-blog .post .entry-content-wrapper { max-width: 800px; margin: 0; }Please add it in the Quick CSS field or the child theme’s style.css file.
Best regards,
IsmaelMay 27, 2020 at 5:12 pm in reply to: Blog entry does look weird when using Avia Layout Architect #1217046Hi,
Thank you for the update.
Are you using the Advance Layout Builder (ALB) for your posts? Please note that default elements such as the date, title or categories will not display automatically when ALB is enabled. You have to switch to the default editor if you want those info to render or display automatically.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the images are stacking on top of each other or are not positioning correctly. Please try to add this script in the functions.php file to force the items to reposition while they are loading.
add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('resize'); $(window).trigger('debouncedresize'); }, 2000); $(window).on('load', function() { setTimeout( function() { clearInterval(int); }, 2000); }); })(jQuery); </script> <?php }Best regards,
IsmaelHey mai,
Thank you for the inquiry.
Looks like a script to prevent spam or fraud, so it’s possible that the scripts were added by WordFence. Do you see these scripts when the security plugin is disabled?
Best regards,
IsmaelHi,
Thank you for the inquiry.
Try to use this snippet in the functions.php file to change the thumbnail used in the portfolio preview or the gallery element.
add_action( 'avf_portfolio_preview_template_params', 'avf_portfolio_preview_template_params_mod', 10, 2 ); function avf_portfolio_preview_template_params_mod($params, $entry) { if($params['method'] == 'slideshow') { $params['preview_size'] = 'no scaling'; } if($params['method'] == 'gallery') { $params['preview_size'] = 'no scaling'; } return $params; }Let us know if it helps.
Best regards,
IsmaelHi,
@adamsml: Thank you for opening a new thread. We’ll close this one for now. Please continue on the new thread.Best regards,
IsmaelHi,
Thank you for the inquiry.
The Enfold theme option setting for the blog overview page is non-existent when switching to 2nd langage in the top bar.
Did you select a front page in the second language? The blog overview page settings will not display if the front page is not set. You should also reset the Settings > Reading panel to default and define the front and blog page in the Theme Options.
Best regards,
IsmaelHey abeldb,
Thank you for the inquiry.
Try to append the output to the the_title key — find this line..
$key['text_after'] .= trim( $output );.., then replace it with:
$key['the_title '] .= trim( $output );Let us know if that helps.
Best regards,
IsmaelHi,
Thank you for the inquiry.
The edit should not break the page or video because it only enables the audio. However, please note that media files will not automatically play on page load if audio is enabled. You really have to mute the video if you want it to play automatically.
Chrome’s autoplay policies are simple:
Muted autoplay is always allowed.
Autoplay with sound is allowed if:
User has interacted with the domain (click, tap, etc.).
On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound.
The user has added the site to their home screen on mobile or installed the PWA on desktop.
Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.// https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Best regards,
IsmaelHi,
We can’t really see the page without logging in because it contains restricted content. Please provide a user account in the private field so that we can check the issue.
Thank you for your patience.
Best regards,
IsmaelMay 27, 2020 at 3:41 pm in reply to: Enfold Fatal Error only in Customize w/ Hummingbird page cache, many sites! #1216994Hi!
We added a conditional check to the gutenberg class to prevent the function from executing if it doesn’t exists. Please try to replace the config-gutenberg/class-avia-gutenberg.php with the following file.
Best regards,
IsmaelHey adamsml,
Thank you for the inquiry.
Is this the guideline that you’re trying to follow?
// https://dequeuniversity.com/rules/axe/3.2/region
According to the documentation, we can use the role attribute to define the landmarks.
There is div element with the id main in the header.php file. This element contains every sections and content in the page, so maybe we should apply the role attribute to it to make it the main landmark or container.
<div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'>You can then edit the page.php file, and replace this line.
<main class='template-page content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>.. with:
<div class='template-page content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>Don’t forget to look for the closing main tag around line 38:
<!--end content--> </main>Replace it with div.
Best regards,
IsmaelHey GeoffreyTMoore,
Thank you for the inquiry.
That is the default layout or look of the portfolio items on mobile view. Hover state doesn’t exists on touch devices, so we have to display the caption by default. We can remove the overlay if you want.
@media only screen and (max-width: 767px) { .av-inner-masonry-content.site-background { display: none; } }Best regards,
IsmaelHey Kevin,
Thank you for the inquiry.
You can try this snippet to check for the current page ID and redirect accordingly.
function so16165211_mobile_home_redirect(){ global $post; $redirect = false; if ( is_front_page() ) { $redirect = '/home-mobile'; } switch ($post->ID) { case 13: $redirect = '/about-mobile'; break; case 4: $redirect = '/contact-mobile'; break; case 31: $redirect = '/shop-mobile'; break; default: } if ( wp_is_mobile() && $redirect ) { wp_redirect( $redirect ); exit; } } add_action( 'template_redirect', 'so16165211_mobile_home_redirect' );Don’t forget to replace the value or use the actual ID of the pages in the switch statement.
Best regards,
Ismael -
AuthorPosts
