Comments showing be...
 
Share:
Notifications
Clear all

[Solved] Comments showing below content as well as in widget cont.

5 Posts
2 Users
1 Likes
321 Views
Posts: 9
Topic starter
(@jmellors)
Active Member
Joined: 1 year ago

Hi,

I recently posted about removing comments from the bottom of the page when they are displayed in a widget. 

I was given the below CSS but this doesn't seem to work when using a tabbed function (see URL, it removes comments from both below content and in the comments tab). I don't suppose there is a solution for this? Again, just trying to replicate a bit of integraiton seen on play-places.com.

#comments {
    display:none;
}
.geodir-single-reviews-container #comments {
      display: block !important;
}

Really appreciate your help in advance.

Best,

Joseph

4 Replies
Asti
Posts: 7056
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

Hi @jmellors,

The code should be customized: 

#comments {
    display:none;
}
.widget #comments {
   display: block !important;
}

Please watch this video: https://www.screencast.com/t/iD8JmrBZ3

3 Replies
(@jmellors)
Joined: 1 year ago

Active Member
Posts: 9

@asti amazing! Really appreciate your help.

(@jmellors)
Joined: 1 year ago

Active Member
Posts: 9

Hey, just noticed that this seems to have have had an effect on the Info and Map tabs - it looks like the site is trying to display comments above the content on these. Don't suppose there are any suggestions here? Thanks!

Asti
 Asti
Support
(@asti)
Joined: 6 years ago

Illustrious Member
Posts: 7056

@jmellors,

Use this code as well: 

.tab-pane .geodir-single-reviews-container {display:none}
.tab-pane.active .geodir-single-reviews-container {display:block !important}
Share: