Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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

    #1378082

    Hey 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,
    Ismael

    #1378084

    Hi Ismael,
    Yes sent in private content
    https://img.savvyify.com/image/XGBL
    https://img.savvyify.com/image/X7v3
    Thank you

    GJ

    #1378130

    Hi 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,
    Yigit

    #1378198

    HI 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
    GJ

    #1378256

    Hi 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,
    Yigit

    #1378335

    Hi 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

    #1378591

    Hi,

    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,
    Yigit

    #1378631

    Hi Yigit,

    Sorry about it. This server was previously set with another domain. New access sent in private.

    #1378709

    Hi,
    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,
    Mike

    #1378713

    Hi 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

    #1378715

    Hi,
    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Problem to change title h1 to P in slider’ is closed to new replies.