Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
Do you still have the page where Superchrome 2020 template is based? The half of the page is missing because half of the template shortcodes are missing. Please provide a link to the actual page which the template is based on so that we can check the issue further.
Best regards,
IsmaelHi,
Sorry for the confusion and for the delay. If the script doesn’t work directly in the builder, we can create a custom shortcode that contains the adsense snipet. In the functions.php file, add this code.
function ava_insert_adsense_snippet() { $ad = <<<EOT <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-xxxxxxxxxxxxxxx" data-ad-slot="xxxxxxxxxxx" data-ad-format="auto" data-full-width-responsive="false"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> EOT; return $ad; } add_shortcode('avs_adsense_snippet', 'ava_insert_adsense_snippet');Replace the data-add attributes with your actual credentials.
Go back to the page and add a code block element, then the custom shortcode that we’ve just created.
[avs_adsense_snippet]You can also use plugins like Sitekit or AdvancedAds if you prefer more options.
// https://sitekit.withgoogle.com/
// https://wpadvancedads.com/adsense-ads/Best regards,
IsmaelHi,
The updated calendar designs option is going to be enabled by default once the plugin is updated and the issue probably occurs because this option changed the way how the templates are loaded, so the workaround is to disable the option or properly override the default-template.php file as described in the previous threads.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
Is there a staging or development version of the site where we can freely inspect the issue? As much as possible, we don’t test or debug production sites because we might accidentally bring it down. Please create a duplicate of the site on a subdomain so that we can check the issue properly. Provide the login details (WP & FTP) in the private field.
Best regards,
IsmaelHi,
The feature is still under development, so it won’t be released any time soon because of different priorities. For now, you will have to use or install external plugins that adds srcset attribute to the images automatically. Unfortunately, you might not be able to find any plugin that is completely compatible with the sliders or color sections.
// https://wordpress.org/plugins/adaptive-images/
You can actually optimize the site or the pages even without adding the srcset attribute by compressing the images and by implementing basic optimization procedures. Please check this article for more info.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
Best regards,
IsmaelHi,
Did you remove the blue line? We don’t see it in the page. Can you duplicate the page in a another so that we can check the issue? Save the content of the current page as template and create another page, then re-apply the template to it.
Best regards,
IsmaelHi,
They are actually not errors — but warnings, so they are not mandatory. It will not affect your SEO in any significant way, but those info will not be registered, so you won’t see them rendered in the search results page, but then again that’s fine because the missing info will not really help your customers identify the product.
Thank you for your patience.
Best regards,
IsmaelMay 18, 2020 at 8:49 am in reply to: avia-merged-styles css the highest priority in page loading, why? #1213941Hi,
Thank you for the update.
Did you install a cache plugin? It’s possible the compression script there excludes those stylesheets. If you can provide the WP and FTP login details, we’ll try to inspect it further.
Best regards,
IsmaelHi,
Thank you for the update.
You can actually replace the value of the second line..
$supported_post_types[] = 'clinical-studies';.. with the other custom post name or slug.
$supported_post_types[] = 'another-custom-post-type';You should end up with this.
function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'clinical-studies'; $supported_post_types[] = 'another-custom-post-type'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);Best regards,
IsmaelHi,
However, I didn’t have to do that before.
This is due to new privacy and cookie option which automatically prevent external services from loading based on the default cookie behavior. If you want to enable external services automatically on page load, you can set Privacy & Cookies > Cookie Handling > Default Cookie Behavior to always accept cookies, then edit the video and set the Advanced > Privacy Settings > Lazy Load videos to the first option. You should also mute the video if you want them to play immediately without user interaction.
Best regards,
IsmaelHi,
Please add the filter in the child theme’s functions.php file. Adding a dedicated option or toggle directly in the theme options panel is probably not necessary. And yes, the page speed tool recommends the “swap” property so that the text are immediately displayed even before the actual fonts are loaded.
Best regards,
IsmaelHi,
@Illingco: Are you referring to the form fields inside the popup container? The fields look totally aligned when we checked it.Best regards,
IsmaelHi,
Sorry for the late response. I didn’t receive the email or I probably missed it. Please send the messages here in the forum directly so that other moderators can see the thread.
Did you install a sorting plugin? Those types of plugin are not compatible with the post navigation because they alter the default query including the sorting.
Best regards,
IsmaelHey Sovik,
Thank you for the inquiry.
Are you using the advance layout builder for the products? Unfortunately, not all elements contain a product-related schema markup, so you might have to use the default editor. Or disable the default schema markup from the Enfold > Layout Builder > Automated Schema.org HTML Markup settings, then use a different plugin to generate an external schema.
// https://wordpress.org/plugins/wpsso-schema-json-ld/
Best regards,
IsmaelHi,
Thank you for the update.
Try to increase the priority number in this line from 5 to 20.
add_action( ‘woocommerce_product_thumbnails’, ‘woocommerce_output_product_data_tabs’, 5 );Best regards,
IsmaelMay 15, 2020 at 1:49 pm in reply to: Startpage / How do I make my home page image adapt to any screen format? #1213280Hi,
Thank you for the clarification.
If you want the whole image to be fully visible on different screen sizes, try to set the Styling > Background Image Background Repeat to Scale to fit. This option will resize the image just enough so that it’s visible inside the container, but this might also leave white spaces or gaps inside the color section.I didn’t notice that you’re using a slider. Have you tried using the Full Screen Slider? You have to insert additional css media queries and change the height of the slider manually if you need it to be always as tall as the browser screen — even on mobile devices.
Best regards,
Ismael-
This reply was modified 5 years, 10 months ago by
Ismael.
Hi,
We haven’t really tested any plugin of that type, so you will have to test it yourself. You can also try this plugin.
free: https://wordpress.org/plugins/agile-store-locator/
premium: https://codecanyon.net/item/woocommerce-store-locator/15762057Thank you for your patience.
Best regards,
IsmaelMay 15, 2020 at 1:37 pm in reply to: Textblöcke verlieren in Ansicht mobile (portrait) die Position #1213274Hey solf,
Thank you for the inquiry.
I have a column element (1/3 graphic) next to it (2/3 text). In mobile landscape views, the text appears under the column element
That is the default behavior of the columns on mobile devices — they stack on top of each other to create more space for the content. You can set the column containing the images to not display on mobile view (Advanced > Responsive > Mobile display), or add the images directly in the text block.
Best regards,
IsmaelHi,
Try to replace the snippet with this one.
add_filter( 'woocommerce_output_related_products_args', function( $args ) { $args = wp_parse_args( array( 'posts_per_page' => 5, 'meta_query' => array( array( 'key' => '_stock_status', 'value' => 'instock' ), array( 'key' => '_backorders', 'value' => 'no' ), ) ), $args ); return $args; });What do you mean by custom endpoint?
Best regards,
IsmaelHi,
Did you check the authorization details? We can’t access the site anymore.
Try to adjust the default size of the shop_catalog thumbnail using the Simple Image Sizes plugin.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
IsmaelMay 15, 2020 at 9:40 am in reply to: avia-merged-styles css the highest priority in page loading, why? #1213197Hey asiabchk,
Thank you for the inquiry.
If the function “merge css” in Enfold is enabled, the avia-merged-styles.css always load with the highest priority and overwrite your style in child theme style sheet.
This is not possible because the compression includes the child theme’s style.css file in the merged file, so the custom style will not get overwritten. If you want to exclude a certain css or js file from the compression, you can use the following filter.
Best regards,
IsmaelHey stent,
Thank you for the inquiry.
The page doesn’t exists anymore. Did you move the page somewhere else? Please provide a direct link to the new page and post a screenshot of the issue. You can use imgur or dropbox for the screenshot.
Best regards,
IsmaelMay 15, 2020 at 8:36 am in reply to: Bug: Setting page header to transparent & using page as footer = Extra space #1213176Hi,
Thank you for the inquiry.
We’ll forward the issue to our channel. To fix the issue temporarily, please check the following thread.
// https://kriesi.at/support/topic/using-a-site-for-the-footer-and-using-transparent-header-issue/#post-1136368
// https://kriesi.at/support/topic/bug-when-using-transparant-header-and-custom-footer/#post-1142110Best regards,
IsmaelHi,
Sorry for the delay. You can insert the title or caption like so:
$html .= '<span class="wp-caption">'.esc_html(get_the_title($v)).'</span>';Place the code right below this line:
$html .= '<img src="' . esc_url(get_the_post_thumbnail_url($v, 'thumbnail')) . '" alt="' . esc_html(get_the_title($v)) . '" />';Best regards,
IsmaelHey Gary,
Thank you for the inquiry.
This is an issue with the updated calendar designs in the plugin. To fix the issue temporarily, you can either disable the said option (Use updated calendar designs) from the Events > Settings > Display (tab) or override the default-template.php file in the child theme.
Related threads:
// https://kriesi.at/support/topic/issues-with-events-calendar-and-events-calendar-pro/#post-1186624
// https://kriesi.at/support/topic/the-events-calender-new-design-venues-organisers-featured-imageBest regards,
IsmaelHey zizibe1,
Thank you for the inquiry.
That is the expected layout because the thumbnails differ in sizes and aspect ratio, and the gallery doesn’t have a masonry-like script that automatically calculates the position of the items in the grid. If you want to align them horizontally or remove the gap between the rows, try to select a different thumbnail size in the element’s Gallery Preview Image Size settings. It is currently set to display the original source of the images or thumbnails.
Best regards,
IsmaelHi,
The video display on mobile bu the full with is gone
Sorry for the delay. You can adjust the maximum width of the container inside the color section. Please check this documentation.
// https://kriesi.at/documentation/enfold/color-section/#color-section-with-100-content-width
If it still doesn’t work the way you want it to, you should be able to use the layer slider to display background videos on mobile devices.
// https://docs.layerswp.com/doc/how-to-add-video-backgrounds-to-the-layers-slider-widget/
Don’t forget to mute the video.
Best regards,
IsmaelHi,
Sorry for the delay. You can insert additional css media query in the Quick CSS field or the child theme’s style.css file to adjust the width of the sidebar on smaller screens.
@media only screen and (max-width: 1024px) { /* Add your Mobile Styles here */ aside.sidebar.sidebar_right.alpha.units{ width: 100px!important; } }Best regards,
IsmaelHi,
We get this error from the console when we check the contact page.
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).Did you add a custom meta tag in the templates — specifically in the header.php file? The following thread might be related to this one.
// https://kriesi.at/support/topic/dataprotection-with-enfold-how-to-set-header-tags/
Best regards,
Ismael -
This reply was modified 5 years, 10 months ago by
-
AuthorPosts
