MyBB Community Forums

Full Version: Profile/thread rating stars too big
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't know if I'm just stupid and missing something but I've changed the star_ratings.css file on the theme I am using to the myBB default but the size hasn't changed
Theme being used is Cerise (https://community.mybb.com/mods.php?action=view&pid=736)

[Image: QzMj3OB.png]
[Image: S2bdsQv.png]

Looks the same on default, the only plugins active are:
Display Usernames / Nicks Plugin (1.10)
DVZ Mentions (1.0.5)
DVZ Shoutbox (2.3.2)
MyReactions (0.0.4)
Steamlogin (1.8)
Any help is appreciated
Can you provide a link to your forum?
Star_ratings.css is for the Thread Rating. Postbit Userstars do not contain CSS by default - the reason why your userstars are so big is because the ../images/star.png is big. ACP > Templates & Style > Templates (Side menu) > Select Template set > Postbit templates > postbit_userstar

Find:

<img src="{$post['starimage']}" border="0" alt="*" />

Replace with:

<img src="{$post['starimage']}" border="0" alt="*" width="16px" height="16px"/>

Now under Member templates > member_profile_userstar

Find:

<img src="{$starimage}" border="0" alt="*" />

Replace with:

<img src="{$starimage}" border="0" alt="*" width="16px" height="16px" />

Adjust the width and height if necessary.
(2018-08-25, 01:52 AM)Wires Wrote: [ -> ]Can you provide a link to your forum?

(2018-08-25, 03:11 AM)Wires Wrote: [ -> ]Star_ratings.css is for the Thread Rating. Postbit Userstars do not contain CSS by default - the reason why your userstars are so big is because the ../images/star.png is big. ACP > Templates & Style > Templates (Side menu) > Select Template set > Postbit templates > postbit_userstar

Find:

<img src="{$post['starimage']}" border="0" alt="*" />

Replace with:

<img src="{$post['starimage']}" border="0" alt="*" width="16px" height="16px"/>

Now under Member templates > member_profile_userstar

Find:

<img src="{$starimage}" border="0" alt="*" />

Replace with:

<img src="{$starimage}" border="0" alt="*" width="16px" height="16px" />

Adjust the width and height if necessary.

Thank you so much, One less thing off my plate of orange Big Grin