Notifications
Clear all

wpForo 1.x.x [Closed] some style tweaking

5 Posts
2 Users
0 Reactions
2,846 Views
Posts: 57
Topic starter
(@agendavolo)
Trusted Member
Joined: 8 years ago

Hello, I would like to know if it's possible to add a  different icon for each forum/topic (in place of the font-awesome-comment).

One more: is it possible to move the top menu bar to the bottom, just above or below Statistics ?

4 Replies
Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

You can do everything you want with wpForo look and feel. wpForo has a separate theme API.

Description:

wpForo theme files contain the markup and template structure for frontend of your forum. Theme files can be found within the /wpforo/wpf-themes/ directory, in current active theme folder, for example /classic/. You can edit these files in an upgrade-safe way using overrides. For example, copy the certain or all files of /classic/ folder into a folder within your current active WordPress theme named /wpforo/, keeping the same file structure.

Example: To override the "Topic List" template file of the Extended (#1) forum layout, copy according file: plugins/wpforo/wpf-themes/classic/layouts/1/topic.php to themes/yourtheme/wpforo/layouts/1/topic.php

The copied file will now automatically override the wpForo default theme file. All changes in this file will not be lost on forum update.

Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.
Posts: 57
Topic starter
(@agendavolo)
Trusted Member
Joined: 8 years ago

I meant to add a different icon for each post category. By looking at the code I can see it's not possible. Thank you.

 

Posts: 57
Topic starter
(@agendavolo)
Trusted Member
Joined: 8 years ago

Sorry, but customising my code in templates/styles is not applying any changes to my Forum. See screenshot for correct folder structure...

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

The /styles/ folder is not for customization, it only contains color variables, you can change those in Forums > Settings > Styles admin page. You should use style.css file for custom styling. Also you can use all template files and /layouts/ folder. Please don't manipulate with /styles/ folder it's not designed for what you're trying to do.

the colors.css file is a dynamic file and being generated based on settings made in Forums > Settings > Styles admin page, you should not copy this css file too. Only Use styles.css.

If nothing works I'd recommend have the same files and folders in the parent theme folder, maybe it doesn't support child themes.