wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

hide line


cihan
Posts: 23
Topic starter
(@cihan)
Eminent Member
Joined: 7 months ago

Hello there.
I added a line between the comments. looks much better. but I want there to be no lines between the answers given to the comments. is there a way to do this?
thank you so much.

wswwwwwwww
16 Replies
Jacob
Posts: 83
Support
(@jacob)
Member
Joined: 6 years ago

Hi cihan,

Please leave a example URL of a page you need help with.

Reply
1 Reply
cihan
(@cihan)
Joined: 7 months ago

Eminent Member
Posts: 23
cihan
Posts: 23
Topic starter
(@cihan)
Eminent Member
Joined: 7 months ago

😏

Reply
Jacob
Posts: 83
Support
(@jacob)
Member
Joined: 6 years ago

Hi @cihan

Sorry for the late answer.

Since you have changed the files, please share them so we can find a solution for you.

You can send the files to info[at]gvectors.com email address. Don't forget to mention the URL of this topic in the email. Thank you.

Reply
8 Replies
cihan
(@cihan)
Joined: 7 months ago

Eminent Member
Posts: 23

@jacob 

hello

thanks for the answer.

 

which files? 🤔 

Reply
Jacob
Support
(@jacob)
Joined: 6 years ago

Member
Posts: 83

@cihan The plugin files which you've been customized, or you can share changed code here and we try to find a solution for you.

Reply
cihan
(@cihan)
Joined: 7 months ago

Eminent Member
Posts: 23

@yakup 

hello

 

Ek CSS

@media screen and (max-width: 600px){
#comments, #respond {
padding-left: 10px !important;
padding-right: 10px !important;
}
}

<div class="{WRAPPER_CLASSES}">
{LEFT}
{RIGHT}
</div>
<hr size="1" color="#C0C0C0"/>

 

 

Custom CSS Code

.comments-area{width:auto;}

#wpdcom{ max-width: 100% !important; }

#wpd-content-item-1 .wpd-delete-content.wpd-not-clicked {
display:none !important;
}

 

#wpdcom{ max-width: 100% !important; }

Reply
cihan
(@cihan)
Joined: 7 months ago

Eminent Member
Posts: 23

@jacob 

I added a line between the comments. looks much better. but I want there to be no lines between the answers given to the comments. is there a way to do this?

 

i think it's about that.

 

add line

wpdiscuz/themes/default/layouts/1/wrapper.html düzenleniyor (etkin)

<div class="{WRAPPER_CLASSES}">
{LEFT}
{RIGHT}
</div>
<hr size="1" color="#C0C0C0"/>

Reply
Jacob
Support
(@jacob)
Joined: 6 years ago

Member
Posts: 83

@cihan Please read this doc before customizing wpDiscuz files.

You should find this part of code in

wpdiscuz/themes/default/class.WpdiscuzWalker.php

before

and change it to this

after

the code you should add

if (!$comment->comment_parent) {
       $wrapperComponent .= "<hr size='1' color='#C0C0C0'/>";
}

 

Reply
cihan
(@cihan)
Joined: 7 months ago

Eminent Member
Posts: 23

@yakup 

thank you very much.

but, There are two lines with this code. 

if i remove this code only lines appear. comments disappear.

<div class="{WRAPPER_CLASSES}">
{LEFT}
{RIGHT}
</div>
<hr size="1" color="#00B38F"/>

Reply
Jacob
Support
(@jacob)
Joined: 6 years ago

Member
Posts: 83

@cihan You should remove all your customizations related to adding a line under comments and use the code I've provided you.

Delete all caches before checking.

Reply
cihan
(@cihan)
Joined: 7 months ago

Eminent Member
Posts: 23

@jacob 

 

yes. thank you 🙂

Reply
cihan
Posts: 23
Topic starter
(@cihan)
Eminent Member
Joined: 7 months ago

hello

very good. but i wonder one thing.

It removes the line between the answers to my comment (2-3).
so how can i remove the line below the answered comment? (1)

1812 wswwwwwwww

 thanks

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 3943

We don't follow you. Please explain in other words.

Reply
cihan
Posts: 23
Topic starter
(@cihan)
Eminent Member
Joined: 7 months ago

Merhaba Asti.

1933 1812 wswwwwwwww 1

Kötü ingilizcem için özür dilerim.

 

Yorumlar arasında bir çizgi istiyorum evet.

ama yoruma verilen cevaplar arasında satır olmamasını istiyorum. cevaplar ile yoruma verilen ilk cevap arasında

Bu mümkün mü? Teşekkürler

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 3943

@cihan,

The following CSS code should solve the issue. 

.wpd_comment_level-1 {
    border-bottom: 1px solid #00490a;
} 

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

The red marked value can be changed as you like.

Also, please always try to explain in English, not on your own language. 

Reply
Share: