Support » Plugin: Protected Posts Logout Button » Button CSS class

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nate Reist


    You would enter the css class associated with the button styles from your stylesheet. There are several ways to determine this, but you may want to consider using your browser’s web inspector:

    Or reading through your themes stylesheet. If you have have a web url to the page in question please don’t hesitate to send it to me.

    If you have any issue with this please let me know

    Thread Starter namster2k


    Here’s an example of the button style I’d like to use on my site:

    After inspecting the element of the button, I found that the class is called “_self pt-cv-readmore btn btn-success btn-sm”.

    When I entered that as the Button CSS class, it works. However the font on the button is black as opposed to white like on the other page. Any way to change the font colour?

    Plugin Author Nate Reist


    Hey namster2k,

    It looks like that conflict comes from a default class button inside your themes stylesheet ( virtue ) that sets the color of .button to color: #444;

    If you have a way to safely add css to you site you could overwrite that with this:

    color:#fff !important;

    A good way to safely add css to your theme is with jetpack’s custom css plugin

    Hope this helps

    Thread Starter namster2k


    Perfect! That did the trick!
    Thank you very much, Nate!

    Actually the Virtue theme also has a built-in Custom CSS editor, so I was able to copy and paste the code in there with no problems.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Button CSS class’ is closed to new replies.