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

 

3 answers

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.
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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

475 views 6 6
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