# Problemi con l'impostazione dei commenti ajax

**URL:** https://meta.discourse.org/t/issues-with-setting-up-ajax-comments/224455
**Category:** WordPress
**Created:** [16 Aprile 2022, 12:26am UTC](https://meta.discourse.org/t/issues-with-setting-up-ajax-comments/224455 "2022-04-16T00:26:29Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [19 Aprile 2022, 5:17pm UTC](https://meta.discourse.org/t/issues-with-setting-up-ajax-comments/224455/7 "2022-04-19T17:17:33Z")

</div>

Grazie ancora per l’ulteriore aiuto e la guida!

Ho letto e cercato CSS da incollare che migliorassero anche solo un po’ il layout.  
Tuttavia, non avendo familiarità con CSS/styling (oltre a incollare CSS _esistente_), vorrei apportare modifiche molto basilari allo stile dei commenti importati. Nello specifico, utilizzare immagini avatar più piccole accanto ai nomi utente di discourse nei commenti e aggiungere una linea orizzontale tra i post:  
 ![image](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/4X/b/6/f/b6fe7843f611a8984de3b6bca45ec16b2c4bb531_2_690x51.png)

È qualcosa di abbastanza semplice da poter incollare del codice in **/admin/customize/themes/1/common/scss/edit**?

**Modifica:**  
Per chiunque altro, sono riuscito a risolvere il ridimensionamento di gravatar usando il codice qui:

> [@Customize the structure of WP Discourse templates](https://meta.discourse.org/t/wp-discourse-template-customization/50754/42?u=haydenjames):
>
> Edit: I got it working and pasted the correct code below for anyone else with same challenge: @angus After some reading I found the location to override the size of gravatar on WP Discourse comments. in my functions.php I added this (but get error/see below): // Customizes the comment\_html template. function my\_wpd\_comment\_html( $input ) { ob\_start(); ?\> \<li class="comment \<?php echo $even ? 'even' : 'odd'; ?\> depth-1"\> \<article class="comment-body"\> \<footer class="comment-meta…

---

_[View the full topic](https://meta.discourse.org/t/issues-with-setting-up-ajax-comments/224455)._
