最近の検索
最近の検索はありません

Nick Sturrock
参加日2021年5月13日
·
前回のアクティビティ2021年10月16日
フォロー中
0
フォロワー
0
合計アクティビティ
1
投票
0
受信登録
0
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Nick Sturrock
Nick Sturrockさんがコメントを作成しました:
コメントCustomer portal
I found the simplest approach to change all instances of elements with text 'Submit a request' (in this case hyperlinks, page titles and breadcrumbs) in the Copenhagen theme was using the following Javascript, placed at the top of the script.js function inside the document.addEventListener('DOMContentLoaded', function():
// translate 'submit a request' to 'contact us'
Array.prototype.forEach.call(document.querySelectorAll('a,h1,li'), function(a) {
if (a.textContent.includes("Submit a request")) {
a.textContent = 'Contact Us';
}
});
コメントを表示 · 投稿日時:2021年3月24日 · Nick Sturrock
0
フォロワー
3
投票
0
コメント