Forum Replies Created
-
AuthorPosts
-
May 9, 2020 at 10:36 pm in reply to: Contact Form 2 Questions – Return Name and Making a Form Field Optional #1211520
Hi,
Glad to hear, thanks 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 a new thread and we will gladly try to help you :)Best regards,
MikeHey Tarek,
Sorry for the late reply, this shortcode solution still works, it gives you the title and date as two different shortcodes.
For a more complete meta shortcode try adding this code to the end of your functions.php file in Appearance > Editor: (code updated with following fix)function post_meta_shortcode(){ ob_start(); $the_id = avia_get_the_id(); $taxonomies = get_object_taxonomies(get_post_type($the_id)); $cats = ''; $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id); if(!empty($taxonomies)) { foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } if(!empty($cats)) { echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." "; echo $cats; echo '</span>'; } echo "<span class='post-meta-infos' style='margin-top: -25px;'>"; $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false)); echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>"; echo "<span class='text-sep text-sep-date'>/</span>"; if ( get_comments_number() != "0" || comments_open() ){ echo "<span class='comment-container minor-meta'>"; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo "</span>"; echo "<span class='text-sep text-sep-comment'>/</span>"; } echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." "; echo '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>'; echo '<span class="vcard author"><span class="fn">'; the_author_posts_link(); echo '</span></span>'; echo '</span>'; echo '</span>'; echo '</span>'; return ob_get_clean(); } add_shortcode( 'sc_post_meta', 'post_meta_shortcode' );and then use the shortcode
[sc_post_meta]

