AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] some style tweaking

5 Posts
2 Users
0 Reactions
3,306 Views
Posts: 59
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@agendavolo)
Trusted Member
Joined: 9 years ago
[#3544]

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: 10753
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months 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: 59
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@agendavolo)
Trusted Member
Joined: 9 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: 59
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@agendavolo)
Trusted Member
Joined: 9 years ago

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

overrides

Robert
Posts: 10753
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months 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.


Share: