Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I customize the Scroll Export PDF button?

I'd at a minimum like to add a PDF icon and some color to the button which is currently suffering gray on gray violence (it's in a side bar).

Here's kind of what I'd like it to look like, but I cant get the icon and the button aligned (when I make the icon larger, it moves upward above the button).

 

image.png

 

It would be even better if the icon could be inside the button making it clickable.

Thanks.

bg

 

 

3 answers

Hi @Robert Gunn  - I have added a screenshot of the response I wanted to add here as the Community comment section was not allowing me to publish due to an error - hopefully it helps.

Screen Shot 2021-07-23 at 17.38.46.png

You should be able to copy this example code that was cut from the screenshot above:

button.scroll-pdf-launcher:before {
content: " ";
display: inline-block;
width: 14px;
height: 14px;
background: url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7)
}
button.scroll-pdf-launcher{
background-color: #4CAF50;
}

 Cheers, Thomas (K15t)

0 votes
Dominic Lagger Community Leader Jul 22, 2021

Hi @Robert Gunn 

Short answer:

This is not possible within the PDF scroll macro.

Long answer:

In fact, you probably could write a user macro, which displays your customized button and by clicking the button, you have to call the javascript logic for the "normal export button". Calling the normal export button is the most difficult part. I do not know how to do that.

Regards, Dominic

I think you should contact k15t support for that, the Scroll author. Maybe they can add the functionality to the macro.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

451 views 18 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you