Forum Replies Created
-
AuthorPosts
-
Hi,
It’s not really recommended to embed text in the featured images and it’s also quite redundant in your case because the text is the same as the post title. You should remove the embedded text or make sure that the size of the images are the same.
You can also set the Blog Posts element to use the uncropped version of the featured image in the Styling > Appearance > Preview Image Size settings. Select the second option and select “No Scaling” from the “Select custom preview image size” dropdown.
Best regards,
IsmaelHi,
Sorry for the delay. Can you give us a screenshot of the image that is supposed to display on the About page?
This what we currently see on our end.
Screenshot: https://imgur.com/a/J7cTcaG
Best regards,
IsmaelHi,
Did you define the expiration or cache duration of the site resources in the .htaccess file? This documentation should help.
// https://gtmetrix.com/leverage-browser-caching.html
Example of cache expiry config.
<IfModule mod_expires.c> ExpiresActive On # Images ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/x-icon "access plus 1 year" # Video ExpiresByType video/mp4 "access plus 1 year" ExpiresByType video/mpeg "access plus 1 year" # CSS, JavaScript ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" # Others ExpiresByType application/pdf "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" </IfModule>Best regards,
IsmaelJune 9, 2020 at 10:05 am in reply to: Replace the icon on "Scroll to Top" with HTML Character #1220802Hi,
The icon font is used by the theme in the back (e.g builder elements, theme options) and front end as @Terve mentioned previously, so you can’t disable it without breaking some layouts. You should try and focus on other areas of the site that requires optimization like images, stylesheets and scripts.
Best regards,
IsmaelHi,
You can actually define additional custom cookies in the Enfold > Privacy > Cookie Handling > Advanced Options > Additional Custom Cookies section. Add the cookie name and the cookie path, then you’ll be able to use the following shortcode inside the privacy policy page or the privacy modal popup window to create a toggle and allow your users to disable or enable the custom cookies when necessary.
[av_privacy_custom_cookie cookie_name=""] [av_privacy_custom_cookie cookie_name=""]Your text here[/av_privacy_custom_cookie]If the name of the cookie is “security-cookie” for example, then the modified shortcode will look something like this.
[av_privacy_custom_cookie cookie_name="security-cookie"] [av_privacy_custom_cookie cookie_name="security-cookie"]Toggle Security Cookie[/av_privacy_custom_cookie]Best regards,
IsmaelHi,
Thank you for the info.
For the masonry gallery, you can use this css code.
@media only screen and (max-width: 1024px) { .av-inner-masonry-content { display: none !important; } }Please don’t forget to toggle the Performance > File Compression settings after adding the code, or just disable it temporarily while you’re building the site.
Best regards,
IsmaelJune 9, 2020 at 9:23 am in reply to: Change single product image on hover with gallery first image #1220783Hi,
You can copy the whole avia_woocommerce_product_elements function in the child theme, rename the function and do your own modifications.
remove_filter( 'avf_builder_elements', 'avia_woocommerce_product_elements', 500, 1 ); add_filter( 'avf_builder_elements', 'avia_woocommerce_product_elements_mod', 500, 1 ); function avia_woocommerce_product_elements_mod( $elements ) { $posttype = avia_backend_get_post_type(); if( ! empty( $posttype ) && $posttype == 'product' ) { $elements[] = array("slug" => "avia_product_hover", "name" => "Hover effect on <strong>Overview Pages</strong>", "desc" => "Do you want to display a hover effect on overview pages and replace the default thumbnail with the first image of the gallery?", "id" => "_product_hover", "type" => "select", "std" => "", "class" => "avia-style", "subtype" => array("Yes - show first gallery image on hover" => 'hover_active', "No hover effect" => '')); $counter = 0; foreach( $elements as $element ) { if( $element['id'] == 'sidebar' ) { $elements[ $counter ]['required'] = ''; } else if( $element['id'] == 'layout' ) { $elements[ $counter ]['builder_active'] = true; // unset($elements[$counter]); } $counter++; } } return $elements; }Best regards,
IsmaeleHi!
There was a minor syntax error in the above filter but we corrected it now. Please try to add it again in the functions.php file. If it’s still not working, then you can keep your extra modification in the section.php file and it should work just fine.
Regards,
IsmaelHi,
The page will only display the number of posts set in the blog settings. You can adjust it by editing the Blog Posts’ Styling > Pagination > Post Number settings or by adjusting the value of the Blog pages show at most field in the Settings > Reading panel.
You can also create a custom page, add the Blog Posts element and set it to display all posts. You may need to create a custom link or button to redirect to that custom page.
Best regards,
IsmaelJune 9, 2020 at 9:04 am in reply to: Missing Layerslider text strings in WPML's String Translation #1220771Hi,
Yes, it matters. The string translation management has to be installed first before creating the sliders. To test it, we created a new slider and added a text layer to it. This text is now registered in the string translation management. (see private field)
Unfortunately, we are not really sure if you can manually register the text inside the existing sliders. If not, you will have to re-create them from scratch. For additional assistance, please contact the plugin developers.
Best regards,
IsmaelJune 9, 2020 at 8:43 am in reply to: bbpress 2.6 breadcrumb + Enfold produces empty itemprop=name on last item #1220756Hi,
Did you install a plugin that adds schema markup to the templates? We inspected the wplugins\bbpress\includes\common\template.php, which contains the breadcrumb markup, but we didn’t find the span tag with the itemprop attribute.
<span itemprop="name"></span>This is the the whole bbp-breadcrumb-current markup.
'include_current' => $pre_include_current, 'current_text' => $pre_current_text, 'current_before' => '<span class="bbp-breadcrumb-current">', 'current_after' => '</span>',Best regards,
IsmaelHi,
We will forward the issue to our channel. For now, you can use the css code that @Hokuspocus suggested above.
#top .flex_column_table {margin-top:0 !important;}Best regards,
IsmaelJune 9, 2020 at 7:58 am in reply to: Blog entry does look weird when using Avia Layout Architect #1220739Hi,
1.) Are you using the sc_post_category shortcode? If you are, then edit the functions.php file and look for this code around line 79:
$separator = ' ';Add the character that you want to use a separator as the value of that variable.
2.) For the keywords or tags, all you need is a copy of post_category_shortcode and replace the get_the_category with get_the_tags function.
/*Shortcode nur für "alle Tag" in Blogbeiträgen mit dem Avia Layout Builder*/ function post_tags_shortcode() { global $post; $tags = get_the_tags($post->ID); $separator = ' '; $output = ''; if (!empty($tags)) { foreach ($tags as $tag) { $output .= '<a href="' . esc_url(get_tag_link($tag->term_id)) . '" alt="' . esc_attr(sprintf(__('View all posts in %s', 'textdomain'), $tag->name)) . '">' . esc_html($tag->name) . '</a>' . $separator; } } return trim($output, $separator); } add_shortcode('sc_tag_category', 'post_tags_shortcode'); You can now use the [sc_tag_category] shortcode to display the tags inside the post.Thank you for your patience.
Best regards,
IsmaelHi,
Sorry for the delay. Have you tried using “community” as the value of the Topic – Used to prefix topic root slugs field same as we did in the Forum Single Slug field? This documentation might help.
// https://codex.bbpress.org/getting-started/configuring-bbpress/forum-settings/
Best regards,
IsmaelHi,
Sorry for the delay. This is what we get when we visit the site.
Screenshot: https://imgur.com/a/EPcEZhe
Please contact your hosting provider and ask them for help in configuring the server properly.
Best regards,
IsmaelHi,
Thank you for the update.
We can’t seem to reproduce the issue on our end. Would you be able to provide a screenshot?
Have you tried setting a minimum height to the images so that they don’t get distorted on initial load?
Best regards,
IsmaelHi,
Thank you for the update.
We are able to reproduce the issue on MS Edge and found this error which seems to be related to the stripe gateway module or plugin.
HTTP403: FORBIDDEN – The server understood the request, but is refusing to fulfill it.
(XHR)POST – https://migdaliapace.com/?wc-ajax=wc_stripe_get_cart_detailsThe cart starts working properly again when we deactivate the WooCommerce Stripe Gateway plugin. Unfortunately, we are not that familiar with the plugin, so you may need to contact the plugin authors for additional assistance.
Best regards,
IsmaelHi,
Thank you for the confirmation. We’ll keep the thread open. For now, you can include these details in the privacy page — or notify the users that such cookies exist for security and by continuing to browse the site, they are implicitly giving their consent to allow these cookies.
Best regards,
IsmaelHi,
We can’t really figure out what’s causing the issue. You may have to disable the modification for now until we find the actual problem. Or try update to the latest version of the theme then redo the modification.
Best regards,
IsmaelHi,
Thank you for the info. You can use the Media Elements > Gallery element for that. Make sure that the Styling > Gallery Style is set to the second option (Big image with thumbnails below). The big image will be replaced with whichever thumbnails you hover.
Best regards,
IsmaelJune 8, 2020 at 9:30 am in reply to: Comments and add comment form disappeared after upgrading Enfold #1220401Hi,
We would like to check the functions.php file but the Appearance > Editor panel is not accessible. Please activate it or post the FTP details in the private field so that we can check the site further.
Best regards,
IsmaelHi,
Are you using the Image element? Try to replace this css:
.image-overlay { display: none !important; }.. with:
.avia-image-overlay-wrap .av-image-caption-overlay { display: none !important; }Best regards,
IsmaelHi,
Sorry for the delay. Did you remove the button from the page? We found a “Schedule a demo” text in the page but it’s a Special Heading element, not a button or a code block. The button is probably not displaying correctly because there are no actual button element in the page, so the required stylesheets or css don’t exist. Try to set the Enfold > Performance > Disabling of template builder elements settings to the first option.
Best regards,
IsmaelHi,
Sorry for the delay. You can disable the quantity button modification by editing the enfold\config-woocommerce\woocommerce-mod.js file. Look for and remove this line (line 65).
avia_apply_quant_btn();Please don’t forget to toggle the Performance > File Compression settings, and remove the browser cache after doing the modification.
Best regards,
IsmaelJune 8, 2020 at 9:01 am in reply to: Datum in Blog Kategorien wird falsch/Doppelt oder gar nicht Angezeigt #1220390Hi,
Thank you for the info. What seems to be the problem with the dates? Can you explain it a bit?
Best regards,
IsmaelHi,
Yes, an update will overwrite it, which is why we recommended adding it in the child theme. You can do that by creating a copy of the register-portfolio.php as instructed above.
Best regards,
IsmaelHi,
Can you replace the action hook with ava_inside_main_menu so that the search field is rendered inside the menu container instead of the main header. We can then add css to adjust the position so that it’s above the News & Events menu item.
After changing the hook name, add this css code to move the search bar.
.custom-form { position: absolute; right: 100px; top: -60px; }You should also adjust the color of the text inside the search field.
#header .custom-form #s { background-color: #0086ce; color: #ffffff; }Best regards,
IsmaelHi,
@DesignProvider: What do you mean by its shrinking to fit container? Please open a new thread and provide a screenshot of the issue. You can use imgur or dropbox for the screenshot. We’ll close this thread now.Best regards,
IsmaelHi,
The portfolio items don’t support the Page Order attribute by default. Did you enable it? You can set the orderby parameter to menu_order to sort the items based on the value of the Page Order field, but it’s not going to work on the portfolio element because it doesn’t support the field by default.
Best regards,
Ismael -
AuthorPosts
