Changing formattings
I am using the scroll title macro to insert image captions. It works but the captions are as big as the text and bold and look like small headlines. Can I somewhere add some CSS to change that?
I looked into the content-style.css of the HTML result. I would have to do this but I don't want to do it manually for every result I am generating:
/* Captions **************************************************************************************/
.wiki-content .caption {
font-weight: 200;
font-style: italic;
font-size: 80%;
padding-top: 0.5em;
}
-
Hi Daniela,
Thanks for reaching out us. What did you mean that you would have to make changes manually for every result you're generating?
As you suggested, when you customize your export template you can make any necessary changes to the caption formatting within the content-style.css file.
When using the Scroll WebHelp theme as a base for your templating you can find this via /K15t-scroll-webhelp-theme/src/main/resources/com/k15t/scroll/scroll-webhelp-theme/scroll-html/css/content-style.css. Once you have made the necessary changes in this file and built/uploaded the template to Confluence, all captions will have your configured formatting. Had you already tried this?
Regards, Thomas (K15t)
-
Thank you for your answer. I am not a developer or system administrator, I am just a writer who knows a bit html or css. I am overwhelmed by these programming things. I downloaded the template. And I understand where to change it.
If I understand you right, I have to install this development environment and a bit more and create as well as install something? That's the part where I gave up because of missing knowledge.
Regards, Daniela
-
Hi Daniela, thanks for the reply.
Yes, that's right. Once you have set up your developer environment you will be able to customize and build your own template as a *.jar file and upload this to Confluence. I would advise using the Scroll WebHelp Theme, which comes bundled with the app, as a base for your customization - you can read more and download this template here: https://help.k15t.com/scroll-html-exporter/creating-a-template-75367699.html
Then, as you suggested, when you customize your export template you can make any necessary changes to the caption formatting within the content-style.css file.
I hope this helps.
Thanks, Thomas
-
Hi Thomas, thank you for the reply. I changed the css file and I changed $space.Title to $page.Title in include-breadcrumb as well as in include-sidebar.vm.
I had a coworker preparing the new jar-file for me. It is working now but there are issues.
When I installed the new jar-file in confluence I got a message that there are missing dependencies (no details, just this) but it will work. As long as I choose files ending on html it is working. But when I choose xhtml then no result page is opening. There are xhtml problems in all files showing page content.
Thanks, Daniela
-
Hi Daniela, thanks for the reply. It is probably easier to investigate any issues you're facing within a dedicated support ticket. Therefore, can you please email help@k15t.com and provide details for the message regarding the missing dependencies that you've received. This will then create a support case where we can continue the discussion.
Additionally, it would be useful if you could provide us with the template *jar file that you've built and a generated export example where this issue is reproducible. We can then investigate the issue.
Kind regards, Thomas
-
Thank you Thomas, one question before I do this. Is it possible that some xhtml changes have been done in the near past. It may be possible that we do not use the latest version of Scroll HTML Exporter. Our version may be approx. 6-8 months old. I would like to update firs to check for changes in the result.
The dependencies have not been listet, just the message appeared. I have the jar file if it comes to a support ticket.
Regards, Daniela
-
Hi Daniela, thanks for the reply. We always recommend using the latest version of our app as we are consistently releasing updates that contain bug fixes, security fixes and improvements/feature requests. Therefore, in the latest version of the bundled template (that you can use as a base for your own templating) there will likely be some implemented changes which may not exist in the same bundled template in older versions of the app. I hope this information helps. Cheers, Thomas
-
Thanks, Thomas. This is much too complicated. That would mean that when I once created my theme with the help of several coworkers that I have to do this again and again with every new version of the Scroll HTML Exporter. Wow. I am just a writer!!!
We updated everything. And because I downloaded the theme before we updated I had the current theme. The result is the same: missing dependencies (just this message, no details provided). And output as xhtml is not working properly. We stay with html. This process took weeks now (I started earlier than my first post here), I no longer have time for opening a support case. I can send you the jar anyway if you like but I stay with what is working now.
I hope you take this case to improve the web output configuration. It would be great to have an online designer where you can say that you want space.title or page title and a few styles. Just a few basics. It would help a lot.
-
Hi Daniela, thanks for your reply.
Once you have configured your export template this will remain applicable for the version and future versions of the Scroll HTML Exporter app, therefore you wouldn't need to create/amend your template each time we release new versions of Scroll HTML Exporter. You'd only need to make changes to your template/theme if you want to format something differently to what you have previously defined.
It is likely that in the next major version of Scroll HTML Exporter (v4.x) we will look to improve the templating process and have a more visual designer. However, at the moment it would require coding skills with standard web technologies (ie. HTML, JS, CSS, etc) to be able to format a template for the app. I'll feed your input back to the team and we will see in the future if we are able to provide something (similar to Scroll PDF Exporter) where you can visibly add the placeholders to your specific sections in the template.
Thanks, Thomas
Please sign in to leave a comment.
Comments
10 comments