Archived topic
Separator between blog posts..
7 replies · Started by Elena on March 15, 2017
I've done a search already and come across this solution:
https://generatepress.com/forums/topic/border-around-widgets/#post-32984
But it doesn't seem to work for me.
I tried to put it in simple css and additional css and nothing happened either one.
Also, where can I learn how to add a simple graphic separator instead of hr line?
Kind of new to this so I don't even know what words to enter into google to search for it.
Hi Elena,
Sorry what are you trying to achieve here?
Can you provide an example or/and link to your site if it's live?
Thanks :)
Ah, sorry if my post doesn't make sense. Like this:
https://s12.postimg.org/tjr3od5j1/Untitled_2.jpg
Just a line (or graphic) automatically inserted between blog posts to separate them.
eta: Well, technically after each post... so that once a new one gets posted there's a line between it and the previous post, but not a line on top of the most recent post.
Try this CSS:
.post {
border-bottom: 2px solid #ffffff;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know
Oh :D it works now!
Perhaps it was working earlier but I just now noticed the color was white so I didn't see it against my white background haha.
Thank you!
You're welcome :)
I have added your code to Custom CSS but it is not working. What am I doing wrong? The website is http://fv-uffenheim.de/aktuelles
You need to change the border color to something other than white as your background color is white.