Skip to content
Discussion options

You must be logged in to vote

I found a solution which works:

Create a logos.html file with the following content:

<div class="first-slide-only" style="display:none;">
        <img src="img/top_right.jpg" class="title_logo_top_right"/>
        <img src="img/bottom_left.jpg" class="title_logo_bottom_left"/>
</div>

In the Quarto file I then reference this file: include-before-body: logos.html.
Some ugly JavaScript code in include-after: takes care that these two logos are only displayed on the title slide, and the title slide numbers and the standard logo are hidden:

  <script type="text/javascript">
    Reveal.on('ready', event => {
  if (event.indexh === 0) {
    document.querySelector("div.has-logo > img.slide-logo"…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by raphaelbetschart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants