Tagged: x
-
AuthorPosts
-
March 8, 2017 at 7:55 pm #1399994
Dave SParticipantHello,
I’m using the recent posts shortcode on my site.
https://nimblesound.com/studio-happy-hour-podcast/I want the featured images to be square rather than cropped into rectangles. Any advice on how to accomplish this?
March 9, 2017 at 12:06 am #1400131
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.x-recent-posts .x-recent-posts-img { padding-bottom: 80%; }Hope this helps.
Cheers!
March 9, 2017 at 1:44 pm #1400936
Dave SParticipantPerfect! Thank you Rupok.
March 9, 2017 at 1:45 pm #1400937
Dave SParticipantWhile I have your attention, is there a way to stylize the Archive page?
As an example:
https://nimblesound.com/category/shh/I would like it to show hyperlinks, line breaks, and maybe put the featured image to the side of the content.
March 9, 2017 at 3:22 pm #1401076
JoaoModeratorHi There,
Please add the following code to Appereance Customizer Custom CSS
.archive .entry-featured { float: left; margin-right: 20px; margin-top: 20px; width: 26%; }Hope it helps
Joao
March 9, 2017 at 3:33 pm #1401090
Dave SParticipantThank you Joao!
That is very close to what I want.
Is there any reason that the line breaks and hyperlinks are not honored in the archive page?
March 9, 2017 at 10:26 pm #1401489
Rue NelModeratorHello There,
Thanks for updating in! The archive pages displays the excerpts. By default, WordPress automatically strip off any html code such as a link and line breaks in the excerpts. This is why it is not displaying in your end. To know more about excerpts, please check this link: http://buildwpyourself.com/wordpress-manual-excerpts-more-tag/
Hope this helps.
March 10, 2017 at 11:06 am #1402094
Dave SParticipantYes, that helps quite a bit. I was able to add a manual except with the HTML I required.
Thank you! I’m very impressed with the quality of replies from Theme Co.
March 10, 2017 at 1:11 pm #1402202
JoaoModeratorYou are welcome Dave 🙂
Let us know if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1399994 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
