-
AuthorPosts
-
January 9, 2023 at 6:29 am #1378007
Hi,
I already make this is a previous version of the theme. Thank you for your help in my previous topic.
I am able to change almost of sliders in different languages but if failed in one of them with the latest version of Enfold.
In English slider I can change H tag to P without problem in Easy Slider – Content- Advanced – Heading tag.
But in French home page there is no Heading Tag Properties at all in Easy Slider – Content – Advanced
How can I change it also in French home page?
Thank you
GJ
January 10, 2023 at 6:11 am #1378082Hey joshuabcohen,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue, or post the login details in the private field so that we can check the element? You can use imgur, savvyify or dropbox. Thanks.
Best regards,
IsmaelJanuary 10, 2023 at 6:19 am #1378084Hi Ismael,
Yes sent in private content
https://img.savvyify.com/image/XGBL
https://img.savvyify.com/image/X7v3
Thank youGJ
January 10, 2023 at 1:44 pm #1378130Hi GJ,
I tried to reproduce the issue on my local installation using French however it works fine for me.
Heading tag section gets “avia-hidden” class in French version on your site and therefore it is hidden. Could you please try switching to Enfold parent theme temporarily and check if that helps? If it does not, please try de-activating all active plugins except for WPML and activate them one by one to find the culprit.
Best regards,
YigitJanuary 11, 2023 at 4:30 am #1378198HI Yigit,
Effectively switching to Enfold parent solved partly the problem. With parent theme I can see the the heading tag option. But I cannot let the parent theme in place too many changes where made in the child theme.
I see that the web designer change so many thing in the child theme that I am not able to figure out how to solve it yet.
Could you tell me where I can go to correct this “avia-hidden” please ?
Thank you
GJJanuary 11, 2023 at 1:20 pm #1378256Hi GJ,
I would suggest commenting out the functions in functions.php file inside your child theme and if it does not help, you could try updating other files you have on your child theme such as footer.php file.
If you would like us to comment out your functions in functions.php file, please post FTP logins here privately as well so in case anything goes wrong, we can quickly recover :)
Best regards,
YigitJanuary 12, 2023 at 6:04 am #1378335Hi Yigit,
Like you suggest I comment out the functions in functions.php.Everything from the theme was lost. Only html of the content remains. So I let functions.php like it was.For me it seems to have to many functions in it to comment out everything. Could show me what element is causing the heading tag disappears in functions.php ?
I add FTP Credentials and I also have a backup.
Thank you
GJ
January 13, 2023 at 2:27 pm #1378591Hi,
Thanks but path seems to be incorrect as the only file I am seeing when I connect to your server is “.ftpquota”. Could you please set the path to root of your WordPress installation?
Best regards,
YigitJanuary 13, 2023 at 5:52 pm #1378631Hi Yigit,
Sorry about it. This server was previously set with another domain. New access sent in private.
January 14, 2023 at 11:05 pm #1378709Hi,
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,
MikeJanuary 14, 2023 at 11:49 pm #1378713Hi Mike,
Yes it fix this problem and at first glance it does not seem to create any problem elsewhere.
You can mark this topic as resolved.
Thank you Mike for your help.
GJ
January 15, 2023 at 12:06 am #1378715Hi,
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,
Mike -
AuthorPosts
- The topic ‘Problem to change title h1 to P in slider’ is closed to new replies.