Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry for the very late reply and thanks for the login, but I don’t see the WordPress > Appearance > Editor so I can’t test this code found on the wpml support forum.
Try adding this code to the end of your child theme functions.php file:add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); add_action('avia_after_footer_columns', 'avia_wpml_language_switch', 10); }Another option is to use this css:
.avia_wpml_language_switch_extra {display: none !important;}in your Quick CSSBest regards,
MikeHi,
Sorry for the very late reply, please try this function instead.add_filter('avf_logo_link','av_change_logo_link'); function av_change_logo_link($link){ $host = "conference.zeroproject.org"; if ($_SERVER['HTTP_HOST'] == $host) { $link = get_site_url().'/zeroprojectconference2021/'; } else {} return $link; }Then clear your browser cache and check.
Best regards,
MikeJanuary 31, 2021 at 6:31 pm in reply to: Sermons failed to be migrated after upgraded from Incarnation to Enfold #1276602Hi,
As I understand in the old theme Incarnation, the sermons were a custom post type (CPT), much like the way “Portfolio” items are a CPT in Enfold, so the reason they don’t show now is that Enfold is not recognizing them.
I think the easiest way to work around this is to export this post type from your old site, that is if you have a working “Incarnation” site, or backup that you can install on a temp site, or localhost just to run the export.
Then you can import to your sermons to your Enfold site and use Post Type Switcher to change the post type to something your Sermon Manager plugin can use.
If you don’t have a backup, I believe you can install Custom Post Types to add the correct CPT so your site will show them. If you choose to go this route please seek advice for the “Custom Post Types” plugin as I don’t use this and would not know how to set this up.
Another option may be to ask the Sermon Manager plugin how they can import a CPT, the plugin looks to have a few different import options, so perhaps they have a function to do this already.Best regards,
MikeHi,
@tom56526 sorry for the very late reply, I see that you have started your own thread for this issue, since that would be a better place for you to share your login details we will continue there.Best regards,
MikeHi,
To correct the text position of “Teilnehmen” on your single event view please try this css:.single-tribe_events .tribe-common .tribe-common-c-btn,.single-tribe_events .tribe-common a.tribe-common-c-btn { padding: 11px 0 !important; }For the “RSPV jetzt!” on your event list view I ended up using this function:
function custom_anmelden_script() { ?> <script> (function($){ $(document).ready(function(){ $( ".tribe-events-event-cost a.tribe-common-c-btn" ) .text( "Anmelden" ); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_anmelden_script');For some reason on that page the Kostenlos button text can be changed with the tribe function but not the RSVP Jetzt!, anyways the new function is working.
I found a Tribe Events knowledgebase article: Custom Wording in the Calendar that explains their function further, if you want to check.
Another option if you have many texts to change is the plugin Say what?Best regards,
MikeHi,
Thank you for the login and the link to your /destinations-archive/ page. I checked 4 of your single posts, the 2 newest and 2 older ones and they seem consistent now so perhaps the best approach is to adjust these with css.
I tested your posts for mobile, tablet, & desktop and matched the cover image size to your /destinations-archive/ page and this is what I can up with:@media only screen and (max-width: 767px) { .single-post .big-preview > a > img { height: 40vh !important; object-fit: cover; width: unset !important; max-width: unset !important; } } @media only screen and (min-width: 767px) and (max-width: 1025px) { .single-post .big-preview > a > img { height: auto !important; width: unset !important; max-width: unset !important; } } @media only screen and (min-width: 1026px) { .single-post .big-preview > a > img { height: 99vh !important; object-fit: cover; } }Please give this a try and clear your browser cache.
Please note that to correct the image ratio due to the new image height we are using object-fit which allows the edge of the wide images to be off-screen. For mobile we could adjust with right: 50%; which seems to position your post images better. For example:@media only screen and (max-width: 767px) { .single-post .big-preview > a > img { height: 40vh !important; object-fit: cover; width: unset !important; max-width: unset !important; right: 50%; } }Best regards,
MikeHi,
Can you explain which texts is dependent on this css, are they related to your custom font plugin?
I believe that your past dev installed this plugin and assigned “helveticabold” as a font, but there is no font file uploaded in the options of the plugin. I think the combination of the css and the mis defined font is the issue.
I would try uploading the correct “helveticabold” font in the plugin options and remove the css to fix this.
If that didn’t work I would disable the plugin & css & then upload the “helveticabold” font in the Enfold Theme Options > Import/Export > Custom Font ManagerBest regards,
MikeHi,
Thank you, I see a test page, linked below, but I don’t see “RSPV jetzt!”, on your page is it “Teilnehmen”?
I added the code to the end of your Enfold > functions.php and adjusted it to look for “Teilnehmen” and change it to “Registration” and now your button says: “Registration”
Please clear your browser cache and check.Best regards,
MikeJanuary 30, 2021 at 11:33 pm in reply to: Enfold WooCommerce dropdown widgets jquery migrate issue #1276548Hi,
Sorry for the very late reply, and thank you for pointing this out, in our github it looks like this has already been identified and merged. I believe we are expecting the update to be available any day now.Best regards,
MikeHi,
@Lars sorry for the very late reply and thanks for the login, I found that your custom post type structure is missing the “main” ID#mainthus the css for the sidebar was not working:#top #main .sidebar { border-left-style: solid; border-left-width: 1px; margin-left: 0; float: none; width: auto; overflow: hidden; display: block; clear: none; }I added this css to your Quick CSS field to correct the sidebar for your custom post types:
#top #after_section_1 .sidebar { border-left-style: solid; border-left-width: 1px; margin-left: 0; float: none; width: auto; overflow: hidden; display: block; clear: none; }This seems to sort the page out, please clear your browser cache and check.
@gretatessa, welcome to the forum, I see that you have not yet created a support thread for your issue, please click here to create a new thread so we can assist. This will make helping you more personalized. *I will point out that you are using Enfold v4.1.2 with WP v5.5.3, you will need to update Enfold to the latest version, please do this first.Best regards,
MikeHi,
@Daniele, sorry for the very late reply, I’m not sure why your share links and related entries changed, but the css above doesn’t target either of those items. I also took a look at your page in your screenshot and tested the css to confirm that neither element was affected by it.
I looked through a few of your posts and this error doesn’t seem to appear further and your featured image seems to be hidden, as you wished for. Did you have any further questions about the featured image?Best regards,
MikeHi,
Sorry for the very late reply, to change the “lees meer” button to purple and the text to gray, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.bloglist-excerpt .more-link { color: #ddd !important; background-color: #816ccf !important; }Then clear your browser cache and check.
Best regards,
MikeHi,
Sorry for the very late reply. To change the text “RSPV jetzt!” to “Nimm teil!” please add this function to your functions.php, please note to not add the opening<?phpfrom the gist page and adjust the custom text to suit.
I found this solution from this The Events Calendar theme support page.Best regards,
MikeHi,
Thank you, please do keep me in the loop. As for adding a video sidebar to your product pages, I assume you know how to add the sidebar and add the video widget, so I imagine that the question here is how to show different videos based on product taxonomy, for that I recommend the Widget Options plugin, which adds visibility conditions to each widget.Best regards,
MikeHi,
Thank you for the login, I removed this from your Quick CSS to solve the error:@font-face { font-family: 'helvetica'; src: url('helvetica.eot'); /* IE9 Compat Modes */ src: url('helvetica.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('helvetica.woff') format('woff'), /* Modern Browsers */ url('helvetica.ttf') format('truetype'), /* Safari, Android, iOS */ url('helvetica.svg#svgFontName') format('svg'); /* Legacy iOS */ }Please clear your browser cache and check.
Best regards,
MikeHi,
These are the user-created templates of pages that users can save, to copy the pages of the demos please see this page of our documentation.Best regards,
MikeJanuary 30, 2021 at 12:17 pm in reply to: Image Link Settings – Automaticly file:///x:/xxx/.. to domain.tld/xxx/ #1276500Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Sorry for the late reply, you can make templates of your page to reuse on other pages:

But please note that if you make a template that contains an html error, like the one you have with the strong tags above, the template will also reproduce the error.
So while you are trying to correct your errors I recommend rebuilding your pages from scratch.Best regards,
MikeHi,
Sorry for the very late reply, I believe that you can add a diagonal border between grid rows with this solution.
The border that this creates is an “arrow”, but give this a try and if it works for your design we can try to change it to a diagonal border, if you wish.Best regards,
MikeHi,
Glad to hear, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Yes, correct, this is what you did.
For the font, please include an admin login in the Private Content area so we can take a look.Best regards,
MikeJanuary 29, 2021 at 12:34 pm in reply to: Image Link Settings – Automaticly file:///x:/xxx/.. to domain.tld/xxx/ #1276279Hi,
Thank you for the feedback, I found a function to allowfile:///, I tested it on my localhost with a text link and it was showing on the front end.
I also found that you need five slashes at the front. The protocol is “file:///” … with three(not two)slashes. The next two slashes are the beginning of the UNC path.
Try adding this code to the end of your functions.php file in Appearance > Editor:function rh_allow_file_protocol( $protocols ) { $protocols[] = 'file'; return $protocols; } add_filter( 'kses_allowed_protocols', 'rh_allow_file_protocol' );Best regards,
MikeHi,
For the font 404 errors, it looks like this code is added to your header:@font-face { font-family:helveticabold;src:;font-display: swap;}
are you using the theme version of helvetica or are you adding it in your css or functions.php?
As for the H6 & SEO, Google does recognize the change in the DOM to the tags, so this would work. Making the change manually would be best, but since it is on 500+ products, making the change with jQuery is what I would recommend.Best regards,
Mike*It looks like Guenni007 and I were posting the same code at the same time 😂, thanks to Guenni007 for this code posted a while back 👍
January 28, 2021 at 2:29 pm in reply to: Solution for Single Template views (Toolset types and blocks)? #1276054Hi,
Very good, we will leave this open to hear back from you when you get a chance to check this.Best regards and have a great day,
MikeHi,
Thank you for the feedback, that is nice of the plugin author to offer to make changes for your site. We are expecting to release the next update by the end of Jan, I would recommend testing this version and WP 5.6 with the Mailchimp features and the Html5 Audio Player PRO plugin and all of the other plugins deactivated on your testing clone to see if this continues.Best regards,
MikeHi,
I see, if you can make a staging copy please do, it would be better than testing on your live site.Best regards,
MikeHi,
Sorry for the very late reply, I would recommend trying the Portfolio Grid element, you would need to create a portfolio item for each image, the Portfolio Grid allows sorting and lightbox viewing of the image. You can also have the images link externally if you use the override link option in the portfolio items. The title that shows below the items can be hidden with css, if you wish.
I recently assisted with a similar thread were a plugin Portfolio Gallery was the solution because WordPress doesn’t assign categories or tags to media items to allowing sorting. I understand that you don’t want to use another plugin, but I thought I would point this out.Best regards,
MikeHi,
Your welcome, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeHi,
Thank you for the link, try adding this code to the end of your functions.php file in Appearance > Editor:function custom_h6_tabcontainer_script() { ?> <script> (function($) { $(document).ready(function(){ function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('#top.single-product .tabcontainer.sidebar_tab_left .tab_inner_content > h6', '<p></p>'); }); }(jQuery)); </script> <?php } add_action('wp_footer', 'custom_h6_tabcontainer_script');This should only work if your single products have a tab container with a left sidebar and the inner container has an H6, this should be specific enough to not conflict with any other H6’s on your site, but please clear your browser cache and check.
Best regards,
MikeHi,
Sorry for the very late reply and thanks for the screenshot. To edit the links for your translation or to add more links that is not in the original text, you will need to edit the “translation” post manually. Please see this documentation.Best regards,
Mike -
AuthorPosts
