Thanks Ernest Marcinko
Like always you are always awesome on the support part.
its added to the functions.php file as i am not using a child theme because i never touch the functions file or anything except the custom css would this be in the future updates if its an issue from the code, or its something from my site only?
i dont have any doubts 🙂
But anyways thanks for the help and i am using this function for now.