Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for following up.
Looks like the issue only occurs when the loaded post has been created using the Advance Layout Builder (ALB). To fix the issue temporarily, please edit the enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php and look for this code around line 561:
$markup = avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $entry['ID'], 'custom_markup' => $this->atts['custom_markup'] ) ); $items .= "<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
Replace it with:
$content = strip_tags($content); $markup = avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $entry['ID'], 'custom_markup' => $this->atts['custom_markup'] ) ); $items .= "<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
This will remove all the tags in the masonry excerpt. We will forward the issue to our channel.
Another solution is to manually define the excerpt for posts that were created with the ALB.
Best regards,
IsmaelHi,
Thank you for the update.
Did you toggle the Performance > File Compression settings after adding the css code? And please make sure to purge the cache and remove the browser history.
Best regards,
IsmaelHi,
The plugin is outdated but it works properly. If you do not want to use it, then you will have to modify the functions.php file and adjust the dimension of the thumbnail manually. Around line 193, you will see this code.
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
Adjust the width and height value, then regenerate the thumbnails, or upload the images again. This plugin will help with the thumbnail regeneration.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelMay 20, 2021 at 3:35 am in reply to: Enfold Latest News Widget Not Showing Excerpt And Missing From Some Pages #1301264Hi,
No problem. Regarding the excerpts, they are not displaying because the posts were built using the Advance Layout Builder. You have to edit the posts, enable the Excerpt box from Screen Options and add the summary or excerpt manually in the Excerpt field.
Best regards,
IsmaelHi,
You are welcome! Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelMay 20, 2021 at 3:30 am in reply to: Is there a way to the ddefault header transparency for all new pages and posts #1301262Hi,
Sure. Try to add this code in the functions.php file, then refresh the page once or twice. Remove it again afterwards.
add_action("init", function() { $pages = get_pages(array("meta_key" => "header_transparency")); foreach($pages as $page) { if($page->ID == 3255) { update_post_meta($page->ID, "header_transparency", ""); } } }, 9999);
This should update the header_transparency of the page with the ID 3255. If you want to update all pages, just remove the if statement.
if($page->ID == 3255) { update_post_meta($page->ID, "header_transparency", ""); }
Replace it with:
update_post_meta($page->ID, "header_transparency", "");
IMPORTANT: Create a site backup first before using the code above.
Best regards,
IsmaelHi,
This issue usually happens when the masonry element or any element with animation that depends on the waypoint script is inserted at the very bottom of the page. Temporary workaround is to insert another element below the very last element in the page to make sure that there are enough scrollable room for waypoint. Another is to adjust waypoint’s offset parameter.
In the enfold\js\shortcodes.js, look for this function.
function activate_waypoints(container) { //activates simple css animations of the content once the user scrolls to an elements if($.fn.avia_waypoints) { if(typeof container == 'undefined'){ container = 'body';}; $('.avia_animate_when_visible', container).avia_waypoints(); $('.avia_animate_when_almost_visible', container).avia_waypoints({ offset: '80%'}); if(container == 'body') container = '.avia_desktop body'; $('.av-animated-generic', container).avia_waypoints({ offset: '95%'}); } }
Decrease the offset value to 30% or lower to trigger the animation earlier or once the element is positioned
about 30% from the top of the viewport. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adjusting the parameter.Best regards,
IsmaelMay 20, 2021 at 3:08 am in reply to: Missing font in frontpage after clicking enfold save button #1301260Hi,
Thank you for the update.
We exported the theme options and imported it back, but we were not able to reproduce the issue or we did not encounter any errors. Please note that you do not have to click the save button when importing the theme options. It will just automatically save the options and refresh the page. (see private field)
Best regards,
IsmaelHi,
Have you tried including the post meta _av_alb_posts_elements_state in the import process that you created? It should be as simple as using the add_post_meta or the update_post_meta function.
// https://developer.wordpress.org/reference/functions/add_post_meta/
You can also create a plugin that builds the elements state or create _av_alb_posts_elements_state post meta info after the import.
Related thread: https://kriesi.at/support/topic/adding-pages-using-the-wordpress-rest-api/#post-1032812
Best regards,
IsmaelHi,
Thank you for the update.
Which of the portfolio items should display first in the widget, or which one did you modify last? Please post the login details in the private field so that we could check it properly. Make sure that the Appearance > Editor panel is accessible.
Best regards,
IsmaelHi,
If i select one of the taxonomies then its not showing all the posts, only the posts in that taxonomy.
What if you select multiple taxonomies? Are the taxonomies unique for the custom post type advertisements, or are they shared by other post types? Unfortunately, you cannot select the post type directly, so a solution is to make sure that the selected taxonomies are unique to the desired post type.
Best regards,
IsmaelMay 19, 2021 at 7:52 am in reply to: Logo center split menu – problems with reduced screens #1301145Hi,
Thank you for the update.
We adjusted the css code a bit and disabled the Performance > File Compression settings temporarily. The header now reverts back to the default layout when the screen width is less than 989px. This will still require a few adjustments but the site navigation should now be accessible on both desktop and mobile view.
This is how the site looks on our end (screen less than 989px).
Screenshot: https://prnt.sc/133svf1
Best regards,
IsmaelHi,
@filz51: This looks like a different issue. The OP did not have any issues with the sitemap, only with the blog layout. Did you translate the blog page to other languages? It is possible that those translations get included in the sitemap. Are you using a plugin for the sitemap?Please open a new thread and post the necessary details in the private field. We will close this thread for now.
Best regards,
IsmaelHi,
Thank you for the inquiry.
The tab element automatically sets its height based on the tallest tab or content. We could set the maximum height of the container, but this will leave whitespaces or gaps below the tabs with shorter content.
.tabcontainer { max-height: 500px; }
Best regards,
IsmaelMay 19, 2021 at 7:09 am in reply to: How can I upload https://fonts.googleapis.com/css locally? #1301138Hi,
Thank you for the update. You can find more information about typography in the documentation under the Quick Setup section. Please check the link below.
// https://kriesi.at/documentation/enfold/quick-setup/#typography
Best regards,
IsmaelHi,
@stefpasi: The instagram widget is displaying properly in the footer widget area when we checked the site. Is this fixed? Please feel free to open another thread if the issue persists. We will close this one for now.Best regards,
IsmaelHi,
Thank you for the inquiry.
It is possible to add the language switcher within the top bar but you have to create a secondary menu or insert it using the following function.
// Render the default language switcher (activate header meta) function ava_icl_language_selector(){ do_action('icl_language_selector'); } add_action('avia_meta_header', 'ava_icl_language_selector'); add_filter( 'avf_execute_avia_meta_header', '__return_true', 10, 1 );
Best regards,
IsmaelHey LesleyJean,
Thank you for the inquiry.
In the filter above, try to rename the font to something else (e.g., “Raleway New”, “Raleway Mod”), then select the new font name in the Enfold > General Styling > Fonts panel. You can also adjust the style of the elements in the Enfold > Advanced Styling panel.
Best regards,
IsmaelHi,
It is not a bug. This is actually the default layout of the blog posts element when the sidebar is not enabled.
To remove the line below the posts and adjust the font size of the title and the read more link, try to add this css code.
body#top.home .av-alb-blogposts.template-blog div.post_delimiter { display: none !important; } body#top.home { font-size: 14px; }
Best regards,
IsmaelHey Gian Maria,
Thank you for the inquiry.
We can increase the height of the horizontal slider on mobile view with this css.
@media only screen and (max-width: 767px) { #top .aviaccordion { height: 300px; } }
You may want to apply a custom class name or ID to the accordion element and use it in place of generic selector above.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
IsmaelHi,
Why isn’t the thumb nail images showing on posts loaded after clicking Load more?
The images are there but they are being covered by the masonry content. There seems to be a lot br tags in the posts. Example.
<h3 class="av-masonry-entry-title entry-title " itemprop="headline">Sådan vælger du den rigtige servicetype til din forretning</h3> <div class="av-masonry-entry-content entry-content" itemprop="text">ARTIKEL br br br Af Henrik Blach, FORCE Technology, Projektleder,…</div>
Did you intentionally add the br tags? Adding this css code might help but it will remove or hide the br tags.
.av-masonry-entry-content.entry-content br { display: none !important; }
Best regards,
IsmaelHi,
Thank you for the inquiry.
We set the builder to debug mode and checked the shortcodes. We noticed that the issue only occurs when there is an av_hr or separator/whitespace shortcode inside the catalogue item content, so we removed all instances of the shortcode inside the catalogue items. The catalogue elements are accessible again. Unfortunately, we are not yet sure why the issue occurs when the av_hr shortcode is added to the content.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Try to select the current home page as homepage in the Settings > Reading panel, and create another page and set it as posts page.
We tested the link with each parameter and found that the m=0 parameter causes the incomplete breadcrumb schema.
The query var avia-element-paging=25 is created by the theme for the pagination, but we have no idea where m=0 is coming from. It might be from another plugin. And according to Yoast this variable is causing the issue.
Best regards,
IsmaelHey SPORTSINCYCLING,
Thank you for the inquiry.
Looks like the Form Element Validation for all fields are set to “Is not empty”. What happens when you change the validation and set it according to the input type? For example, try to check if the value of the email field is a valid email address, or check if the number field contains actual numbers.
Best regards,
IsmaelHey dcshortwave,
Thank you for the inquiry.
We checked the site but it is not using any of our themes. Do you have a site using Enfold or any of Kriesi’s themes?
Best regards,
IsmaelHi,
UPDATE: We just remembered that the blockquote element can be adjusted in the Enfold > Advanced Styling panel. Look for the blockquote under HTML tags and edit it.
Best regards,
IsmaelHey Nathan,
Thank you for the inquiry.
There is no dedicated color option for the quote element, but we can still use css code to adjust its style.
.main_color blockquote, .main_color .avia-bullet, .main_color .av-no-color.av-icon-style-border a.av-icon-char { border-color: red; color: red; }
Best regards,
IsmaelHey w_archer,
Thank you for the inquiry.
That is the default size of the featured images on post with sidebar. To adjust it, you may need to install the following plugin, activate it, go to the Settings > Media panel, look for the entry_with_sidebar thumbnail, adjust its size, then regenerate the thumbnails.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
IsmaelHi,
@JudiPu: Can we check the site? Please post the site URL in the private field. Did you create any elements with a numbered ID? This is the site navigation markup.<div class="avia-slideshow-dots avia-slideshow-controls"> <a href="#1" class="goto-slide">1</a><a href="#2" class="goto-slide active">2</a></div>
It is possible there is an element or elements in the page with the #1 and #2 ID.
Best regards,
IsmaelHi,
This is probably an issue with the waypoints script, which activates the masonry animation when the element is in view. It fails to load the second masonry element immediately even when it is already in view because the first masonry element has not finished loading or the document height is not yet determined.
We could disable the animation with css to make the masonry items immediately visible.
#top .av-masonry-image-container, #top .av-inner-masonry-content, .av-masonry-pagination { -webkit-transition: none; transition: none; } #top .av-masonry-entry { opacity: 1; visibility: visible; }
Best regards,
Ismael -
AuthorPosts