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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

377 views 16 9
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