Best regards,
Mike-
This reply was modified 5 years, 9 months ago by
Mike. Reason: updated code with following fix
Hi,
Sorry for the late reply and thanks for the links and images, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.modal-content { top: 100px !important }This moves the popup down a little to center & also makes the whole popup visible.
Best regards,
MikeHi,
As I understand, you are posting the YouTube link into a post directly, and sometimes it doesn’t change into a video element. This is a native WordPress function and in my tests on a new install it seems to work correctly, so I would recommend disabling all plugins and then try enabling one at a time, to recreate the error. Also are you hitting the [return] key after the video URL? Try a regular space first then a [return] key. Are you editing in the “visual” or “text” tab?Best regards,
MikeMay 9, 2020 at 5:08 pm in reply to: Changing H2 and height of colour section for mobile – urgent #1211432Hi,
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 and thanks for the login. This seems to be an issue with the animation from the tabs and the timeline inside running at the same time. I have tried disabling the animation of both with the element options and css, but this didn’t help. I notice that if the timeline is outside of the tabs on the same page it loads fine. I copied your page to my localhost for further testing, but in the interest of getting your page to load correctly right away, I disabled your timeline and added an HTML version with no animation in a code block in the tab and it seems to fully load each time.
Please clear your browser cache and check that this helps for now.Best regards,
MikeHi,
Sorry, I’m not sure what you mean, so far we have not looked at any code for color, are we successful with the margins and now are on a new topic? Typically we prefer to keep each thread on a single topic, but I’m not seeing anything out of place with your sidebar color?Best regards,
MikeHey nunop,
Sorry for the late reply, I see your site languages arenl-NL&en-GBso using the solution from here, would need to be modified to this:
Please add your text into the field as following<span class="eng-cookie">Your text in English</span> <span class="nl-cookie">Your text in Nederlands</span>Then add following code to Quick CSS
html[lang="nl-NL"] .eng-cookie { display: none !important; } html[lang="en-GB"] .nl-cookie { display: none !important; }Please try adjusting and the clear your browser & site cache and check.
Best regards,
MikeHey Michael,
Sorry for the late reply, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.abbinder a { width: 100% !important; }After applying the css, please clear your browser cache and check.
Best regards,
MikeMay 9, 2020 at 11:35 am in reply to: Changing H2 and height of colour section for mobile – urgent #1211374Hi,
Sorry for the late reply, and thanks for the login, to make your slider H1 bold I added this css:@media only screen and (max-width: 767px) { #top.home #full_slider_2 > div > div > div > div > div > div > h1 { font-weight: bolder !important; } }and for the other section I added this css:
@media only screen and (max-width: 767px) { #top.home #av_section_1 > div > div,#top.home #after_section_1 > div > div { padding: 0px !important; } }Please clear your browser cache and check.
Best regards,
MikeHi,
I checked your page on a Mac with Safari 13.1, please see the video in the Private Content area, but I don’t see the shake either.Best regards,
MikeHi,
You can add this code to the end of your child theme functions.php file in Appearance > Editor:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }then add a directory
shortcodesto your child theme and copy the directory\enfold\config-templatebuilder\avia-shortcodes\menu\to theshortcodesdirectory.
Then edit your files to suit, the child theme will then load the function instead of the parent theme.
Then clear your browser & site cache and check.Best regards,
MikeHi,
Do you mean that theHeader set Access-Control-Allow-Origin "*"in the .htaccess works for 4.6.3.1 and not on 4.7.4? That is odd, if we had a admin login and ftp access we would be able to check.Best regards,
MikeHi,
Sorry, I see that you are using the plugin “Ultimate Woo Auction Pro”, but I don’t see a way to add this info from the product tabs to the frontend. Please try asking the plugin support if they have a function or shortcodes to do this, perhaps they have a solution for this.Best regards,
MikeHi,
If you have redesigned the page and don’t need the css then you could remove it.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
I see that you are using v4.4.1, once you update you will see an option to set the default editor to the “Classic Editor” or the “Block Editor” (Gutenberg) and then you should see the Coblock plugin options, but I don’t know if this will work well in Enfold.
You will need to update via FTP because this version was when Envato changed from the “API” to the “Token” method.The easiest and safest way to update is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.Best regards,
MikeHi,
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,
Oh, I understand now, but I don’t know how this would be possible. When this occurs does it show in the revisions?Best regards,
MikeHi,
Thank you are sharing, I will submit to the dev team to be added to the theme.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
Sorry, I tried a few ways to add another offset to this but it didn’t work as expected. So if the online version is working correctly and your localhost version is not, perhaps there is a conflict or an error in the script. Try disabling your plugins and ensure that your Enfold Theme Options > Performance > Load jQuery in your footer is disabled.
Try reading about the browser “console panel” and see if your localhost gives any errors when you click the buttons.Best regards,
MikeHi,
Thank you, this css would correct the margins:@media only screen and (min-width: 768px) { .responsive #main .container { max-width: 100% !important; width: 100% !important; padding: 0 50px !important; text-align: center !important; } }but with that page being two centered columns, I added the
text-align: centerbut I’m not sure if every page should be centered, or only one? Please check your pages and advise.Best regards,
MikeHi,
Thanks for the login and links, but I’m not sure what the issue is, is “contactform-EN” a class?
You say that the forms are correct right now, but sometimes they change, perhaps the form labels change language when your browser detects a different language? I use Chrome and Google Translate sometimes does this to me.
Is this what you mean, or is it something else that changes?Best regards,
MikeHi,
Thank you for the FTP details, I was able to use it, but can you please include an admin login.Best regards,
MikeHi,
Sorry, I don’t see “contactform-EN” in the shortcode, please link to some pages that showing this and the other languages.Best regards,
MikeHi,
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,
Please link to an example page without a sidebar that has the large margins.Best regards,
MikeHi,
Thanks for the video, apparently firefox has a known printing issue, the Mozilla support suggests using a plugin to correct. This doesn’t occur with Chrome.
I believe the gray line is added by the browser print function and can’t be overridden. This article explains the limitations of the print.css, here is a more in-depth article about print.css, unfortunately, I didn’t find anything that can hide this line.Best regards,
MikeMay 6, 2020 at 12:31 pm in reply to: Resizing space between columns + centering them on the page #1210307Hi,
Thanks for the screenshot. This css will give you the 1% column margin for the 1/4 columns on that one page:#top.page-id-10687 #av_section_1 .entry-content-wrapper .av_one_fourth { width: 22%; margin-left: 1%; margin-right: 1%; }but to center the 1/4 columns we will need to wrap them in a div because the first few columns brake if they are also centered with flex, so to wrap the columns, try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_script(){ ?> <script> (function($){ $(document).ready(function(){ $('#top.page-id-10687 #av_section_1 .entry-content-wrapper .av_one_fourth').wrapAll('<div id="coaching">'); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');also ensure that the option Enfold Theme Options > Performance > Load jQuery in your footer is disabled and no other plugin is moving the jQuery to the footer.
Then add this css:#top.page-id-10687 #coaching { justify-content: center; display: flex; }Then clear your browser cache and check, please see the screenshot in Private Content area of the expected results.
Best regards,
Mike -
This reply was modified 5 years, 9 months ago by
-
AuthorPosts
