Home Forums WoodMart support forum Classe for primary buttons

Classe for primary buttons

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #330739

    steph_invent
    Participant

    Hello,

    I am a using a shortcode and I need to apply the CSS the has been configured for the primary color of the theme buttons.

    Would please give me the Class name that I can use?

    Thank you
    Regards

    #330944

    Hello,

    Please provide the page URL where you want to change the button and its screen. I will inspect the element and give you custom CSS.

    Best Regards

    #330946

    steph_invent
    Participant

    Hi,

    below is the URL for the page as well as a screenshot of the button.

    I need to show the button in red background and bigger size and when I hover it, it should turn on to black background.

    Thank you
    Regards

    Attachments:
    You must be logged in to view attached files.
    #331110

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body button.configure-product.configure-product-simple {
        background-color: yellow;
        color: red;
        margin-bottom: 10px;
    }
    body button.configure-product.configure-product-simple:hover {
        background-color: orange;
        color: red;
        margin-bottom: 10px;
    }

    Please set the colors as per your needs. The first snipped is for the default button state, the second is for the hover state.

    Best Regards

    #331249

    steph_invent
    Participant

    Hello,

    Thank you for your reply.

    I am not sure that the default button of the theme will work since when I inspect the code of the button I have sent you above I see the class ” is-shortcode configure-product-simple configure-product configurateur”

    However the one you gave me is different.

    Thank you in advance
    Regards

    #331251

    steph_invent
    Participant

    Hi

    Seems to work

    I have changed the CSS to this once

    button.is-shortcode.configure-product-simple.configure-product.configurateur:hover {
    background-color: black;
    color: white;
    margin-bottom: 20px;
    }
    button.is-shortcode.configure-product-simple.configure-product.configurateur {
    background-color: red;
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
    }

    #331285

    Hello,

    Please consider the settings colors in the Theme Settings > Styles and colors > Buttons.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 7 posts - 1 through 7 (of 7 total)