Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mennovink

    (@mennovink)

    For future travelers, this is the css i needed, really messy but gets the job done:

    .woocommerce div.product .woocommerce-tabs ul.tabs li.active, .woocommerce div.product .woocommerce-tabs ul.tabs li:hover, .woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
    color: var(--wp--custom--core-button--color);
    }
    .woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
    color: var(--wp--custom--core-button--color);
    } .restore-item{
    color: black;
    text-decoration-line: underline;
    }
    .showcoupon{
    color: black;
    text-decoration-line: underline;
    }
    .woocommerce-button.wp-element-button.button.view:hover{
    color: white;
    }
    .entry-content a:not(.wp-block-button__link):not(.arc-icon-wrapper):hover{
    color: white;
    } .checkout-button.button.alt.wc-forward.wp-element-button:hover{
    color:white
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: white;
    }
    .select2-results__option[data-selected="true"]{
    color: black;
    }
    .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected]{
    color: grey;
    }
    Thread Starter mennovink

    (@mennovink)

    Hi Helga, thanks for your answer.

    I think WooCommerce is using my theme colors, but not always. The yellow color comes from my theme. Changing it doesn’t reliably update these pages though, probably due to some caching.

    Woo using the primary yellow color is good though, just the way it’s deciding whether or not to use black or white text is wrong sometimes. I could not find any colors in the customizer for WooCommerce unfortunately.

    I will dive into custom css rules, but shouldn’t Woo produce readable text by default no matter which primary theme color is used?

    Thread Starter mennovink

    (@mennovink)

    Thanks for the help, that works ??

    Thread Starter mennovink

    (@mennovink)

    I am referring to the ‘generate’ button on the generators page. I have found that the ‘add new’ button on the licenses page allows/requires me to fill out all the information that doesn’t necessarily conform to any generator’s settings.
    So Generators -> Generate -> choose generator / amount 1 / status delivered / choose product.
    This generates a license key for the correct product, in the correct format (6parts 4chars in my case). It generates a license using the “Valid for” field. Usually when a license is delivered through the shop it fills in the “Expires at” field.
    My intended use-case is to generate a license for a user without requiring him to register or complete an order.

    Thread Starter mennovink

    (@mennovink)

    The api key was already read/write so that was fine. But thanks for directing me towards permissions. I had made a seperate user to execute these requests from. I had given that user the role ‘Shop Manager’, that didn’t work. Now i’ve made that user administrator and then it works.

Viewing 5 replies - 1 through 5 (of 5 total)