Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Blog Listing - Change Format

Becki M (Bex)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 12, 2019

I'm trying to amend the view found for: 

  • /pages/viewrecentblogposts.action?key=
    • This is the page you view when you click 'Blogs' from the Sidebar

Instead of seeing the whole blog listed I'd prefer to only show a snippet or just the User Logo, Blog Title, Date.

I'm guessing this might be possible in the Stylesheet but I'm not sure how to accomplish what I need.

I'm using an on-prem version of Confluence.

1 answer

1 accepted

0 votes
Answer accepted
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2019

Hello there!

You are right Backi. This can be set under Space Stylesheet! So, you can proceed like this:

  1. Access the desired space
  2. Click Space Tools
  3. Look for Look and Feel
  4. Select Stylesheet
  5. Click to edit
  6. Insert the following CSS code:
    1. .blog-post-listing .wiki-content{
      display: none;
      }

This will hide from view everything that is inside divs with the class blog-post-listing and has the class wiki-content. Without the blog-post-listing part, even normal page content will be hidden.

This hides the blog post snippet and will show only title, author, date and edit button.

Hope this helps. Looking forward to your reply!

Becki M (Bex)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 16, 2019

Hey Diego,

Thank you so much for the response. I tested the CSS snippet you provided and it does exactly what I need. :) 

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2019

Great to hear that Becki!

If you need some assistance or have a question, come here to the Community!

Cecilia Mullan August 7, 2023

I know this is an older post but I'm looking to input a CSS code for blog posts so that the author is not displayed. Our posts are published on behalf of others in the company so it's confusing for someone else's name and photo to be attributed to the content. Would you please advise? Thanks! 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events