#sergio_sanchez

1 messages · Page 1 of 1 (latest)

quick elbowBOT
lost niche
#

Hello 👋
What have you tried so far?

dull imp
#

Hello

#

for instance I would like to hide (display:none) the "Learn More" link that is included in the payment-method-messaging

#

for that I know that one of the class use here is p-LearnMore

#

so for that I am trying to do this

#
    amount,
    currency: currencyCode.toUpperCase(),
    paymentMethodTypes: ['klarna'],
    countryCode: 'ES',
    appearance: {
      rules: {
        '.p-LearnMore': {
          display: 'none'
        }
      }
    }
  };```
#
            options={messagingOptions}
          />```
#

but it does not work

#

should it work?

lost niche
#

I don't think it would work, I don't think you can hide the learn more link.

Also if you look at all rules,

dull imp
#

ah! ok so we can not use it

#

and about to change how it is display?

#

I mean, I would like to have eveything in just one line instead of three lines

#

do we have appearance possibility for that?

#

something sush as display: flex

lost niche
#

I don't believe there is

dull imp
#

ok thanks

#

so maybe I woudl need to define an adhoc component to show this info as we would like

#

thanks a lot for your support