Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1399994
    Dave S
    Participant

    Hello,

    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?

    #1400131
    Rupok
    Member

    Hi 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!

    #1400936
    Dave S
    Participant

    Perfect! Thank you Rupok.

    #1400937
    Dave S
    Participant

    While 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.

    #1401076
    Joao
    Moderator

    Hi 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

    #1401090
    Dave S
    Participant

    Thank 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?

    #1401489
    Rue Nel
    Moderator

    Hello 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.

    #1402094
    Dave S
    Participant

    Yes, 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.

    #1402202
    Joao
    Moderator

    You are welcome Dave 🙂

    Let us know if you need help with anything else.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1399994 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>