Forum Replies Created
-
AuthorPosts
-
Hi,
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,
MikeHi,
Thanks for sharing Guenni007, this looks nice, but the main goal of THP Studio is to achieve a skewed border between the two buttons like in this example

do you have any ideas to achieve this?Best regards,
MikeJanuary 14, 2023 at 3:28 pm in reply to: "Menu Links in overlay/slide out" not available under Advanced Styling #1378677Hi,
Thank you for your patience and glad Günter could help you, as for your css question you may have some other css conflicting because I couldn’t duplicate the issue. Please link to your page with the menu so I can examine and offer some css to get an underline on hover for the menu items.Best regards,
MikeHi,
Thanks for the link to the example, these buttons have multiple divs in them to create the skew so we would not be able to style one of our buttons to match this, but you could add these buttons to your page in a Code Block element, on my example page I added the button code and the css in the same Code Block element:

try this code:<style> .home-section-cta-wrap { position: relative; z-index: 100; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-top: 24px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .main_color .home-section-cta-wrap a { color: #fff !important; } .skewed-button { position: relative; width: 180px; padding: 10px 60px 10px 32px; -webkit-transition: width 0.2s ease; transition: width 0.2s ease; font-weight: 500; text-align: center; text-decoration: none; } .skewed-button-bg { position: absolute; left: 0; top: 0; right: 32px; bottom: 0; z-index: -1; border-style: solid none solid solid; border-width: 1px; border-color: #e0e0e0; border-top-left-radius: 1px; border-bottom-left-radius: 1px; border-bottom-right-radius: 1px; } .button-skew { position: absolute; left: auto; top: 0; right: 0; bottom: 0; z-index: -1; width: 50%; margin-top: -1px; margin-right: -18px; margin-bottom: -1px; border-top: 1px solid #000; border-right: 2px solid #000; border-radius: 0 2px 1px 1px; -webkit-transform: skew(-45deg, 0deg); -ms-transform: skew(-45deg, 0deg); transform: skew(-45deg, 0deg); } .skewed-button.skewed-button--right { margin-left: -12px; padding-right: 32px; padding-left: 60px; } .skewed-button-bg.skewed-button--right.cc-pink { border-style: solid; border-color: #ff6180; background-color: #ff6180; } .skewed-button-bg.skewed-button--right { left: 32px; right: 0; border-top-right-radius: 1px; border-bottom-left-radius: 0; } .button-skew.button-skew--right { left: 0; right: auto; margin-right: 0; margin-left: -22px; border-style: none none solid solid; border-bottom-width: 1px; border-left-width: 2px; border-radius: 1px 0 0 2px; } .button-skew { background-color: inherit; border-color: inherit !important; } .skewed-button:hover { width: 200px; } </style> <div class="home-section-cta-wrap"> <a href="#" class="w-inline-block skewed-button"> <div class="skewed-button-bg"> <div class="button-skew"></div> </div> <div>Learn more</div> </a> <a href="#" class="skewed-button skewed-button--right cc-white-text w-inline-block"> <div class="skewed-button-bg skewed-button--right cc-pink"> <div class="button-skew button-skew--right"></div> </div> <div>Buy now</div> </a> </div>Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
I hope this helps.Best regards,
MikeJanuary 14, 2023 at 2:14 pm in reply to: How would I achieve the Parallax look (plus a little more) #1378675January 14, 2023 at 1:49 pm in reply to: Sidebar issues with Woocommerce product page + Page Templates #1378672Hi,
Thanks for the feedback, you are correct I forgot to add the css:#top.single-product .template-shop { padding-top: 0; } #top.single-product .template-shop .product .single-product-main-image, #top.single-product .template-shop .product .single-product-summary { padding-top: 50px; }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.
Best regards,
MikeHi,
@Angeladlh Thank you for your patience, right now the only way to add the tags in the blog element when using the single author,small preview like you are is with the modified /enfold/includes/loop-index.php file that I linked to above.
The Dev Team will make this feature available in the v5.4 update, so if you want to wait until then you won’t need to modify the file.
Please let us know if you need further assistance or if we shall we close this thread.Best regards,
MikeJanuary 13, 2023 at 7:11 pm in reply to: How would I achieve the Parallax look (plus a little more) #1378637Hi,
I created a new page for you linked below with the parallax demo and added your slider to the top so you can examine the elements and see how this works.
You can use this as your new homepage if you wish and add more of your content if you wish or just model it into your existing homepage.Best regards,
MikeHi,
When I check it looks like it has no image or link so there is nothing to show, if you do have an image in the backend please include an admin login in the Private Content area so we can also see the backend. Is this one also going to have a link? If so please apply the link and image the way you want it in the backend so we can see why it is not showing on the frontend.Best regards,
MikeHey Tim,
Can you link to a working example of this button so we can examine it without having to write the whole thing from scratch?Best regards,
MikeJanuary 13, 2023 at 2:03 pm in reply to: Sidebar issues with Woocommerce product page + Page Templates #1378584Hi,
Thanks for your questions, to have the sidebar line separator go to the top you can use this css:
You can show 5 columns of related products with this woo shortcode[related_products columns="5" limit="5"]but a scroll or slide option is not available.
So to add this to the product summary area we can add this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_action('init','five_related_products_after_single_product_summary', 50); function five_related_products_after_single_product_summary() { add_action( 'woocommerce_after_single_product_summary', 'add_five_related_products', 25); } function add_five_related_products() { if(is_product()) { echo do_shortcode( '[related_products columns="5" limit="5"]' ); } }and this css:
.shop_columns_3 .products.columns-5 .product { margin: 0 1% 1% 0; width: 19%; }this is the expected results:

to hide the original related products area add this css:#top.single-product #main #av_section_1 { display: none; }Best regards,
Mike -
AuthorPosts









