WordPress.org

Ready to get started?Download WordPress

Forums

Copyright Proof
[resolved] How to center align Digiprove notice in posts? (3 posts)

  1. daddylee1969
    Member
    Posted 1 year ago #

    How do I center align the Digiprove notice in posts, and also, add a line above and below?

    http://wordpress.org/extend/plugins/digiproveblog/

  2. DigiproveDevelopment
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting one - it can be tricky to get centering working reliably in CSS (that's what we found anyway), many of the tips you find on the net do not seem to work on all browsers. However, enough with the excuses..

    We have found it can be done with CSS styling, using this code:

    <style type="text/css">
    span.notranslate
    {
    	margin-left:40%;
    	margin-right:40%;
    }
    </style>

    You will have to experiment with the %ages to see what works for you. One disadvantage of the above is that it will apply to all span elements with the notranslate class; if this is a problem for you try adding the text [id="dprv_cp_2.08"] immediately after the notranslate. This will work if u are on realease 2.08 of the plugin.

    We might add this as a configurable option in future if enough people ask for it

  3. DigiproveDevelopment
    Member
    Plugin Author

    Posted 1 year ago #

    Marked resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.