• Resolved pboch

    (@pboch)


    Hi
    I am trying to override part of the stylesheet you are using by using my own print.css

    More concretely, in your stylesheet I see this:

    #pf-body .pf-caption,
    #pf-body .wp-caption {
     margin:0 1rem;
     padding:.5rem;
     display:block;
     float:right;
     clear:right;
     border:1px solid #ccc;
     border-radius:.25rem;
     font-size:87.5%;
     vertical-align:top;
     max-width:98%
    }

    In my stylesheet I want to override only the “float” and “border” styles, so I put this in my style sheet

    #printfriendly .pf-caption,
    #printfriendly .wp-caption {
        float:none ;
        border:0px ;
    }

    However, it’s not working, neither in the preview nor in the pdf (which is my objective)

    Any idea? Appreciate any hint, thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter pboch

    (@pboch)

    Got it, the following worked:

    #pf-body .pf-caption,
    #pf-body .wp-caption {
        float:none ;
        border:0px ;
        text-align:center;
      }
    • This reply was modified 5 years ago by pboch.
Viewing 1 replies (of 1 total)
  • The topic ‘Override pf/wp caption’ is closed to new replies.