Updated by Kelly Hungerford on Aug 14, 2014
Paper.li CSS Styling

Kelly Hungerford Paper.li CSS Styling

Kelly Hungerford | 37 items | 3584 views

If your paper has a custom domain you can modify your paper's CSS. I've started this list to capture the most frequently requested style changes and the code. Copy and paste into your paper's CSS editor and you're set.

Follow List
Embed List
Share
  1. 1. /* Add a margin to the top of the page */

    /* Add a margin to the top of the page */

    .paper-window {
    margin-top: 20px !important;
    }

  2. 2. /*Add custom non-repeating, large background image*/

    /*Add custom non-repeating, large background image*/

    /* Contribution from publisher of http://dailyhemo.com */

    body{
    background-image: url("http://my_custom_background.jpg");

        background-position: center top;
    
        background-color: #3b3b3b;
    
        background-repeat: no-repeat;
    
      background-attachment: fixed;
    

    }

  3. 3. /* Change the background color of the paper's main section (where all the text is) */

    /* Change the background color of the paper's main section (where all the text is) */

    /* Change the background color of the paper's main section (where all the text is) */
    .paper-window {background-color: #000;}
    .paper-masthead .hero-unit, .navbar-paper .navbar-inner {background-color: transparent;}

  4. 4. /* Change the paper's text color */

    /* Change the paper's text color */

    /* Change the paper's text color */
    .cust-cs a, .cust-fs-pg strong, .cust-fs-pg {color: #fff !important}

  5. 5. /* Change your subscription widget text and the text's appearance */

    /* Change your subscription widget text and the text's appearance */

    /* Change your subscription widget text and the text's appearance */

    .subscribe-form h4 {
    display: none;
    }

    .subscribe-form {
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    }

    .subscribe-form:before {
    content: 'Enter your text here';
    }

  6. 6. /* Control the paper subtitle color */

    /* Control the paper subtitle color */

    .paper-masthead .paper-info p {
    color: #000000 !important;
    }

  7. 7. /* Disable auto-crop for article images.*/

    /* Disable auto-crop for article images.*/

    /* Note: Code will give warning but okay to use.*/
    .article-image {
    height: auto !important;
    }

    .article-image img {
    top: 0 !important;
    }

  8. 8. /* featured article background color */

    /* featured article background color */

    .lead-article .article-inner {
    background-color: #000000;
    }

  9. 9. Hide all stories

    Hide all stories

    /* This CSS is for hiding the 'All stories' links */

    .section-more-link {
    display: none;
    }

  10. 10. /* Hide archives link */

    /* Hide archives link */

    /* Hide archives link */
    ul.nav-paper-date li:nth-child(4) {
    display: none;
    }

  11. 11. /* Hide paper navigation menu (topics) */

    /* Hide paper navigation menu (topics) */

    /* Hide paper navigation menu (topics) */
    .paper-navigation {
    display: none;
    }

  12. 12. Hide paper's banner

    Hide paper's banner

    This code hides the paper's banner, which can come in really handy when you customize your paper and don't want the banner to show, but you still want a banner to display in your newsletter.

    /* Hide the banner */

    .paper-banner {
    display: none;
    }

  13. 13. Hide Powered by Paper.li

    Hide Powered by Paper.li

    This hides the footer on your paper

    .paper-footer {
    display: none;
    }

  14. 14. /* Hide social sharing buttons */

    /* Hide social sharing buttons */

    .addthis-smartlayers {
    display: none;
    }

  15. 15. /* Hides the Editor's box in iframe version of paper */

    /* Hides the Editor's box in iframe version of paper */

    .iframed .block-editor {
    display: none;
    }

  16. 16. /* Hides the multi-share tab in iframe version of paper */

    /* Hides the multi-share tab in iframe version of paper */

    .iframed .share-bar {
    display: none;
    }

  17. 17. /* Hide the contributor avatar 'shared by' */

    /* Hide the contributor avatar 'shared by' */

    .user-avatar {
    display: none;
    }

  18. 18. /* Hide the date */

    /* Hide the date */

    ul.nav-paper-date li:nth-child(1) {
    display: none;
    }

  19. 19. /* Hide the editor's box */

    /* Hide the editor's box */

    .paper-sidebar-body .paper-sidebar-block:nth-child(2) {
    display: none;
    }

  20. 20. /* Hide the Multi-Share tab */

    /* Hide the Multi-Share tab */

    .share-bar {
    display: none;
    }

  21. 21. /* Hide the "next edition" update time */

    /* Hide the "next edition" update time */

    ul.nav-paper-date li:nth-child(2) {
    display: none;
    }

  22. 22. /* Hide the Paper Title */

    /* Hide the Paper Title */

    .paper-masthead .paper-info {
    display:none;
    }

  23. 23. /* Hide the "Powered by Paper.li" at the footer */

    /* Hide the "Powered by Paper.li" at the footer */

    .paper-footer {
    display:none;
    }

  24. 24. /* Hide the subscription box */

    /* Hide the subscription box */

    .paper-sidebar-body .paper-sidebar-block:nth-child(1) {
    display: none;
    }

    .paper-sidebar-body .paper-sidebar-block:nth-child(2) {
    border-top: 2px solid #dcdcdc;
    }

  25. 25. /* Hide the words "Editor's Note" */

    /* Hide the words "Editor's Note" */

    .editor-note h4 {
    display: none;
    }