The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Comments showing be...
 
Share:
Notifications
Clear all

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

5 Posts
2 Users
1 Reactions
816 Views
Posts: 9
Topic starter
(@jmellors)
Active Member
Joined: 3 years 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: 8113
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 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: 3 years ago

Active Member
Posts: 9

@asti amazing! Really appreciate your help.


(@jmellors)
Joined: 3 years 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: 8 years ago

Illustrious Member
Posts: 8113

@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: