Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for the update.
where can i use this code? I tried it on my portfolio page and put it at:
You have to add the css code in the Enfold > General Styling > Quick CSS field or in the child theme’s style.css file. Let us know of the result.
Best regards,
IsmaelHi,
Thank you for the access.
We edited the script so that it only activates when the “av-submenu-container” element exists. This seems to improve performance on the home page and other pages with the element.
/** * Full Width Submenu active */ function activateMenuItem() { ?> <script> jQuery(document).ready(function() { var menu = jQuery('.av-submenu-container'); if (menu.length) { var sections = jQuery('.avia-section'), nav_height = menu.outerHeight(); jQuery(window).on('scroll', function() { var cur_pos = jQuery(this).scrollTop(); sections.each(function() { var top = jQuery(this).offset().top - 300, bottom = top + jQuery(this).outerHeight(); if (cur_pos >= top && cur_pos <= bottom) { menu.find('li').removeClass('active-menu-item'); menu.find('a[href="#' + jQuery(this).attr('id') + '"]').parent('li').addClass('active-menu-item'); } }); }); } }); </script> <?php } add_action('wp_head', 'activateMenuItem');Best regards,
IsmaelHi,
Thank you for the info.
Did you add the following css code? The images get stretched because of it.
.avia-image-container .avia_image, .avia-image-container .avia-image-overlay-wrap { height: 200px !important; width: 400px !important; margin: 20px 0 0 0 !important; }To adjust the width of the columns in mobile view for this specific section, try applying a unique ID to the Color Section in the Advanced > Developer Settings > Custom ID field (for example: bc-custom-section). Then, add this css code:
#top #bc-custom-section div .flex_column { width: 50% !important; margin-left: 1%; }Best regards,
IsmaelJune 26, 2024 at 7:03 am in reply to: Portfolio and Posts Reverse Navigation, Same Category, and Looped #1459238Hi,
Thank you for the info.
Please remove all modifications and make sure that the Enfold > Blog Layout > Single Post Options > Single Post Navigation is set to the third option (Loop post navigation). After that, add this code to the functions.php file:
/** * previous and next opposite order posts & reverse */ add_filter( 'avf_post_nav_entries', 'avf_post_nav_entries_mod_reverse', 10, 3); function avf_post_nav_entries_mod_reverse($entries, $settings, $queried_entries) { $settings['same_category'] = true; return $entries; } add_filter("avf_post_nav_loop_args", function($args, $settings) { $args["orderby"] = array( 'post_date' => "ASC", 'ID' => "ASC"); return $args; }, 10, 2);The filter avia_post_nav_entries filter is no longer necessary.
Best regards,
IsmaelHey rosiet5,
Thank you for the inquiry.
Which font are you trying to upload? By default, only Google Fonts are allowed in the Enfold > Import/Export > Custom Font Manager. If you’re trying to upload fonts from different sources, make sure that the file structure is correct. Please review the File Structure section in the documentation below:
// https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts > File Structure
Best regards,
IsmaelHi,
Thank you for the info.
You can use this css code to adjust the width of the masonry items on smaller screens (1400px or less):
@media only screen and (max-width: 1400px) { /* Add your Mobile Styles here */ #top .av-masonry.av-a3xg2-658ab37a9edd2ce89fe50f0c548108e2 .av-masonry-entry { width: 100%; } }Best regards,
IsmaelHey bemodesign,
Thank you for the inquiry.
We may need to inspect the site in order to provide the appropriate modifications. Please provide the site URL in the private field and the link to the category page.
Best regards,
IsmaelHi,
Thank you for the info.
Where can we check the issue? Please provide the site URL in the private field.
Best regards,
IsmaelHi,
Thank you for the info.
The columns are narrow because of the custom padding, which is currently set to 100px on all sides. To fix this, go to the column’s Layout > Padding > Inner Padding and set a different padding for mobile view. This should also resolve the layout issues for other elements.
Best regards,
IsmaelHi,
Thank you for following up.
and it won’t go under with this code
This is possible but you will have to change the background color of the first section to transparent. Please try this css code:
#hero-hp-whats-new { margin-bottom: -450px; position: relative; z-index: 9999; } #hero-hp-whats-new .container, #hero-hp-whats-new, #hero-hp-whats-new .entry-content-wrapper { background-color: transparent !important; }Best regards,
IsmaelJune 25, 2024 at 8:02 am in reply to: Replaced live version of site with staging version….Footer Page does not show #1458552Hey Jody,
Thank you for the inquiry.
You will need to update the theme’s header.php file on the live site to the latest version, as it also affects the footer page option. Let us know the result.
Best regards,
IsmaelHey Aubin,
Thank you for the inquiry.
Did you install any plugin extensions? Please try to deactivate the shop extensions temporarily and provide the login details in the private field so that we can check the issue further.
Best regards,
IsmaelJune 25, 2024 at 7:43 am in reply to: Change ‘Please login to comment.’ or Want to join the discussion?’ text. #1458550Hey Thumphreys,
Thank you for the inquiry.
You can adjust the text by modifying the comments.php file. The specific string is located around line 174:
echo '<span class="minitext">' . __( 'Want to join the discussion?', 'avia_framework' ) . ' ' . __( 'Feel free to contribute!', 'avia_framework' ) . '</span>';Another option is to use the following plugin:
// https://wordpress.org/plugins/say-what/
Best regards,
IsmaelHey tonyiatridis,
Thank you for the inquiry.
You can replace the Column element with the Fullwidth Easy Slider to make the image fully visible even on smaller screens. You can also add another column element with a background image that is specifically resized for mobile view. You can then toggle the visibility of the elements on different screen sizes by adjusting the Element Visibility options in the Advanced > Responsive toggle. Basically, you’ll have a layout for desktop view and another for smaller screens.
Best regards,
IsmaelHi,
You’re quite welcome, and thank you for using Enfold! Please don’t hesitate to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey Sebastian,
Thank you for the inquiry.
Did you add this css code?
.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 170px!important; }If you want to override it on mobile view, please add this modification:
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 10px !important; } }Best regards,
IsmaelJune 25, 2024 at 6:56 am in reply to: Column back ground color and gallery with transparent image #1458545Hey spokerstradingco,
Thank you for the inquiry.
You can add this css code to adjust the background color of the gallery thumbnail:
#top div .avia-gallery .avia-gallery-big img, #top div .avia-gallery .avia-gallery-thumb img { background-color: transparent; }Best regards,
IsmaelHey reqonsult,
Thank you for the inquiry.
You can toggle the visibility of the date info in the Enfold > Blog Layout > Blog Meta Elements section. Simply look for the Blog Post Date toggle. You can also use this css code:
.avia-content-slider .slide-meta time { display: none; }Best regards,
IsmaelJune 24, 2024 at 4:41 am in reply to: make the header logo smaller on mobile only because it overlaps the menu #1457415Hey Tanja,
Thank you for the inquiry.
We tried to log in to the site, but the username above doesn’t exist. Please check the info carefully or provide another admin account. In the meantime, you can try this css code to decrease the size of the logo on mobile view:
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive .logo img, .responsive .logo svg { max-width: 30%; } }Best regards,
IsmaelHi,
Glad to know that this has been resolved. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey CharlieTh,
Thank you for the inquiry.
We provided the shortcode of the demo page in the private field. If you haven’t set the builder to debug mode, please check the documentation below.
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
Best regards,
IsmaelHi,
Sorry for the late response. The site seems to be rendering correctly when we checked on a mobile emulation (see private field). Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:
1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
2.) Locate the option to upload a file or an image.
3.) Select the screenshot file from your computer or device and upload it to the platform.
4.) After the upload is complete, you will be provided with a shareable link or an embed code.
5.) Copy the link or code and include it in your message or response to provide us with the screenshot.Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.
Best regards,
IsmaelJune 21, 2024 at 7:34 am in reply to: Portfolio and Posts Reverse Navigation, Same Category, and Looped #1453488Hi,
Thank you for the update.
What happens if you remove this part of the code that reverses the entries? It might be conflicting with the loop option.
$entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);You can then include this code to reverse the order of the loop:
add_filter("avf_post_nav_loop_args", function($args, $settings) { $args["orderby"] = array( 'post_date' => "ASC", 'ID' => "ASC"); return $args; }, 10, 2);Best regards,
IsmaelHey Erin,
Thank you for the inquiry.
By default, the content in the footer inherits the default font size. If you wish to adjust it, you can use this code in the Quick CSS field:
#footer, #footer p, #footer li { font-size: 0.8em; }Best regards,
IsmaelHey condonp,
Thank you for the inquiry.
You might need to reformat the video or convert it to a supported format (H.264) because iOS devices don’t support all types of mp4 files. Alternatively, you can upload the video to YouTube or Vimeo instead of hosting it locally.
Best regards,
IsmaelHey Paolo,
Thank you for the inquiry.
You can use the avia_post_slide_query filter to adjust the default sorting order of the post slider. If you wish to apply this customization to a post element on a specific page, you can include conditional functions like is_page. Example:
add_filter('avia_post_slide_query', 'avia_post_slide_query_mod'); function avia_post_slide_query_mod( $query ) { if( is_page(123) ) { $query['orderby'] = 'date'; $query['order'] = 'ASC'; } return $query; }Replace 123 with the actual ID of the page.
Best regards,
IsmaelHey Meetx,
Thank you for the info.
You can find more information on privacy options in the documentation below:
// https://kriesi.at/documentation/enfold/privacy-cookies/
To find more info about the existing cookies, please follow this instruction:
// https://kriesi.at/documentation/enfold/privacy-cookies/#how-to-check-for-enabled-cookies
Best regards,
IsmaelHey Sabine,
Thank you for the inquiry.
There is no option for this by default but we can create a script for the read more link. Please add the content in the icon list with this format:
<p class="av-icon-list-content"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <span class="av-icon-list-more-text">Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</span> <a href="#" class="read-more">Read more</a> </p>Add this script in the functions.php file:
function ava_custom_script_read_more() { ?> <script> (function ($) { function avToggleContent() { $('.av-icon-list-read-more').click(function(event) { event.preventDefault(); $(this).prev('.av-icon-list-more-text').slideToggle(); $(this).text(function(i, text){ return text === "Read more" ? "Read less" : "Read more"; }); }); } $(document).ready(function () { avToggleContent(); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_read_more');Then include this code in the Quick CSS field:
.av-icon-list-content .av-icon-list-more-text { display: none; } .av-icon-list-content .av-icon-list-read-more { display: inline-block; margin-top: 5px; color: blue; } .av-icon-list-content .av-icon-list-read-more:hover { text-decoration: underline; cursor: pointer; }Best regards,
IsmaelHi,
No problem. We’ll keep the thread open. Let us know if you encounter any issues.
Best regards,
Ismael -
AuthorPosts
