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 votes
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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,527 views 25 14
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