Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joel James

    (@joelcj91)

    Hi,
    That field is optional. If you have any button classes used in in your theme you can add that here. Otherwise it will display default button.
    You can add custom css for a button and add that class here if you want to style the look of your button ??

    Thread Starter robertamundson

    (@robertamundson)

    Hi Joel,

    thanks for the prompt reply. What I meant what, how do I go about creating a class specifically for your plugin’s button? I do have a button class in my theme but if I add CSS to it, it affects all my buttons; I only want to customize yours.

    Thanks!

    Plugin Author Joel James

    (@joelcj91)

    You can use that button class here (theme button). Or you can add new class and some custom css to your theme style.css file. It will not affect your theme. You don’t have modify any button styles for this plugin.
    I recommend using existing button class or adding new button style

    Thread Starter robertamundson

    (@robertamundson)

    Ok thanks. So how would I create a new button style?

    evarubin

    (@evarubin)

    @robert:

    if it gets you any further – (and if someone else knows better than me, please correct!)

    a class in css starts with a period, so a button class would be = .button

    i entered “.disqus-button” and then it was automatically styled (as Joel said above) by the button class already in my css.

    it happened to be styled with a white background, so I just modified that aspect of the css, so we’ll see if i screwed anything else up, but it looks ok so far.

    i’m using a genesis theme, if it matters.

    the css ended up looking like this:

    .modern-portfolio-pro-red button {
    background-color: #222;
    color: #fff;
    }

    hope that helps. and if anything’s off, i’d love to know. trying to learn as i go.

    Plugin Author Joel James

    (@joelcj91)

    Hi evarubin,
    Is this class (modern-portfolio-pro-red) already exist in your style?
    If you modify existing style, it may affect your theme. So check before proceeding.
    If you added this class as new one, you are good to go !!

    but what if you want to make the button large? would you need custom css or can you use some type of existing style that the default theme already uses for the buttons, for example “btn-lg” or something of sorts

    Plugin Author Joel James

    (@joelcj91)

    Hi Dperezr,

    Yes. You can simply use the button class from your theme. For eg: btn-lg.

    Just add that class in button class option. Thats it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Customize Button?’ is closed to new replies.