The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] "Reply to" Bookmark Does Not Behave Properly with Sticky Menus
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Aug 31, 2021 2:06 am
(@aerostar)
Estimable Member
Joined: 6 years ago
Good Day!
We have been using wpDiscuz for quite some time and enjoy it very much.
Recently, however, we noticed that if a website has a sticky menu and someone clicks a "Reply to" link, the affected comment scrolls up too far and is blocked by the sticky menu.
To Replicate (or View) Issue:
(1) Visit this page (example): https://www.omniaaerospace.com/blog/jetpacks-closer-to-mass-transportation/#comment-2
(2) Click on "Reply to Piloto"
(3) Piloto's comment will scroll to the top of the page and will be blocked by the sticky menu.
In short, we need a fix (i.e., code snippet) where we can control how far up the comment must scroll when using a sticky menu.
Thank you!
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Aug 31, 2021 2:22 am
(@aerostar)
Estimable Member
Joined: 6 years ago
One other thing:
What is the purpose of the "Reply to ..." line entry?
Honestly, we believe it serves no useful purpose and simply adds bloat to the comments thread.
So, if you agree, would it be possible to delete it at your next plugin revision level?
Meanwhile, and after you reply to this message, we may delete that line using the following CSS code:
#wpdcom .wpd-comment .wpd-reply-to {
display: none!important;
}
Thank you!
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Aug 31, 2021 3:53 pm
(@jacob)
Estimable Member
Joined: 10 years ago
Hi @aerostar
In short, we need a fix (i.e., code snippet) where we can control how far up the comment must scroll when using a sticky menu.
We'll take this under consideration
What is the purpose of the "Reply to ..." line entry?
Please note that you always can customize the wpDiscuz's template files.
Here is the doc explaining how to do it. You should copy the template files and remove the HTML you want.
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Aug 31, 2021 9:46 pm
(@aerostar)
Estimable Member
Joined: 6 years ago
@jacob,
Appreciate your quick reply. Unfortunately, it does not answer our issue or request.
Perhaps @Asti can look at this later.
Until then, we have applied the CSS code noted above.
Thank you.
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8208
Sep 01, 2021 1:35 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@aerostar,
What is the purpose of the "Reply to ..." line entry?
I'm sorry but we're not going to remove the Reply to ..." part. Please follow the steps below to get it resolved:
1. copy the reply_to.html file of the current layout to the current active theme /wpdiscuz/ folder as it's explained here: https://wpdiscuz.com/docs/wpdiscuz-7/customization/custom-template-and-style/
2. remove all codes in the pasted file.
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8208
Sep 08, 2021 12:21 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Hi @aerostar,
In short, we need a fix (i.e., code snippet) where we can control how far up the comment must scroll when using a sticky menu.
Here it is:
add_filter("wpdiscuz_js_options", function($options){
if (!empty($options["scrollSize"])) {
$options["scrollSize"] = 130;
}
return $options;
});
You'll just need to change the red marked value as it's necessary in the case of your website.
The code should be put in your active theme functions.php file.