Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Closed] Why my main menu css not working in main Forum page?

9 Posts
4 Users
0 Reactions
1,540 Views
Posts: 5
Topic starter
(@rishx)
Active Member
Joined: 5 years ago

Dear team, kindly help me to resolve the issue. I have tried different methods to override the CSS but it won't worked even I have tried in the custom CSS bar in style section.. you can visit my site to check the issue. https://thexchip.com/haga/

however, the CSS is working fine in other pages such as log in or Register page. https://thexchip.com/haga/?foro=signup

below here I am mentioning the CSS code.

#top-menu li.current-menu-item > a {
background: #31cfc0 !important; / CHANGES THE BACKGROUND COLOR OF THE CURRENT PAGE LINK /
}

8 Replies
Alvina
Posts: 1861
Moderator
(@alvina)
Member
Joined: 6 years ago

Hi @rishx,

Please try to put the code in the top admin bar > Customization > Additional CSS section and check again.

Posts: 5
Topic starter
(@rishx)
Active Member
Joined: 5 years ago

The code is already mentioned in the additional css.

2 Replies
Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1522

@rishx

ask the author of the Divi WP-Theme
your menu item (haga) has no "current-menu-item" class if it active

haga "aktiv"


<li id="menu-item-890" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-890"><a href="https://thexchip.com/haga/">haga</a></li>

About Us "aktiv"



<li id="menu-item-649" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-619 current_page_item menu-item-649"><a href="https://thexchip.com/czczc/" aria-current="page">About Us</a></li>
(@rishx)
Joined: 5 years ago

Active Member
Posts: 5

@tutrix Thanks for the suggestion. Could you share with me any tutorial so that I can fix it by myself? Divi customer services have not responded to my query ticket.

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

Hi @rishx,

The problem is very easy to fix if you use correct menu. Your forum home page is this:

https://thexchip.com/community/

Why you use this page?

https://thexchip.com/haga/

If you configure the menu for the /community/ page it'll work automatically.

Or you should create a new page with /haga/ slug and then delete the /community/ page.

3 Replies
(@rishx)
Joined: 5 years ago

Active Member
Posts: 5

Dear  @robert, still the issue has resolved.

(@rishx)
Joined: 5 years ago

Active Member
Posts: 5
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10616

@rishx,

Very strange. It seems this is the theme issue.

BTW, do you have a page with "/community/" slug (url path)? Please edit your forum page and check the "Slug". What is your forum page slug? I mean the page where the [wpforo] shortcode is inserted.