Forums

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

CSS Stylesheet that floats Tables of Content except when it's an Excerpt Include

Aimee Quinn
Contributor
June 1, 2023

I'm able to change the stylesheet to float the TOC macro but I want to exclude those TOCs that are brought in through Excerpt-Include. I can't figure out how to do that. Here it is without the "not" language:

  1. .toc-macro {  
  2. display: block;  
  3. float: right;  
  4. position: fixed;  
  5. z-index: 10 !important;  
  6. width: 250px;  
  7. right: 0px;  
  8. top: 170px;  
  9. background: rgba(229, 232, 232, 0.80);  
  10. border: 1px solid #0096d6;  
  11. padding: 5px;  
  12. }  
  13. .toc-macro:before {  
  14. content: "Table of Contents";  
  15. color: blue;  
  16. font-weight: bold;  
  17. }  

1 answer

0 votes
Aimee Quinn
Contributor
June 1, 2023

@David Studer - Are you able to help?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events