• Customer

    Custom name

    Posted by: Ricardomb75 Nov 22, 2020 at 14:03 (4 months ago)
    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 (4 months 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!


Theme Installation: $49. Pay now


Use our expert service to turn your ideas into reality. Click here to provide your needed information.


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