Notifications
Clear all

[Solved] Always Visible Flagging Button

8 Posts
2 Users
1 Reactions
1,212 Views
Posts: 12
Customer
Topic starter
(@murat-pulice)
Member
Joined: 5 years ago

Hello,

it is possible to display the Flag&Report and Author Info Button permanenty?
These only appear when you go over with the mouse.

wp4

And on mobile only the Author Info button is displayed. How can i show the Report & Flagging button too?

Thanks

7 Replies
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago

Hi @murat-pulice,

it is possible to display the Flag&Report and Author Info Button permanenty?
These only appear when you go over with the mouse.

The code should add the js code below in the active theme js files

jQuery( "div" ).removeClass( "wpd-hidden" );

The code should be added in the current active theme JS files.

And on mobile only the Author Info button is displayed. How can i show the Report & Flagging button too?

Please leave your forum URL to allow us to check it.

Posts: 12
Customer
Topic starter
(@murat-pulice)
Member
Joined: 5 years ago

Hi,

basardeals.de

1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@murat-pulice,

Please navigate to the Dashboard > Forums > Settings > Report & Flagging admin page and make sure the "Show flag icon on comments" is enabled and check again.

Posts: 12
Customer
Topic starter
(@murat-pulice)
Member
Joined: 5 years ago

"Show flag icon on comments" is enabled

Flag

 

1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@murat-pulice,

See how it looks in our case: https://www.screencast.com/t/uwUwApS3Keg8
Could you please delete all caches and press CTRL+F5(twice) on the frontend and check again?

Posts: 12
Customer
Topic starter
(@murat-pulice)
Member
Joined: 5 years ago

I think you didn't understand my question correctly =)

The both icons ( Flagging and Author Info) only show when you move the mouse over the comment field

But I want the icons to always be visible.

Hover

 

1 Reply
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@murat-pulice,

The both icons ( Flagging and Author Info) only show when you move the mouse over the comment field

In the screenshot provided in the above post, we just say that only the Author Info show when we move the mouse over the comment field.

https://www.screencast.com/t/uwUwApS3Keg8

But I want the icons to always be visible.

To make the icon always visible, just use the JS code provided in the post above, or simply use the following CSS code:

#wpdcom .wpd-hidden {
visibility: visible !important;
opacity: 1 !important;
}

The CSS code should be added in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea.

In any case please don't forget to delete all caches and press CTRL+F5(twice) on the frontend.

Share:
Scroll to top