How to add padding ...
 
Share:
Notifications
Clear all

[Solved] How to add padding around the header "xx comments"

7 Posts
2 Users
1 Likes
1,107 Views
Posts: 4
Topic starter
(@sartsa)
New Member
Joined: 3 years ago

Hi, I'm desperately trying to find the right kind of css to get padding on the left and right side of the top line which indicates the amount of comments.

wpdicuz padding
Topic Tags
6 Replies
Asti
Posts: 6975
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

@sartsa,

Could you please leave some example URL? 

5 Replies
(@sartsa)
Joined: 3 years ago

New Member
Posts: 4

@asti The site is not online yet but here is a sample page

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

Illustrious Member
Posts: 6975

@sartsa,

This comes from the active theme and doesn't have any relation to wpDiscuz. The wpDiscuz comment count is located a bit below. 

https://www.screencast.com/t/VYd9LoFk

However, I'll leave the CSS solution below. You can use it:

.fusion-meta-info {
     padding-left: 200px;
}

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.  

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

(@sartsa)
Joined: 3 years ago

New Member
Posts: 4

@asti I didn't obviously make my problem clear. What I mean is the padding of the kind of header which is in the very beginning of this green area.

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

Illustrious Member
Posts: 6975

@sartsa,

We don't follow you. Could you please rephrase your question? 

(@sartsa)
Joined: 3 years ago

New Member
Posts: 4

@asti So sorry, you did answer my question in the first reply, I just didn't watch the video carefully enough 😰

Share: