Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hide "Created by" via CSS doesn't work (CSS selector is missing)

Hi there,

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?



1 answer

0 votes
Bill Bailey Community Leader Dec 17, 2020

Could you paste the HTML of that element (including parent elements)? There may be another way to select that text.

Hi Bill,

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>
<li class="blog-item">
<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>
Created by</span>
<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>
<div class="blog-item-date">
Dez 15, 2020
<div class="blog-item-space"><a href="/display/WKI">WKI</a></div>
Bill Bailey Community Leader Dec 19, 2020

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

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

79 views 0 3
Read article

Community Events

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

Events near you