Cover image not centering in a Quarto book #791
              
                
                  
                  
                    Answered
                  
                  by
                    emdelponte
                  
              
          
                  
                    
                      emdelponte
                    
                  
                
                  asked this question in
                Q&A
              
            -
| In Bookdown, the cover image of the book was right-floating but adjusted dynamically to the center in small screens. What is the trick for this in a Quarto book? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            emdelponte
          
      
      
        May 4, 2022 
      
    
    Replies: 1 comment
-
| I've found it in the yml file of the example book. Need to include the cover-image under book, as below: book: It does not center the image, but resizes it nicely. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        emdelponte
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I've found it in the yml file of the example book. Need to include the cover-image under book, as below:
book:
cover-image: cover.png
It does not center the image, but resizes it nicely.