Loading indicator z...
 
Notifications
Clear all

Loading indicator z-index

4 Posts
2 Users
0 Likes
989 Views
(@anonimniq)
Eminent Member
Joined: 5 years ago
Posts: 21
Topic starter  

I need to change z-index of the loading indicator on the top right corner because my site navigation hide it. What is the css class for it?


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

Hi @anonimniq,

I'm sorry, but I don't follow you. Please try to explain using some screenshots. 


   
ReplyQuote
(@anonimniq)
Eminent Member
Joined: 5 years ago
Posts: 21
Topic starter  
wpdiscuz

When new comment is posted there is small black indicator on top right corner of the page (in the screenshot) but the theme that I use have sticky menu that hide this indicator. I want this loading indicator to be visible over my menu.


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

ok @anonimniq, Thank you for clarification.

There are two options I can suggest you.

1. You should add the following js code in your active theme js files (it'll show the loading bar in the top menu section).

jQuery( "body" ).append( jQuery("#wpdiscuz-loading-bar") );

2. You can move the loading bar to the center of your webpage via the following CSS code:

div#wpdiscuz-loading-bar {
top: 50% !important;
left: 50% !important;
}

The CSS code should be added in the "Custom CSS Code" textarea, located in the Dashboard > Comments > Settings > Styling admin page. 

In any case please don't forget to delete all caches before checking. 


   
ReplyQuote
Share:
Scroll to top