• Resolved lifrance

    (@lifrance)


    Hello,

    What CSS needs to be used to horizontally center align the coupon in a column? I’m using WP Bakery. Currently, the coupon defaults to the left.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brian

    (@brianjessee)

    Hi,

    Thanks for using the Coupon Creator plugin.

    You are using the shortcode, correct?

    If you add this parameter it will center the coupon: coupon_align=”cctor_aligncenter”

    It looks like in the example it is defaulting to the alignnone.

    Let me know if that works.

    Thanks

    Thread Starter lifrance

    (@lifrance)

    Hey Brian,

    Thanks for the quick reply. Unfortunately, it didn’t work.

    When I inserted the recommended code in the Inspector, it centered as I hoped it would. When I pasted the code in the customizer, your coupon options, and on-page CSS (not all at the same time), it did not work.

    Can you assist further with this?

    Thanks!
    Linda

    Plugin Author Brian

    (@brianjessee)

    Hi,

    I can help out some more.

    When I look at the link you provided the Coupon still has alignnone in the markup. Were you able to add the code I provided to the shortcode like this:

    [coupon couponid="7000" coupon_align="cctor_aligncenter" name="Lower Third Coupon"]

    You only need to add the coupon_align part.

    Thanks

    Thread Starter lifrance

    (@lifrance)

    Hey Brian,

    That did the trick! It didn’t register, until I saw the code you just sent, that it is part of the short code. I was overthinking and wondering where it went in the CSS.

    Many thanks!
    Linda

    Plugin Author Brian

    (@brianjessee)

    Great glad it helped!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.