Forum Replies Created
-
AuthorPosts
-
Hey marxsvjetlana64,
Thank you for the inquiry.
This is possible but you have to modify the enfold\config-templatebuilder\avia-shortcodes\gallery_horizontal\gallery_horizontal.php file, around line 761, look for this code.
$img_tag = "<img class='av-horizontal-gallery-img' width='{$img[1]}' height='{$img[2]}' src='{$img[0]}' title='{$title}' alt='{$alt}' />"; $img_tag = Av_Responsive_Images()->prepare_single_image( $img_tag, $attachment->ID, $lazy_loading ); $output .= $img_tag;Below, add this.
$output .= $img_tag; $caption = wp_get_attachment_caption($attachment->ID); $output .= " <div class='av-image-caption'>"; $output .= $caption; $output .= '</div> ';Then add this css code to adjust the position of the caption container.
.av-horizontal-gallery-wrap .av-image-caption { position: absolute; bottom: 50px; z-index: 100; left: 0; width: 100%; padding: 50px; }Best regards,
IsmaelHi,
Have you tried moving the text block after the first color section inside its own color section? This should get rid of the space below the section, which is the default bottom padding of the content container.
Best regards,
IsmaelHi,
Great! Let us know if there is anything else we can help you with.
Have a nice day.
Best regards,
IsmaelHi,
Glad to know that the issue has been resolved. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelJanuary 24, 2023 at 6:58 am in reply to: How to remove post category not only on page, but also in code #1394871Hi,
If you want to keep the text and remove the link, look for this code:
$cat_output .= trim( $cats );Replace it with:
$cat_output .= strip_tags( $cats );Best regards,
IsmaelHi,
We tried to login using the account above, but the info seems to be invalid. Please check the account info or provide another admin account.
Best regards,
IsmaelHi,
Glad to know that the issue has been resolved. Please let us know if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Please remove the previous css, then add the following code in the functions.php file. This should dynamically adjust the height of the columns based on their width.
//-------------------------------------------------------------- // adjust the height of the columns //-------------------------------------------------------------- add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { $(window).on("debouncedresize", function() { $(".sc-av_one_third").each(function() { var column = $(this).find(".av_one_third"); var width = column.width(); column.height(width); }); }); })(jQuery); </script> <?php }Best regards,
IsmaelHi,
Great! Glad to know that the issue has been resolved. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelJanuary 24, 2023 at 4:27 am in reply to: Need Help Creating A Custom Site Template (NOT Page Template) #1394864Hey SyberKnight,
Thank you for the inquiry.
Try to create a copy of the page.php file and at the very top, just add the Template Name comment to convert it to a template.
Best regards,
IsmaelHi,
If you want to hide the categories in the frontend, please add this css code.
span.av-post-metadata-category-link { display: none; }Or use this css code to specifically hide the Výživa a Hubnutí link.
span.av-post-metadata-category-link a[href="https://mtsakademie.cz/?taxonomy=portfolio_folder&term=vyziva-a-hubnuti-1673934823-1"] { display: none; }Best regards,
IsmaelHey Chris,
Thank you for the inquiry.
You can add this code in the functions.php file to move the title and excerpt above the team member image.
//-------------------------------------------------------------- // Adjust Team Member element //-------------------------------------------------------------- add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { $(document).ready(function() { $(".avia-team-member").each(function() { var image = $(this).find(".team-img-container"); var title = $(this).find(".team-member-job-title "); image.detach().appendTo(title); }); }); })(jQuery); </script> <?php }Best regards,
IsmaelHi,
@Chris: Thanks. Please continue here: https://kriesi.at/support/topic/modal-popup-window-mobile-version-not-scrollable/#post-1394859Best regards,
IsmaelHi!
Thank you for opening another thread.
We checked the site on a browser emulation and the modal popup window seems to be scrollable, but the position of the modal is a bit off. To adjust the position, we can use this css code.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-auto-cursor.avia-popup.mfp-zoom-in.mfp-ready { top: 0 !important; } }Regards,
IsmaelHi,
Thank you for the info.
The link “Optional” redirects to a page called “hintergrundartikel”. Did you modify any of the template files or do any translations?
Best regards,
IsmaelHi,
You can use the Loco Translate plugin with Polylang for additional translation options.
// https://wordpress.org/plugins/loco-translate/
Best regards,
IsmaelHi,
Yes, that is correct. You have to retrieve the terms from the portfolio_entries taxonomy. Let us know if you require more assistance.
Best regards,
IsmaelJanuary 24, 2023 at 2:50 am in reply to: How to remove post category not only on page, but also in code #1394855Hi,
Thank you for the inquiry.
The code is located in the includes > loop-index.php file, look for this code around line 348 and remove it.
if( ! empty( $cats ) ) { $cat_output .= '<span class="blog-categories minor-meta">'; $cat_output .= trim( $cats ); $cat_output .= '</span>'; $cats = ''; }Best regards,
IsmaelHi,
Did you add the css code that we suggested above? This should adjust the width of the sidebar and allow the main container to float beside the sidebar. Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHi,
2.) You can create a copy of the taxonomy-portfolio.php file in the child theme to override the original template.
– it works only in 767px resolution
– 768px resolution and higher => wrong displayed
– between 480px and 700px => wrong displayed3.) We can’t see the issue on our end. Would you mind providing a screenshot? You can use imgur, savvyify or dropbox for the screenshot. Thanks.
Best regards,
IsmaelHi,
@Chris: We are not able to check the site because it is currently on maintenance mode. Please open a new thread and post the login details in the private field. Regarding the shortcode, you can paste it anywhere in the site, in a post, a page or inside one of the tabs within the privacy modal popup window.Best regards,
IsmaelHi,
Try to replace “touchstart touchmove touchend” with “click”, then add this extra css code.
@media only screen and (max-width: 989px) { .lightbox { pointer-events: none !important; } }Please make sure to purge the cache afterwards and check the site on incognito mode.
Best regards,
IsmaelJanuary 23, 2023 at 6:12 am in reply to: How would I achieve the Parallax look (plus a little more) #1394733Hi,
That is the background of the main container. If you want to remove it, you have to adjust the bottom margin of the first color section in the advance layout builder, or add this code in the Quick CSS field.
.avia-section.av-bxu05y-17f2b8ed6b0af2197f3b8d4ab5075dc0 { margin-bottom: 0; }You can also adjust the background color of the main container.
#main { background-color: #ffffff; }Best regards,
IsmaelHi,
Thank you for the info.
We logged in and added this code in the functions.php file.
add_action('admin_head', 'ava_custom_admin_css'); function ava_custom_admin_css() { echo '<style> li[data-slug="vyziva-a-hubnuti-1673934823-1"] { display: none !important; } </style>'; }This hides the Výživa a Hubnutí link in the dashboard.
Best regards,
IsmaelHi,
To make the header transparent on category pages, you can add this filter in the functions.php file.
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1); function avf_header_setting_filter_mod($header) { if( is_archive() ) { $header['header_transparency'] = 'header_transparency'; } return $header; }And to fix the sidebar, please add this code in the Quick CSS field.
body .unit.alpha.sidebar, body .units.alpha.sidebar { width: 22%; clear: none !important; }Best regards,
IsmaelHi,
The changes seem to be working correctly on my end, checking it on a 1080p monitor. What is the screen resolution of your monitor? We adjusted the threshold to 0.9. This should apply the active state to the menu item only when 90% of the corresponding section is visible in the browser. Please make sure to purge the cache before testing the page.
Best regards,
IsmaelHi,
What happens if we remove the “touchmove touchend” events from the script above?
On top somehow an old issue is back now in the tab section on mobile devices:
Please open a different thread about the issue so that we can tackle it in isolation. If you want to look for a freelance developer, please check the link below.
// https://kriesi.at/contact/customization
Best regards,
IsmaelHi,
Thank you for the update.
2.) Did you use the Portfolio Grid element? If you need to enable the excerpt in the category or archive pages, please edit the taxonomy-portfolio.php file, look for the avia_post_grid around line 30 and set the “contents” parameter from “title” to “excerpt”.
3.) You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code. Make sure to purge the cache afterwards.
body .unit.alpha, body .units.alpha, body div .first { margin-left: 0; clear: none !important; }Best regards,
Ismael -
AuthorPosts
