Page Index Macro: Is there a way to turn off displaying the excerpt?

 

3 answers

Hello,

I've created an index page. The only thing I want to change is to turn off displaying the excerpt information. Is there a way to remove that? When I click on the macro, there's not way turn that feature off.

I've looked for another macro that works similarly. But I haven't found anything.

Thanks.

Steven Behnke Community Champion Dec 09, 2014

Can you take a screenshot of what you're referring to? I am not certain of what you're talking about.

Sure, here is the image.

When I add the Page Index macro to a page, the image below is what displays. Is it possible to configure the Page Index macro to hide the excerpted information? That information is required for other pages so I can't removed the excerpted content from the original page. The excerpted info makes the index page significantly longer than I want it to be.

PageIndexMacro.png

0 vote
Steven Behnke Community Champion Dec 09, 2014

Well there isn't an option and I doubt you want to customize the add-on JAR so we can do a little Confluence customizing instead.

  • Navigate to: Confluence → Confluence Admin → Look and Feel → Stylesheet
    (/admin/viewstylesheet.action)
  • Press Edit
  • Add the following code to the stylesheet:

    td .smalltext {
        display: none;
    }

This should do the trick. smile This will look for TD elements, and then look for a .smalltext class in those TD elements. If they exist, they will be hidden. I haven't seen any negative behavior yet but I will keep poking around as I am not sure if anything else uses the specific order of "td .smalltext"

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,783 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you