Notifications
Clear all

[Solved] Blank space below media

26 Posts
2 Users
3 Likes
845 Views
Posts: 90
Customer
Topic starter
(@canewsforum)
Member
Joined: 3 years ago

Hello, I am not sure if this is a Media Uploader or Embed problem but is there any way to reduce the amount of blank white space in a comment that shows below the media that is uploaded?  I have attached a screenshot to show you what I mean.  Thanks. 

Bllank space.

 

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

@canewsforum,

Please leave a direct link to this comment.  

24 Replies
Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90
Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

Sorry, I saw you trying to log in with your Admin account our our live site, but that admin account had been set up for our test site.  I have now added that account to our live site as well, you can check the link above now.    

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

Please enable the "Allow embedding for guests" option to allow us to check the issue. It's located in the Dashboard > wpDiscuz > Settings > Embeds admin page. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik  I have allowed embedding for guests as requested.  In my note above I have also set up and admin account for you, same credentials as you used for our test site.

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

The admin login details are not necessary. This is just a small CSS conflict with the active theme or other plugins. Use the CSS code below to solve it:

#wpdcom .wpd-comment-text .post-video{
   padding-bottom: 25%;
   margin-bottom: 0;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik  Thank you, that fixed the issue with videos, but there is still an issue when we paste a url in a comment as well.  Here is the link to that comment.  https://ca-news-forum.com/2021/03/30/off-topic-tue-30-mar-2021/#comment-4705

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

image

We see there is added some new extra class (see the screenshot above). 

This may come either from the active theme or plugins. Please remove the code provided by me previously then deactivate the plugins/theme one by one and check after each deactivation to find a problem maker.  

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik  One thing I have found is b editing and removing the http:// in front of the url, it will display properly as a link.  https://ca-news-forum.com/2021/03/30/off-topic-tue-30-mar-2021/#comment-4728

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

Please watch this video it'll allow you to see the HTML differences between the two comments. https://www.screencast.com/t/WTUggJnwJ

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik Ok, so I went through the troubleshooting process by disabling all my plugins and it did not clear the problem.  But when I disabled the Embeds add on, it did clear the problem.  I then turned off all the options via the buttons in the embed settings and it still did not fix the problem.  Any suggestions?

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

Remove the code provided by me and put this one: 

#wpdcom .wpd-comment-text iframe{
   position:static !important;
}
#wpdcom .wpd-comment-text .post-video{
   padding-bottom: 0;
   height: auto !important;
}

It should work fine. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

 @astghik That code took the large space below the url link and changed it to our mobile menu as per this comment link and attached screenshot.  https://canf-test-site.com/2021/03/21/off-topic-sun-21-mar-2021/#comment-2220

Code
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

You should just disable the "Embed Website URLs" option. It's located in the Dashboard > wpDiscuz > Settings > Embeds admin page. 

Simply, you've pasted the website URL, and it was embedded according to the option. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik Thanks, I turned that option off and it didn't change anything, it still shows the menu, now if we could get that to simply change to a preview of our actual website page (in this case the Learning Corner) we could live with that.  Is that possible?

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

Have you deleted all caches before checking? 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik Yes, and closed and re-opened the page.

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

Please follow the steps below:

1. Please go to the Dashboard > wpDiscuz > Settings > Embeds admin page, just click on the "Save Changes" button.

2. Edit the current post and just click on the "Update" button without any changes. 

3. Delete all kind of caches and check again. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik Instructions followed per your reply, and no changes happened per this comment link.  https://canf-test-site.com/2021/03/21/off-topic-sun-21-mar-2021/#comment-2220 <

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

This issue has been fixed. Please update the addon to the latest version and check again. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik  Sorry, I just updated the Embeds add on, purged all cache and restarted a page and tested once again.  Same problem.  https://ca-news-forum.com/2021/04/01/off-topic-thu-01-apr-2021/#comment-6336

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

Please confirm that the "Embed Website URLs" option is disabled. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik  Ah yes, I did the test on our live site as I am unable to run an update on the add on on our test site for some reason?  I turned off "Embed Website URLs" and it works now.  Thanks.  

Is there a way to update add ons in our test environment?

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@canewsforum,

You can download it from your gVectors.com account page. 

Customer
(@canewsforum)
Joined: 3 years ago

Member
Posts: 90

@astghik  Excellent, thanks for the great help as always!  😀

Share:
Scroll to top