Skocz do zawartości
Hosting webh.pl - 20%

Can anyone help me with that code?

Rekomendowane odpowiedzi

Opublikowano

Hi there. I'm using IPS 5, with default theme. But i've notice that the avatars in the comment's section in the gallery are small. I want to increase the size only of those avatars there, but i don't know how to target the code only for the gallery section.  Can anyone give me the corect class/id to do so?

image.thumb.png.eca6ea54ff1c0a51e628d8ac90d7af14.png

Opublikowano

Hello Welcome at Invisionize,

 

You can use .ipsUserPhoto class under some parent gallery class.

something like .galleryCommentPhoto .ipsUserPhoto

Edytowane przez Danloona

Fajnie, że czytasz moją sygnaturkę, jeśli chcesz możesz również poczytać mojego bloga/forum do czego Ciebie serdecznie namawiam.

A tak poza tym z fartem mordeczko... 😉

Opublikowano
  • Autor
On 9/13/2025 at 12:48 AM, Danloona said:

Hello Welcome at Invisionize,

 

You can use .ipsUserPhoto class under some parent gallery class.

something like .galleryCommentPhoto .ipsUserPhoto

 

I have tried:

.galleryCommentPhoto .ipsUserPhoto {
    width: 100px;
    height: 100px;
}
But nothing changes. Maybe the class is the correct. 
 
Or
.galleryCommentPhoto .ipsUserPhoto {
    width: 50px;   /* задава ширина */
    height: 50px;  /* задава височина */
    object-fit: cover; /* подрязва/центрира снимката, вместо да я разтяга */
    border-radius: 5px; /* по избор – заобляне на ъглите */
}

 
Opublikowano
[data-ips-hook="galleryCommentWrap"] > .ipsPhotoPanel > .ipsUserPhoto, .ipsPhotoPanel .ipsAvatarStack {
    width: var(--i-photoPanelAvatar, 3em);
}

 

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.