Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

[Solved] MyCred Badge Alignment - Horizontal


Derek Dunne
Posts: 4
Customer
Topic starter
(@derek-dunne)
Member
Joined: 2 months ago

Hi 

I've recently installed MyCred and adjusted the CSS to show badges in a size of 300x100 using the below 

define( 'MYCRED_BADGE_WIDTH', 300 );
define( 'MYCRED_BADGE_HEIGHT', 100; );

Although this has worked fine I can't seem to get the badge to display centered. Can anyone help with this?

Screenshot 2021 08 28 at 00.42.11

 

 

4 Replies
Kyle
Posts: 76
 Kyle
Admin
(@kylew)
Member
Joined: 3 months ago

Hi @derek-dunne,

Please give us your forum URL, we will try to find out how to resolve that issue.

Derek Dunne
Posts: 4
Customer
Topic starter
(@derek-dunne)
Member
Joined: 2 months ago
Kyle
Posts: 76
 Kyle
Admin
(@kylew)
Member
Joined: 3 months ago

@derek-dunne,

Insert the above CSS code in Dashboard > Forums > Settings > Styles Tab > Custom CSS Code Field:

#wpforo #wpforo-wrap .wpforo-mycred-badges-wrap .mycred-users-badges .the-badge {
    max-width: none !important;
}
Derek Dunne
Posts: 4
Customer
Topic starter
(@derek-dunne)
Member
Joined: 2 months ago

That worked perfect. Thanks for the help Kyle

Share:
Scroll to top