Forum Replies Created
-
AuthorPosts
-
January 15, 2023 at 6:59 pm in reply to: Memberpress Page Template has been replaced by default page template #1378766
Hi,
Glad to hear the css helped, unless there is anything else we can help with on this issue, shall we close this then?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 15, 2023 at 5:19 pm in reply to: Memberpress Page Template has been replaced by default page template #1378759Hi,
I believe Ismael has pointed to the correct solution, I don’t know why this occurred or a quicker way to correct it.Best regards,
MikeJanuary 15, 2023 at 5:15 pm in reply to: Enfold update from (4.6.3.1) to new Version (5.2.1) is not working #1378757Hi,
That is because the zip file you tried was not the installable WP version from your Theme Forest account, it was the full zip with the documentation.
Please check again carefully there are two download links, you want the installable WP version
If you did check carefully and you still get this error then your web server doesn’t have the PHP ZipArchive Extension activated, you will need to ask your web host to activate this so WordPress can extract the zip file.Best regards,
MikeHi,
Glad to hear this has helped, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeHi,
It looks like your desktop element is hidden on mobile and a different element is used with a different ID
try adding this css for mobile:#top .content .flex_column .widget_nav_menu #menu-tageskurse-1 li a { padding: 0.1em 3px; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Thank you for your patience when I look at the links in your footer I see the social links are a “share box”.
I assume that you added this by using the “social buttons” element in your footer page, this element is a “share box” and not a social profile link.
You can copy the social profile code from your header and add in a code block element or you can use the icon elements to create your own social links.
Please see this thread
If you like the layout you currently have and just want to change the links for your footer page “share box”, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function change_share_box_links_to_social_profile_links() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ var facebook = "https://facebook.com"; var linkedin = "https://linkedin.com"; var instagram = "https://instagram.com"; var youtube = "https://youtube.com"; $("#footer-page .av-share-box-list").each(function(){ $(this).find(".av-share-link.av-social-link-facebook a").attr("href", facebook); $(this).find(".av-share-link.av-social-link-linkedin a").attr("href", linkedin); $(this).find(".av-share-link.av-social-link-instagram a").attr("href", instagram); $(this).find(".av-share-link.av-social-link-youtube a").attr("href", youtube); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'change_share_box_links_to_social_profile_links');
and adjust the social links to suit.
Best regards,
MikeJanuary 15, 2023 at 3:51 pm in reply to: Enfold update from (4.6.3.1) to new Version (5.2.1) is not working #1378745Hi,
@Mariann_m Please note that you are using v4.7.4 which uses the API that Envato doesn’t support anymore, also as I recall there was another error in that version.
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.
Best regards,
MikeJanuary 15, 2023 at 3:34 pm in reply to: Memberpress Page Template has been replaced by default page template #1378744Hi,
The “Event” breadcrumb at the end of your breadcrumbs has been added on by a plugin or script because the item before it has the class trail-end, for example, this is a proper breadcrumb:
and this is yours:
try disabling your plugins or switching to your parent theme to find where this is coming from.
If you can’t find it or it’s from something you can’t change you could use this css to hide siblings after the class trail-end:.breadcrumb-trail .trail-end ~ span { display: none; }
Best regards,
MikeHi,
Thanks for the link to your site, the first button has it’s hover color set with this css:.page-id-8476 #av_section_1 .button { background-color: #00A8A8; color: #fff; }
but the second button is in #av_section_3 so this first css won’t work, the correct css for this button is
.page-id-8476 #av_section_3 .button { background-color: #00A8A8; color: #fff; }
I added this for you, please clear your browser cache and check.
Best regards,
MikeJanuary 15, 2023 at 2:59 pm in reply to: Center two 1/3 layout elements within a color section #1378740Hi,
@Shawn thank you for sharing, I’m sure someone will find this helpful.
Since this thread is from 2019 we will go ahead and close this, but if you have any further tips or questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey schweg33,
Thanks for your question, but Google Translate doesn’t know the word “veklein”, so I assume you mean increase.
Try this css:#top .content .flex_column .widget_nav_menu #menu-tageskurse li a { padding: 1.8em 3px; }
adjust the 1.8em up or down to your liking, the default is 0.8em
Best regards,
MikeHi,
Thank you for the screenshot it helped explain the order, so I tested on the /lesson-tester/ page as you had applied the reverse order on mobile in the element options, this option wraps each row in an extra div making the reversal possible with flex.
I tested this css for tablet and it seems to work:@media only screen and (min-width: 768px) and (max-width: 989px){ .responsive #top #wrap_all .av-mobile-columns-flex { display: flex; flex-direction: row-reverse; flex-wrap: wrap; } .responsive #top #wrap_all .av-mobile-columns-flex .av_one_fourth:not(.column-top-margin) { margin-top: 50px; } }
lets try this on the /lesson-p1_33c/ page, set the reverse order on mobile in the element options, and test this css. If it works correctly then good, if not then remove the css but leave the reverse order on mobile in the element options enabled so I can test.
You will note in the above css I added a top margin for the first row because all of the other rows had a top margin, I’m not sure if this was because you had added a top margin in the backend to all rows but the first one, please check this on the /lesson-p1_33c/ page and make sure all rows have the same margin otherwise there will be no space between the top row 4 3 & 2 1Best regards,
MikeHi,
Thanks, it looks like the Avia Layout Builder Debugger but it looks like it is in the wrong place, was it like this before the page crashed or only after?
When adding shortcodes into elements it’s important to ensure that the closing tags are included, otherwise the theme will try to fix the error by adding the closing tags but sometimes it might add them into the wrong place causing the page to crash.
Typically you will need to use a backup to restore from this type of error.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,
MikeHi,
Can you include a screenshot of the red box, you can add screenshots by uploading your images to a screenshot host and pasting the HTML code or link in your post or the Private Content area.Best regards,
MikeHi,
Thank you for your patience as I understand you have adjusted your test page /lesson-tester/ so it is correct for mobile and desktop, and the issue now is tablet when it is two columns.
But you wrote above that on tablet it should be:
4 3
2 1this seems to be the way it is:
is this correct?for desktop it is
4321
mobile it is
1
2
3
4
and these are correct?so for your other pages like /lesson-p1_33c/ which I understand you have not done anything to,
desktop is correct with (top row only):
ZIQ YAQ KIN YAK
tablet with two rows is correct with (top row only):
ZIQ YAQ
KIN YAK
and mobile with one row should be
YAK
KIN
YAQ
ZIQ
so for this page mobile is the only one wrong right now, correct?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,
MikeHi,
Those results are for pages that end with /?s= which is used by WordPress for search results and WordPress makes those pages no-index
If you try going to one of those pages, as I have linked below, you will get a search not found error because the url is wrong.
I suspect that the crawler is following the search link in your menu for each page
Best regards,
MikeHi,
Thank you for your patience, to center the special heading and the subheading below it try adding this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#support .flex_column_table h1.av-special-heading-tag { text-align: center; } #support .flex_column_table .av-special-heading .av-subheading_below { text-align: center; }
Then to make the special heading full width add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_stretch_text_script() { ?> <script> (function($) { $.fn.stretch_text = function(){ var elmt = $(this), cont_width = elmt.width(), txt = elmt.html(), one_line = $('<span class="stretch_it">' + txt + '</span>'), nb_char = elmt.text().length, spacing = cont_width/nb_char, txt_width; elmt.html(one_line); txt_width = one_line.width(); if (txt_width < cont_width){ var char_width = txt_width/nb_char, ltr_spacing = spacing - char_width + (spacing - char_width)/nb_char ; one_line.css({'letter-spacing': ltr_spacing}); } else { one_line.contents().unwrap(); elmt.addClass('justify'); } }; $(document).ready(function () { $('#support .av-special-heading-tag').each(function(){ $(this).stretch_text(); }); }); }(jQuery)); </script> <?php } add_action('wp_footer', 'custom_stretch_text_script');
Please see the screenshot in the Private Content area.
Best regards,
MikeHey julhobart,
Thanks for the link to your pages, are you using html tags in title elements such as strong, for example do you ever see this error?
Typically this is the cause when the element is not accessible and the formatting is incorrect, if so please restore your backup and correct each one of these warnings to ensure you will not have further issues.Best regards,
MikeHi,
Thank you for your patience, I’m not sure why this is occurring only on your FR version but you could try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function slider_caption_title_to_p() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (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('#full_slider_2 h1.avia-caption-title ', '<p></p>'); }(jQuery)); }); </script> <?php } add_action('wp_footer', 'slider_caption_title_to_p');
This will change the slider h1 to p
Best regards,
MikeHi,
Thanks for the link to your site, your robots.txt is not blocking anything:User-agent: * Disallow:
and according to this site no-index is not found:
Best regards,
MikeJanuary 14, 2023 at 8:54 pm in reply to: Problem after change string before author in blog article #1378703Hey APcar,
Sorry for the trouble, please include an admin login in the Private Content area so I can adjust the code.
Also can you link to a page that shows the incorrectly changed “da” so I can determine which part of the function is doing this, because we added two lines to change the “da” and I tried to be careful that the function would first match the correct one first.
So if I can see the error it will help, perhaps you can add a screenshot by uploading your images to a screenshot host and pasting the HTML code or link in your post or the Private Content area.Best regards,
MikeHey Jean Gout,
Thanks for your login, I see that your server Max entry time is -1 please ask your webhost to change this as this should be around 180, and your PHP execution limit should be about 270.
These need to be changed so WordPress has the time to import the demos before it is timed out.Best regards,
MikeHey Angelo,
Sorry to hear you are having this trouble, I don’t have any ideas so I have asked the rest of the team for ideas. Thank you for your patience.Best regards,
MikeHi,
Glad to hear that you have this sorted out, and thanks for sharing your solution, 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 14, 2023 at 8:17 pm in reply to: How can I display the tag above the title on post blog? #1378696Hi,
Thanks for the feedback, If you are going to use the LayerSlider it allows HTML, so add the buttons to it and the css to your stylesheet.Best regards,
MikeJanuary 14, 2023 at 7:11 pm in reply to: Create shortcode for post navigation left/right arrows portfolio entries #1378693Hi,
Thanks for your patience, thanks for the screenshot, I can help you create a shortcode for the post navigation as two arrows in boxes like this:
Add this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_shortcode( 'prev', 'prev_shortcode' ); add_shortcode( 'next', 'next_shortcode' ); function next_shortcode($atts) { global $post; ob_start(); next_post_link( '<div class="next-shortcode">%link</div>', '>' ); $result = ob_get_contents(); ob_end_clean(); return $result; } function prev_shortcode($atts) { global $post; ob_start(); previous_post_link( '<div class="prev-shortcode">%link</div>', '<' ); $result = ob_get_contents(); ob_end_clean(); return $result; }
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.
Then add this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field or the WPcode plugin.prev-shortcode,.next-shortcode,.total-count { text-decoration: none; line-height: 40px; width: 40px; height: 40px; display: block; float: left; margin-left: -1px; overflow: hidden; border-style: solid; border-width: 1px; border-radius: 0px; text-align: center; } .prev-shortcode a,.next-shortcode a { line-height: 40px; width: 40px; height: 40px; display: block; }
Now you can place the shortcodes
[prev] [next]
in a code block where you want them to show
I notice that your screenshot showed a box that counted the number of posts, but I didn’t find a way to display the “number of number”.Best regards,
Mike -
AuthorPosts