WordPress.org

Ready to get started?Download WordPress

Forums

Standout Color Boxes and Buttons
[resolved] Trouble with custom button color (2 posts)

  1. mhaile
    Member
    Posted 1 year ago #

    Hello,

    I can't seem to add a custom color.

    In settings and in the shortcode, the custom color strips the button.

    I leave the the box in settings blank and add it to the shortcode - button is stripped to the link. And vice versa.

    [color-button color="#8c500c" href="/coaching/"]Coaching[/color-button]

    What am I doing wrong here?

    Thanks.

    http://wordpress.org/extend/plugins/standout-color-boxes-and-buttons/

  2. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Kindly refer to the FAQ which states:

    There is a textbox on the plugin settings page where you can enter your own CSS class name. This will be appended as follows:

    • For color buttons, the class will be scbb-button-whatever you typed
    • For boxes, the class will be scbb-content-box-whatever you typed

    You must supply the matching CSS for your custom class.

    So you need to use a word and then add the corresponding CSS to your local CSS file. Ex: put "black" into the textbox and the name of the class will be "scbb-button-black". Then put the CSS you want for the button in your local CSS file, ex:

    .scbb-button-black { /* your CSS markup here */ }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.