Updated by Kelly Hungerford on Sep 18, 2014
Paper.li CSS Styling
4.23k
views
38
items
Kelly Hungerford

Paper.li CSS Styling

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 navigation bar link color */

    /* Change navigation bar link color */

    /* Change navigation bar link color */
    .paper-navigation li>a {
    color: red;
    }

  4. 4  /* 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;}

  5. 5  /* 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}

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

    /* Change the paper subtitle color */

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

  7. 7  /* Change the paper title color */

    /* Change the paper title color */

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

  8. 8  /* 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';
    }

  9. 9  /* 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;
    }

  10. 10  /* featured article background color */

    /* featured article background color */

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

  11. 11  /* Hide 'all stories' links at bottom of each section */

    /* Hide 'all stories' links at bottom of each section */

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

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

  12. 12  /* Hide archives link */

    /* Hide archives link */

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

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

    /* Hide paper navigation menu (topics) */

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

  14. 14  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;
    }

  15. 15  /* Hide Powered by Paper.li */

    /* Hide Powered by Paper.li */

    /* Hide Powered by Paper.li in your footer */

    .paper-footer {
    display: none;
    }

  16. 16  /* Hide social sharing buttons */

    /* Hide social sharing buttons */

    .addthis-smartlayers {
    display: none;
    }

  17. 17  /* 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;
    }

  18. 18  /* 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;
    }

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

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

    .user-avatar {
    display: none;
    }

  20. 20  /* Hide the date */

    /* Hide the date */

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

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

    /* Hide the editor's box */

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

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

    /* Hide the Multi-Share tab */

    .share-bar {
    display: none;
    }

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

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

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

  24. 24  /* Hide the Paper Title */

    /* Hide the Paper Title */

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

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

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

    .paper-footer {
    display:none;
    }