Forum Replies Created
-
AuthorPosts
-
Hi,
Glad this helps, the breadcrumbs for posts are for their relationship to the blog.
Pages are shown the breadcrumbs in their relationship to their parent page.
I don’t see where you could have a mix of pages and posts.Best regards,
MikeHi,
Thank you for the link to your site, I have reviewed your two pages and found that you are usingname="anchor"
for your anchor links.
The name attribute on the a element is obsolete. For quite some time now using the ID as the anchor link has been the standard.<h3 id="anchor">
The name attribute will still work but the theme looks for ID anchor links and applies a offset to the scroll to account for the header, it also slows the scroll some so it’s not a hard jump to the element.
I adjusted your /data-protection/ page because there was only 4 links and so you could see the result.
So for example using your Individual Clients anchor, you had:
<h3><a style="font-size: 16px; background-image: url('img/anchor.gif');" name="individuals"></a>Individual Clients</h3>
but the correct method is:
<h3 id="individuals"><a style="font-size: 16px; background-image: url('img/anchor.gif');"></a>Individual Clients</h3>
Please clear your browser cache and review the page and apply the changes to your other pages.
Also I don’t know why you are usingbackground-image: url('img/anchor.gif');
on your anchors it is making your site give 404 errors, I imagine that you copied this code from somewhere and didn’t include the image to your site, I recommend removing all of these from your site.Best regards,
Mike-
This reply was modified 2 years, 6 months ago by
Mike.
Hey rixi,
For the page linked below you should follow this thread to enable a local open sans font.Best regards,
MikeJanuary 22, 2023 at 10:53 pm in reply to: How would I achieve the Parallax look (plus a little more) #1394721Hi,
Typically this occurs when you download the wrong zip file from Theme Forest there are two to choose from, please check again that you are downloading the installable WP versionBest regards,
MikeHey rixi,
Thank you for the link to your site, to make the cells in all of your tables equal height for this one page only try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function equal_height_table_cells() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('#top.page-id-1292 .avia-pricing-table-container').each(function(){ var $columns = $('li',this); var maxHeight = Math.max.apply(Math, $columns.map(function(){ return $(this).height(); }).get()); $columns.height(maxHeight); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'equal_height_table_cells');
and add this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field to center the text in the cells:
#top.page-id-1292 .avia-pricing-table-container li { align-items: center; display: flex; justify-content: center; }
After applying the css, please clear your browser cache and check.
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Please see the screenshot in the Private Content area of the expected results.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJanuary 22, 2023 at 8:42 pm in reply to: Theme registration, Envato, Personal token don't work #1394715Hi,
Thanks for the update, we will leave this open to hear back from you.Best regards,
MikeHi,
Thank you for your patience and the link to your site, I changed the function to show the widget in the header that was in your child theme functions.php to this:add_action( 'ava_main_header', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
and then I added this function in your child theme functions.php to move the notification area above the top bar:
function add_top_notification_widget() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($) { $('#header_main .widget').detach().insertBefore('#header_meta'); })(jQuery); }); </script> <?php } add_action('wp_footer', 'add_top_notification_widget');
and I added this css to your child theme stylesheet:
/* Notification bar */ .responsive #top #header .widget>div { display: flex; justify-content: center; align-items: center; align-self: center; line-height: 14px; padding: 0 10px; background: gold; width: 100vw; position: relative; z-index: 1; left: 50%; transform: translateX(-50%); } .responsive #top #header .widget>div>p { margin: 0; padding: 7px; } .responsive #top #header .widget { padding: 0; }
and after clearing your cache this is the result:
I was not sure if you wanted it to show because you had the widget hidden, so I hid it when I was done, so please un-hide to check.
Best regards,
MikeHi,
Please try adding this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #main .small-button a:hover .avia-button.avia-color-light { border: none; opacity: 0; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJanuary 22, 2023 at 5:09 pm in reply to: Individual height of tab sections not active on mobile screen size #1394707Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey lauragrashoff,
The TikTok icon is not available on Fontello.com so you need to create it by finding an SVG and converting it on Fontello to create the icon font
The icon font will be black and white a colored SVG won’t work. But if you find a png with a transparent background then you can convert it here. For example I found a TikTok icon here and downloaded it as a SVG and then uploaded it to Fontello which converted it for me. This is the fontello-tiktok.zip file I’m using in this example.
Then to create the TikTok social profile follow the steps outlined here in our documentation.
For example, I added this code to the end of my child theme functions.php file in Appearance ▸ Editor, If you are not using a child theme I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets and allows you to export and import your custom code snippets to other sites that you may have or as a backup.function avia_add_custom_icon($icons) { $icons['tiktok'] = array( 'font' =>'fontello', 'icon' => 'ue800'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); function avia_add_custom_social_icon($icons) { $icons['TikTok'] = 'tiktok'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1); add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args){ $tiktok = array('tiktok' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://www.tiktok.com/", 'label' => __("Share on TikTok",'avia_framework'))); $args = array_merge($tiktok, $args); return $args; }
Then I enabled it at Enfold Theme Options ▸ Social Profiles ▸ Your social profiles
Now it shows on the frontend:
Now to add the on mouse-over color add this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #wrap_all .av-social-link-tiktok:hover a{ color:#fff; background-color:#00f2ea; }
Now go to the theme options Enfold Theme Options ▸ Blog Layout ▸ Profile Links At The Bottom Of Your Blog Post and enable the TikTok item:
and now on blog posts when the share box shows TikTok will be included:
Best regards,
MikeHey jetsaveurs.com,
Thank you for the link to your site, the errors above are from WordPress files and not the theme, I’m not sure why you would see these errors but I’m running Enfold on PHP v8.1 with no issues or warnings. I also don’t see any warning on your site in the source code, so I don’t know why you would see these in the dashboard.
Try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause.Best regards,
MikeJanuary 22, 2023 at 3:04 pm in reply to: Individual height of tab sections not active on mobile screen size #1394700Hey Vera,
Thanks for your patience and the link to your site I have checked with my browser Dev Tools and my Android device and the solution seems to be working, please see the screenshot in the Private Content area. You could try changing the wait time for the script to work, it was set to 300 milliseconds
try changing it to 500, or 700, or 900 all of which is still less than a second.
If this doesn’t help addconsole.log("click");
to it so we can see if it is consistently clicking, it will add a message to the browser console log.
This is how you would add it:function custom_portfolio_tab_click() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($) { if ($(window).width() < 768) { setTimeout(function(){ $("#top.single-portfolio #av-tab-section-1").find('a.av-active-tab-title').trigger("click"); console.log("click"); },500); } else {} }(jQuery)); }); </script> <?php } add_action('wp_footer', 'custom_portfolio_tab_click');
Best regards,
MikeHi,
Thank you for your question, according to our documentation the Special Character Translation plugin only supports:###lt### => < ###gt### => > ###91### => [ ###93### =>']
If you want to add the amp you can edit the plugin and add this code after the others after line 45:
'###amp###' => '&'
or uninstall and delete the plugin from your site and install this custom one instead.
If this doesn’t change your amp please link to it so we can help with some css.Best regards,
MikeHi,
Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJanuary 22, 2023 at 4:36 am in reply to: Enfold Shop Template on Mobile – No filter options #1394682Hey Jason,
Thanks for your question, on our demo site I don’t see any shop filters in the mobile menu, only links to pages, the filters are in the shop page below the header:
This is the basic woocommerce shop page, there are no elements added to this page, the filters are automatic and the page is set at WooCommerce ▸ Products ▸ Shop pagesBest regards,
MikeHey annevoelkel,
To remove that category from the breadcrumbs please use code to the end of your child theme functions.php file in Appearance ▸ Editor:add_filter( 'avia_breadcrumbs_trail', 'remove_category_from_breadcrumb', 50, 2, ); function remove_category_from_breadcrumb( $trail, $args ) { if ( is_single() ) { unset ($trail[2]); } return $trail; }
Without this function the breadcrumbs will show the category:
With the function the category is removed:
Best regards,
MikeHi,
Thanks Chris but it would be better to open a new thread since your site is in maintenance mode and we will need a login to view you page and the layout. Since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area. Thanks for understanding.Best regards,
MikeHi,
Thanks for helping Guenni007, elsmore01 if you have any further questions about this please let us know.
Otherwise, if you what to open a new topic we will gladly try to help you.Best regards,
MikeHi,
I have summited this as a feature request, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey schweg33,
Yes these can be formatted with css, do you plan on adding more items, I only see five links in a single column?
A basic example for this on this page only for color and font-size on desktop and mobile:@media only screen and (max-width: 767px) { #top.page-id-10827 .avia-table-1 li a { color: red; font-size: 30px; } } @media only screen and (min-width: 768px) { #top.page-id-10827 .avia-table-1 li a { color: blue; font-size: 40px; }
Please adjust to suit.
After applying the css, please clear your browser cache and check.Best regards,
MikeHi,
To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
After you update you will need to go to your Theme Forest account and create a new Token for future updates.Best regards,
MikeHey engage24,
Thanks for your patience and the link to your site, to make all of the titles in the portfolio grids the same height I added this code to the end of your child theme functions.php file in Appearance ▸ Editor:function equal_height_portfolio_grid_titles() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('#av-sc-portfolio-1 .grid-sort-container').each(function(){ var $columns = $('.grid-entry-title',this); var maxHeight = Math.max.apply(Math, $columns.map(function(){ return $(this).height(); }).get()); $columns.height(maxHeight); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'equal_height_portfolio_grid_titles');
and this css in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field to center the titles:
.grid-entry-title { align-items: center; display: flex; justify-content: center; }
This is the result:
Please clear your browser cache and check.Best regards,
MikeHey Elena,
Thanks for your question, I tested your code above but it would not run on my test site and would give no output.
Typically you need to use ob_start(); and ob_end_clean(); to show any output.
I don’t think you can get the category from a url
$curr_post_id = url_to_postid( "https://".$url );
$category = get_the_category( $curr_post_id);
Best regards,
MikeHi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
@sarthakchoudhary I tried to create a 3 flip box row as an example to understand what you want to achieve in regrades to “space” between the flip boxes, I used the Inverse Layout to show the backsides and due to the padding they seem to have space between them.
If I add a background color it then seems like there is no space:.avia-icongrid-flipback { background-color: lightgray; }
To give it some space in this situation change the margin like this:.avia-icongrid-numrow-3 .av-icon-cell-item { flex: 0 1 32%; }
If this doesn’t help please explain with more detail and link to a test page and perhaps a screenshot would help.Best regards,
MikeJanuary 21, 2023 at 10:04 pm in reply to: How would I achieve the Parallax look (plus a little more) #1394660Hi,
If the Revolution Slider is set to Full-Screen it will be full height even if you pick a different height, so choose Full-Width and set 600px height for it to work, I did this for you.
If you don’t want the boxes to move then don’t use the Parallax Rules setting, I see that you are not using this on your new set of boxes, but to have it over your slider you still need to your the negative margin in the Rows Margin in the first column like we explained above, I did this for you and hide the original columns that you are not using.
Please clear your browser cache and check.Best regards,
MikeHi,
Thanks for your patience and the link to your site, I found that the sliders where visible on Mac Safari, Chrome, Firefox. But not visible on Windows in Chrome, Firefox, & Edge.
I exported two of your slider to my demo site and the same was true only for your sliders. I found on your sliders the option LayerSlider ▸ Project Settings ▸ Mobile ▸ Hide On Mobile was enabled and this hid the sliders on Windows.
I made this change on your site for the homepage slider 2021 slider and now it shows on Windows, please try to make this change for your other slides.
I have let the team know about this so we can let the LayerSlider team know as it seems to be an issue in the LayerSlider.Best regards,
Mike -
This reply was modified 2 years, 6 months ago by
-
AuthorPosts