Notifications
Clear all

wpForo 1.x.x [Solved] Posts and Topics description Hyperlinks colors!?

6 Posts
2 Users
0 Reactions
1,206 Views
Posts: 109
Topic starter
(@beyondforce)
Estimable Member
Joined: 6 years ago

Hey Guys,

Can someone please help me, I want to change the color (active, hover, visited) of hyperlinks inside a Post/Topic without affecting all the other links elements in the forum!

I have tried this, but it affects also Topics titles and that's not what I want:
.wpfcl-a{color:#F99245;}
#wpforo #wpforo-wrap a:hover{color:#0078D7;}
#wpforo #wpforo-wrap a:active {color:#0078D7;}
#wpforo #wpforo-wrap a { color:#F99245; }
#wpforo #wpforo-wrap a:visited { color:#0078D7; }
#wpforo #wpforo-wrap a {text-decoration: none;}

Is it possible to targat ONLY the hyperlinks inside a Post/Topic description?

Thanks.

5 Replies
Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @beyondforce,

Please remove that CSS code, and make sure it's removed from cache too. Then use this CSS code:

#wpforo #wpforo-wrap .wpforo-post-content a { color:#F99245; }
#wpforo #wpforo-wrap .wpforo-post-content a:hover{color:#0078D7;}
#wpforo #wpforo-wrap .wpforo-post-content a:active {color:#0078D7;}
#wpforo #wpforo-wrap .wpforo-post-content a:visited { color:#0078D7; }
Posts: 109
Topic starter
(@beyondforce)
Estimable Member
Joined: 6 years ago

Hi @Robert, thanks it working 🙂

But I have noticed some else really odd... If I take out this line "#wpforo #wpforo-wrap .wpforo-post-content a:active {color:#0078D7;}" then suddenly the Category widget is showing up to the left of the Recent Posts widget.

Do you know why is it happening? Or how I can disable/hide this Category widget?

3 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@beyondforce

This is not related to the code I provided. It seems you've some incomplete code when you add/remove recent codes. You have syntax error somewhere. The code I provided cannot be reason you this issue. Even if you add remove it it doesn't mean that the code this issue. make sure other codes before and after this code is correct.

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591
Posted by: @beyondforce

Hi @Robert, thanks it working 🙂

You use double sidebars. It's already explained in Doc that you should one of those. And I think you've hidden that sidebar using CSS. That's incorrect. So please remove all widgets form wpForo Sidebar in Dashboard > Appearance > Widgets admin page and read this doc: https://wpforo.com/docs/root/getting-started/forum-sidebar-and-widgets/wpforo-sidebar/

 

(@beyondforce)
Joined: 6 years ago

Estimable Member
Posts: 109

@robert

You are right. I'm not sure how the Category widget sneaked in :-O

Thanks for the help 👍