Notifications
Clear all

wpForo 1.x.x [Closed] Only some forums are displaying and how to change colour

9 Posts
3 Users
1 Likes
815 Views
Posts: 55
Topic starter
(@dallaz)
Trusted Member
Joined: 5 years ago

Only some of the forums are visible. They're in my admin but not the visible user list

 

2. How to colour the headers so i can distinguish 2 sections instead of blue

8 Replies
Sofy
Posts: 4322
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @dallaz,

Thank you for using wpForo and for contacting us.

Only some of the forums are visible. They're in my admin but not the visible user list

Please note if a category (blue panels) does not have forums (grey panels) it will not be displayed on front-end. Each category should contain at least one forum.

More info here: https://wpforo.com/docs/root/categories-and-forums/category-vs-forums/

How to colour the headers so i can distinguish 2 sections instead of blue

I don't follow you well. Please clarify a bit.

3 Replies
(@dallaz)
Joined: 5 years ago

Trusted Member
Posts: 55

@sofy

Ok thanks i figured out the first one!.

 

For question 2.

For example this forum is designed towards 2 different country users.  Forum discussions in 1 of the country sections are irrelevant to one's in the other country.

 

E.g I'm working with China and have a section i made called "Visa process".

 

The headers for both countries are the same colour so it's more difficult for users to identify the right section. 

 

A solution

1) simply allowing me to colour China header another colour. Like red would be good enough

Or

2) allow to implement 2 separate forums on the website applicable to each of the 2 countries

(@dallaz)
Joined: 5 years ago

Trusted Member
Posts: 55

Is there any help for question 2?

Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 986

Hi @dallaz,

What forum layout you use? Here the number of layouts:

  • Extended Layout: 1
  • Simplified Layout: 2
  • Q&A  Layout: 3
  • Threaded Layout: 4

 

For example, if you use the Simplified layout, the layout number is 2. So the class .wpfl- should be with red marked 2. The blue marked 1 in nth-child() is the sector of category. If you want to set different color for e.g. 1st category of Simplified layout you should use this CSS code:

#wpforo #wpforo-wrap .wpfl-2 .wpforo-category:nth-child(1){
      background-color: #DD0000!important;
}

Another example. The 3rd category of Extended layout:

#wpforo #wpforo-wrap .wpfl-1 .wpforo-category:nth-child(3){
      background-color: #0000DD!important;
}

 

Don't forget delete all caches and press Ctrl+F5 to reset browser cache before checking.

Posts: 55
Topic starter
(@dallaz)
Trusted Member
Joined: 5 years ago

where do i implement that?

Posted by: @martin

#wpforo #wpforo-wrap .wpfl-2 .wpforo-category:nth-child(1){
      background-color: #DD0000!important;
}

So if i use threaded layout. where do I copy and paste this?

3 Replies
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 986

@dallaz

Please read my post again. i already explained that the Threaded layout is the #4 and the red marked class is the Layout number. The example you posted is .wpfl-2, it's the Simplified layout and it's the wrong one for you.

For the Threaded layout it should be .wpfl-4:

#wpforo #wpforo-wrap .wpfl-4 .wpforo-category:nth-child(1){
     background-color: #DD0000!important;
}

You should put this CSS code in any CSS code option you have in WP Theme settings. wpForo has a CSS option too, that's the Dashboard > Forums > Settings > Styles > Custom CSS Code textarea.

Once you put it, saved options, don't forget delete all caches and press Ctrl+F5 on forum front-end to reset browser cache. 

(@dallaz)
Joined: 5 years ago

Trusted Member
Posts: 55

@martin

Hi,

Thanks and I managed to change the colour but a problem.

1) how do i make the colour specifically for the one section (e.g i have 2 countries forums so want them to be distinct)

2) Is there a way for me to move the second forum onto a different page?

http://unitedstudy.co.uk/forum/

Sofy
 Sofy
Admin
(@sofy)
Joined: 6 years ago

Support Team
Posts: 4322

@dallaz,

Please follow this support topic:

https://wpforo.com/community/how-to-and-troubleshooting-2/creating-a-second-section-forum/