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.

 

[Solved] How can i set a specific class id

4 Posts
2 Users
1 Reactions
783 Views
xfok
Posts: 86
 xfok
Topic starter
(@xfok)
Estimable Member
Joined: 6 years ago

How can i set a specific class id for example i will set resolved topic id class id. Now its all 'wpf-status-title'

 

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

Hi @xemanuelex,

Please leave the example URL to allow us to check it.

Also please try to explain in other words what exactly you want to change.

2 Replies
xfok
 xfok
(@xfok)
Joined: 6 years ago

Estimable Member
Posts: 86

@alvina for example i will set a custom class id for custom css to [SOLVED] tag question. 

 

Alvina
Moderator
(@alvina)
Joined: 6 years ago

Member
Posts: 1861

Hi @xemanuelex,

In case if you just want to change the class on the resolved topics, please use the following JS code. The code should be pasted in the current active theme functions.php file.

jQuery( "span" ).removeClass( "wpf-status-title" ).addClass( "new-class" );

The red marked value is the name of the new class, you can change it us you want.

Don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.