• Resolved farlane

    (@farlane)


    I’m trying to hide the Coupon Code entry for items that the coupon doesn’t apply to. Neither checking the specific boxes that the coupon applies to nor using CSS to target a div with a specific ID works even though a display: none directive works just fine in FireBug.

    #fullpage .asp_product_coupon_input_container, #quarterpage .asp_product_coupon_input_container {
    display: none !important;
    }

    This site is in development so I can’t share a link.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, are you talking about the following documentation?

    Thank you

    Thread Starter farlane

    (@farlane)

    I found that I could deactivate them on the individual products. I am still curious as to why you inject the style sheet in the body immediately before the plugin renders items. It’s a place where it can’t be customized by normal wordpress CSS tools meaning as far as I can tell that you have to edit that CSS file directly.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    It’s a place where it can’t be customized by normal wordpress CSS tools meaning as far as I can tell that you have to edit that CSS file directly.

    Can you provide an example of what you would like to edit using CSS?

    Thank you

    Thread Starter farlane

    (@farlane)

    It was just CSS changes like the .asp_product_name line-height. I made them, I just have no way to do it so that it isn’t changed by any changes you make.

    No big deal, just wanted to make the suggestion.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I have not looked at this type of CSS customization before. I am wondering if this can also be achieve using a child theme?

    Regards

    Thread Starter farlane

    (@farlane)

    No. A child theme won’t work. You are injecting the style sheet immediately above the outputted code for the plugin. It should be injected in the head of the document above where custom CSS is typically injected.

    Plugin Support mbrsolution

    (@mbrsolution)

    Okay fair enough. I guess there is not much more we can do for now.

    If your issue is resolved and you don’t need any more help with this issue, can you mark this support thread as resolved.

    Thank you.

    Thread Starter farlane

    (@farlane)

    For sure – and thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Removing Coupon Display from Items’ is closed to new replies.