michel.b on "[Theme: Make] A line between posts on the post page"

ساخت وبلاگ

Below the category and tag meta of each post, I see a faint line between the posts on the post page and I woulkd like to make it more visible to clearly separate the different posts. I searched but I could not find in the different files of the theme the line of code which produces this 1px pale line. If someone could tell me where it is, I think I could make it more visible.
Thanks in advance.

Chris Hickman
Member
Posted 1 week ago #

Michel, you will need to bone up on your CSS skills a bit. All browsers have the option to inspect elements in the page. This will allow you to find the CSS that creates that line. You can use a child theme, or install Simple Custom CSS and insert new CSS.

https://wordpress.org/plugins/simple-custom-css/

Jetpack also comes with a custom CSS module.

Thank you Chris for your time and your advice. I do not know if I will be able to reach my goal, because I am realy a beginner in CSS, but I am trying. I have already leaed how to inspect my page with FireFox. I have not yet identified the CSS the create that line ( maybe a border 1px thick ) but I keep searching and I keep leaing.

confessionsofadietitian
Member
Posted 4 days ago #

Hi Michel,
This should help.

.post {
border-bottom: 2.5px solid black;
}

You can edit the code till you have the line you want.

michel.b
Member
Posted 1 minute ago #

Thank you confessionsofadietitian,
I used your code and it worked !

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 92 تاريخ : شنبه 4 ارديبهشت 1395 ساعت: 19:22