Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to make a bold font-weight in buddypress widgets?


  • Iryna_B
    Participant

    @iryna_b

    Hi,

    I have the following buddypress widgets activated: recent replies, most popular topics. These widgets show author of the topic/reply as well. So, I was wondering if it’s possible to make a bold font-weight for topic/reply lines only, without affecting an author line?
    I tried this in firebug: #widget ul li a { font-weight: bold; }, but it made bold the whole content including an author line. I”d like the topics/reply lines to kind of stand out in a widget.
    Is it possible to do so?

Viewing 7 replies - 1 through 7 (of 7 total)

  • danbp
    Participant

    @danbp

    recent replies and most popular topics are not buddypress widgets.
    Recent replies belongs to bbpress, but i don’t know about most popular topics…

    Can you give the source code of those widgets please (but not the whole page) ?
    Highlight them in your browser, right-click > show selection source.


    Iryna_B
    Participant

    @iryna_b

    Is that it?

    <div class="widget-wrapper widget_display_topics" id="bbp_topics_widget-3"><div class="widget-title"><h3>Most Popular Topics in All Groups</h3></div>
    
        <div id="bbp_replies_widget-4" class="widget-wrapper widget_display_replies"><div class="widget-title”><h3>Recent Replies</h3></div> 

    danbp
    Participant

    @danbp

    Yes, but it is incomplete. This code shows only the widget title part.

    Use the code button when you insert code here. Thank you.


    Iryna_B
    Participant

    @iryna_b

    Is that it?

    <div id="bbp_topics_widget-3" class="widget-wrapper widget_display_topics"><div class="widget-title"><h3>Most Popular Topics in All Groups</h3></div>
    		<ul>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/updos-and-latest-trends/forum/topic/treatment-for-hair-growth/">Treatment for hair growth</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/cindy/" title="View miss_C's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/10/3ea29e589b04ec710f50fb22fdfdd53c-bpthumb.jpg" class="avatar user-10-avatar avatar-14 photo" alt="Profile photo of miss_C" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/cindy/" title="View miss_C's profile" class="bbp-author-name" rel="nofollow">miss_C</a></span>
    					
    					
    				</li>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/snacking-in-the-cold-weather/">Snacking in the cold weather</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/bett/" title="View Bett89's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/9/5fccb396fdd099e9b2839149d477e12f-bpthumb.jpg" class="avatar user-9-avatar avatar-14 photo" alt="Profile photo of Bett89" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/bett/" title="View Bett89's profile" class="bbp-author-name" rel="nofollow">Bett89</a></span>
    					
    					
    				</li>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/how-lond-did-it-take-you-to-get-into-prepregnancy-shape-2/">How lond did it take you to get into prepregnancy shape?</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/testadmin/" title="View Ukie's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/1/411299cd140c56a044e18afde16343b8-bpthumb.jpg" class="avatar user-1-avatar avatar-14 photo" alt="Profile photo of Ukie" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/testadmin/" title="View Ukie's profile" class="bbp-author-name" rel="nofollow">Ukie</a></span>
    					
    					
    				</li>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/conception/forum/topic/can-pregnancy-tests-be-mistaken/">Can pregnancy tests be mistaken?</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/shelby/" title="View Shelby_Lee's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/16/675c6c6dc1bff0d54ad793e1ea830a58-bpthumb.jpg" class="avatar user-16-avatar avatar-14 photo" alt="Profile photo of Shelby_Lee" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/shelby/" title="View Shelby_Lee's profile" class="bbp-author-name" rel="nofollow">Shelby_Lee</a></span>
    					
    					
    				</li>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/breastfeeding/forum/topic/how-many-of-you-breastfeeds-after-12-m-o-and-why/">How many of you breastfeeds after 12 m.o. and why?</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/testadmin/" title="View Ukie's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/1/411299cd140c56a044e18afde16343b8-bpthumb.jpg" class="avatar user-1-avatar avatar-14 photo" alt="Profile photo of Ukie" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/testadmin/" title="View Ukie's profile" class="bbp-author-name" rel="nofollow">Ukie</a></span>
    					
    					
    				</li>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/breastfeeding/forum/topic/funny-positions-during-breastfeeding/">Funny positions during breastfeeding</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/testadmin/" title="View Ukie's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/1/411299cd140c56a044e18afde16343b8-bpthumb.jpg" class="avatar user-1-avatar avatar-14 photo" alt="Profile photo of Ukie" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/testadmin/" title="View Ukie's profile" class="bbp-author-name" rel="nofollow">Ukie</a></span>
    					
    					
    				</li>
    
    			
    				<li>
    					<a class="bbp-forum-title" href="http://69.195.124.214/~wearemom/groups-3/vegetarianism-and-veganism/forum/topic/how-to-substitute-eggs/">How to substitute eggs?</a>
    
    					
    						by <span class="topic-author"><a href="http://69.195.124.214/~wearemom/members/fatima/" title="View mama_Sue's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/15/a6ff37590cf26ae7f7714010876b212a-bpthumb.jpg" class="avatar user-15-avatar avatar-14 photo" alt="Profile photo of mama_Sue" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/fatima/" title="View mama_Sue's profile" class="bbp-author-name" rel="nofollow">mama_Sue</a></span>
    					
    					
    				</li>
    
    			
    		</ul>
    
    		</div>
    <div id="bbp_replies_widget-4" class="widget-wrapper widget_display_replies"><div class="widget-title"><h3>Recent Replies</h3></div>
    		<ul>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/17/95798a51c5cd70aecd14429c898c81ff-bpthumb.jpg" class="avatar user-17-avatar avatar-14 photo" alt="Profile photo of happy_mama" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-name" rel="nofollow">happy_mama</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/how-lond-did-it-take-you-to-get-into-prepregnancy-shape-2/#post-1749" title="Am I the only one to still working on that?)))">How lond did it take you to get into prepregnancy shape?</a>
    				</li>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/17/95798a51c5cd70aecd14429c898c81ff-bpthumb.jpg" class="avatar user-17-avatar avatar-14 photo" alt="Profile photo of happy_mama" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-name" rel="nofollow">happy_mama</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/snacking-in-the-cold-weather/#post-1748" title="Grilled chicken breast with cheddar cheese! Yumm!">Snacking in the cold weather</a>
    				</li>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/17/95798a51c5cd70aecd14429c898c81ff-bpthumb.jpg" class="avatar user-17-avatar avatar-14 photo" alt="Profile photo of happy_mama" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-name" rel="nofollow">happy_mama</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/i-feel-dizzy-because-of-lack-of-carbs/#post-1747" title="Don’t omit carbs, they are very important f…">I feel dizzy because of lack of carbs</a>
    				</li>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/17/95798a51c5cd70aecd14429c898c81ff-bpthumb.jpg" class="avatar user-17-avatar avatar-14 photo" alt="Profile photo of happy_mama" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/rita/" title="View happy_mama's profile" class="bbp-author-name" rel="nofollow">happy_mama</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/tourism-and-travelling/forum/topic/whats-your-favourite-family-destination/#post-1746" title="As regular as it sounds, we love Florida. Always …">What's your favourite family destination?</a>
    				</li>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/kathy/" title="View justKathy's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/13/381ca1e50692dd9b8d264fa049d7c6b9-bpthumb.jpg" class="avatar user-13-avatar avatar-14 photo" alt="Profile photo of justKathy" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/kathy/" title="View justKathy's profile" class="bbp-author-name" rel="nofollow">justKathy</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/i-feel-dizzy-because-of-lack-of-carbs/#post-1745" title="You’re not doing it right! It shouldn&#8217…">I feel dizzy because of lack of carbs</a>
    				</li>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/kathy/" title="View justKathy's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/13/381ca1e50692dd9b8d264fa049d7c6b9-bpthumb.jpg" class="avatar user-13-avatar avatar-14 photo" alt="Profile photo of justKathy" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/kathy/" title="View justKathy's profile" class="bbp-author-name" rel="nofollow">justKathy</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/snacking-in-the-cold-weather/#post-1744" title="You make grilled sandwiches, but using whole whea…">Snacking in the cold weather</a>
    				</li>
    
    			
    				<li>
    
    					<a href="http://69.195.124.214/~wearemom/members/jennifer/" title="View Jennifer's profile" class="bbp-author-avatar" rel="nofollow"><img src="http://69.195.124.214/~wearemom/wp-content/uploads/avatars/5/984a59a7e937f62df19137bee2f9a308-bpthumb.jpg" class="avatar user-5-avatar avatar-14 photo" alt="Profile photo of Jennifer" height="14" width="14"></a>&nbsp;<a href="http://69.195.124.214/~wearemom/members/jennifer/" title="View Jennifer's profile" class="bbp-author-name" rel="nofollow">Jennifer</a> on <a class="bbp-reply-topic-title" href="http://69.195.124.214/~wearemom/groups-3/sport-and-nutrition/forum/topic/snacking-in-the-cold-weather/#post-1742" title="Cheesecake, steamed omelette or cottage cheese so…">Snacking in the cold weather</a>
    				</li>
    
    			
    		</ul>
    
    		</div>

    danbp
    Participant

    @danbp

    OK ! Give this a try:

    div#bbp_topics_widget-3 li a.bbp-forum-title,
    div#bbp_replies_widget-4 li a.bbp-reply-topic-title {
    	font-weight: bold!important;
    }

    Iryna_B
    Participant

    @iryna_b

    Awesome! Thanks! Worked just fine!


    danbp
    Participant

    @danbp

    De nada ! 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] How to make a bold font-weight in buddypress widgets?’ is closed to new replies.
Skip to toolbar