Tagged: x
-
AuthorPosts
-
November 14, 2016 at 6:07 am #1256267
ArtOfSpringParticipantHi there,
I followed the instructions of that thread to achieve a shortcode that displays all posts of the same cetagory:
https://community.theme.co/forums/topic/display-all-posts-and-portfolio-items-shortcode/page/2/Somehow it affected the layout of the posts. Maybe the given CSS changes are outdated?
http://stage.mybetterlife.de/beziehung/Thank you
November 14, 2016 at 7:57 am #1256389
Paul RModeratorHi,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
November 14, 2016 at 9:49 am #1256548
ArtOfSpringParticipantThis reply has been marked as private.November 14, 2016 at 11:23 pm #1257494
Paul RModeratorHi,
Thank you for provising your logins.
I added this in your custom > css to fix the layout.
.all_posts .x-recent-post-1 { width: 22%; } .all_posts .x-recent-post-1:nth-child(4n+4) { margin-right:0; }Please check on your end.
http://stage.mybetterlife.de/beziehung/
Thanks
November 15, 2016 at 8:53 am #1257983
ArtOfSpringParticipantHi Paul,
thanks for that!
I added “padding-bottom:20px;” but it only effects the 3 first columns not the fourth column.
Also count=”4″ in the shortcode of recent posts should set the number of the columns.
That’s not working anymore.November 15, 2016 at 11:15 am #1258197
Nabeel AModeratorHi again,
Please replace your code with this one:
a.x-recent-post-1.with-image { margin-bottom: 20px !important; } .all_posts .x-recent-post-1:nth-child(4n+4) { padding-bottom: 0 !important; }Let us know how this goes!
November 23, 2016 at 9:00 am #1268252
ArtOfSpringParticipantThank you 🙂
November 23, 2016 at 10:53 am #1268400
JadeModeratorYou’re most welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1256267 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
