Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to edit widget without changing core files?

@ronthai

Participant

All widgets (even if you use the same more then once) can be individually edited how they look.
From colors, headers, font type/size/color/shadow, widget background color/image,
you name it, it can be done, WITHOUT editing any core files.

How? Just use css.
For the ladies question, assuming she uses the bbPress “Recent Topics” widget, just add the following to the bbPress main ccs file (bbpress/templates/default/css/bbpress.css):

.widget_display_topics .bbp-author-avatar { display: none ! important; }
This will remove the little avatar and leave it with:
topic title by posters name

You can find any widgets “css class or id (id can be used if the same widget is used more then once)” by viewing the source code of your page or using FireBug (firefox or chrome browsers, just get rid of IE all together)

You should also follow this, to avoid any updates from changing your edits:
You should have all your customizations as per this document
https://codex.bbpress.org/theme-compatibility/

Skip to toolbar