Support » Plugin: Read Offline » How to show pdf and print buttons on top corner right

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Per Søderlind

    (@pers)

    The HTML generated by the plugin looks like:

    
    <div class="readoffline-embed">
    	<div class="readoffline-embed-text">Read Offline: </div>
    	<div><a class="pdf" href="http://dev.local/read-offline/992/.pdf" title="Download .pdf">Download PDF</a></div>
    	<div><a class="print" href="http://dev.local/read-offline/992/.print" title="Print ." onclick="read_offline_print_me();return false;">Print</a></div>
    </div>
    

    so you could add the following to your (child) theme style.css to move the buttons to the right:

    
    .readoffline-embed {
    	display: flex;
        justify-content: flex-end;
    }
    

    btw, I respond quicker to issues if you post them at GitHub

    Thank you so much! I solved!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show pdf and print buttons on top corner right’ is closed to new replies.