I would like to hide "Created by [author name]" in the blog posts overview (Blog Posts macro). For the author name I have found the CSS selector. But I cannot find a CSS selector for the "Created by". It's part of the span element "blog title". If I hide that via CSS the blog title is gone, too.
How can I hide "Created by" without hiding the blog title?
sure. Here is an example. I translated our German text elements into English for a better understanding:
<div class="blog-post-list conf-macro output-block" data-hasbody="false" data-macro-name="blog-posts">
<h4 class="sub-heading">WKI News</h4>
<span class="blog-title"><span class="icon aui-icon content-type-blogpost" title="News">News:</span><a href="/pages/viewpage.action?pageId=20513401">The presentation of the works meeting from December 11, 2020 is now online</a>
<div class="blog-item-creator"> <a href=" /display/~test-user
" class="url fn confluence-userlink userlink-0" data-username="test-user" title="" data-user-hover-bound="true">User, Test</a></div>
Dez 15, 2020
<div class="blog-item-space"><a href="/display/WKI">WKI</a></div>
Yes, they got lazy and didn't give us anyway to select that content. The only way I can think of requires surgery -- editing the layouts (found in the admin macro) to close the earlier span element, and open a new classed span element for "Created by". I took a quick look on my local version (6.13), and you will have to start at the layouts, then find which of the referenced velocity macros renders a blog post and edit that code.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events