wordpress網站怎么美化評論框

先看結果 , 是不是很心動?其實很簡單 , 跟著小編一路來進修把 , 若何美化wordpress網站的評論框 。

wordpress網站怎么美化評論框



需要這些哦
心怡的圖片
wordpress網站
方式/
1在本家兒標題問題錄中找到comments.php文件

wordpress網站怎么美化評論框



2打開comments.php文件找到以下代碼 , 點竄為以下 , 如許你評論框就會多出你怎么看的文字
<p?class="comment-form-comment"><textarea?placeholder="你怎么看?"?id="comment"?name="comment"?rows="4"?tabindex="4"?onKeyDown="xx
(this.form.comment,this.form.total,this.form.used,this.form.remain);"?onKeyUp="xx(this.form.comment,this.form.total,this.form.used,this.form.remain);"></textarea></p>

wordpress網站怎么美化評論框



3找到一個你喜好評論美化圖片 , png最好

wordpress網站怎么美化評論框



4在本家兒題樣式CSS里添加以下代碼XX為網址路徑一般是main.css
#commentform textarea {background-image:url(http://xxxxxxxxxx/2.png);background-repeat:no-repeat;background-position:center;}

wordpress網站怎么美化評論框



5【wordpress網站怎么美化評論框】最后再到網站前臺刷新評論處看看吧

wordpress網站怎么美化評論框



注重事項注重CSS要放到本家兒題樣式CSS里
若是有幫到你 , 請點個贊、投一票幫忙更多的人

以上內容就是wordpress網站怎么美化評論框的內容啦 , 希望對你有所幫助哦!

    猜你喜歡