Tagged: x
-
AuthorPosts
-
July 27, 2016 at 6:05 am #1104925
ekunitedParticipantI have a recent posts section on my homepage with excerpts on (I installed the child theme) However I would like to fix the way the image is displayed above my excerpt. http://bptnews.org
it leaves a large area to hover above
July 27, 2016 at 8:10 am #1105082
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
.x-recent-posts .x-recent-posts-img { padding-bottom: 1.25%; }Hope that helps.
July 27, 2016 at 9:03 am #1105171
ekunitedParticipantPerfect – Thank you
July 27, 2016 at 9:11 am #1105184
ekunitedParticipantThis reply has been marked as private.July 27, 2016 at 10:05 am #1105262
JoaoModeratorHi There,
Please add the following coden to Appereance > Customizer > Custom > CSS
.x-recent-posts a { font-size: 13px; }Hope that helps
Joao
July 27, 2016 at 1:50 pm #1105685
ekunitedParticipantThat worked perfectly, Thank you for all of your help thus far,
How do I keep paragraphs in excerpts?
July 27, 2016 at 1:53 pm #1105692
RahulModeratorThe screenshot didn’t go through in your last reply. Would you mind reuploading it after compressing the size under 512kb?
Thanks
July 27, 2016 at 2:34 pm #1105764
ekunitedParticipantHere is another screenshot
July 27, 2016 at 5:58 pm #1106037
JadeModeratorHi there,
Would you mind clarifying what do you mean by keeping paragraphs in excerpts?
The post items in the blog section that contains excerpts seem to look the same as the recent post except but only left aligned.
July 27, 2016 at 7:34 pm #1106121
ekunitedParticipantSure, to clarify lets look at the recent post on the homepage “Kerry: As big a threat….”
in the recent post – the excerpt is all one paragraph, no spacing between paragraphs. In the actual post there are paragraphs with space between paragraphs. I attached screen shots of both.July 28, 2016 at 1:02 am #1106591
Paul RModeratorHi,
Can you share to us the code in your child theme functions.php file.
Thanks
July 28, 2016 at 7:21 am #1106977
ekunitedParticipantThis reply has been marked as private.July 28, 2016 at 11:20 am #1107311
ekunitedParticipantThis reply has been marked as private.July 28, 2016 at 3:14 pm #1107630
RadModeratorHi there,
Yes, because excerpts are plain text with no formatting, that’s how WordPress generate it. https://codex.wordpress.org/Excerpt
Plus, formatting shouldn’t be added within recent posts element or it will break. It’s not designed to be the same as standard blog entries.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1104925 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
