• Customer

    Custom name

    Posted by: Ricardomb75 Nov 22, 2020 at 14:03 (3 year ago)
    Hello,
    I changed armania's theme name by my custom name but every time the home page is rendering armania tilte shows up a few seconds before my custom name appears. Especialy on mobile device
    This is what I did in my functions.php file and my js folder: /www/wp-content/themes/armania-child/js:

    document.addEventListener('DOMContentLoaded', function () {

    //Change the title site in the header if no logo

    let html = document.querySelector('.text').innerHTML;
    let html_1 = document.querySelector('.highlight').innerHTML;

    let newText = html.replace(/Arma/g, 'Deuces');
    let newText_2 = html_1.replace(/nia/g, '-rose');

    document.querySelector('.text').innerHTML = newText;
    document.querySelector('.highlight').innerHTML = newText_2;

    //Change the placeholder text in the input search field
    document.getElementsByName('s')[0].placeholder = 'Vous cherchez un article ?';
    });

    What is the best way to achieve that ?. Thank you in advance.

  • Customer

    Posted by: yame, Nov 23, 2020 at 09:31 (3 year ago)

    Hi, @Ricardomb75

    I still do not see your admin account. Please provide it.
    And take the screenshots for your issue also. My coder will check faster

    Thank you!
    Regards,
    Yame

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible