Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Solved] font-weight change, does not work

17 Posts
3 Users
0 Reactions
4,638 Views
finalcut
Posts: 24
Topic starter
(@finalcut)
Eminent Member
Joined: 7 years ago

I would like to change the "font-weight" of the user profile (from the menu - my profile). In the custom CSS code I entered this code:
# wpforo-wrap .wpforo-profile-wrap .profile-display-name {
    font-size: 20px;
    text-shadow: 0px 0px #fefefe;
    line-height: 24px;
    font-weight: 400! important;
    margin-top: 10px;
    display: inline-block;
    margin-bottom: 5px;
    text-align: left;
    padding-left: 40px;
    padding-top: 50px;
}

But unfortunately it works ONLY after cleaning the cache. After requesting the profile again, the font-weight returns to the standard 200. How is this possible?
How can I make the change permanent?
Thank you

16 Replies
finalcut
Posts: 24
Topic starter
(@finalcut)
Eminent Member
Joined: 7 years ago

I tried them all but it still does not work. I do not understand; it should be a simple thing compared to certain changes I've made.

Sofy
Posts: 5483
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

@finalcut,

Please try this CSS code, it should change the font-weight of the user profile:

#wpforo #wpforo-wrap .wpf-profile-data-wrap .profile-display-name {
font-weight: 400 !important;
}
2 Replies
finalcut
(@finalcut)
Joined: 7 years ago

Eminent Member
Posts: 24

OK, Sofy is already better but not perfect yet. In fact, when I choose the account the font-weight remains standard; but if I do ctrl-F5 the change you suggested appears. This too is very strange.
I think I will give up. Roberto

Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

It would be easy for me to check if you leave some example URL. And please don't remove the code I've provided. The code should be added in Dashboard > Forums > Settings > Styles > "Custom CSS code" textarea. 

finalcut
Posts: 24
Topic starter
(@finalcut)
Eminent Member
Joined: 7 years ago
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

I don't have permission to view this page, even if I've registered. 

finalcut
Posts: 24
Topic starter
(@finalcut)
Eminent Member
Joined: 7 years ago

try now

1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

Thank you @finalcut,

Everything works fine. Watch the video below. You just need to click CTRL+F5 on the frontend to load new style, browser cache doesn't load new changes. 

https://www.screencast.com/t/c43gdWAC2O

Page 1 / 3