BACKGROUND PROP SIZE [parallax text background]

This topic contains 2 replies, has 2 voices, and was last updated by  reklamebanken 7 years, 4 months ago.

Author Posts

reklamebanken

Hi, I`m trying to make an opaqe bg on the text in the paralax images on http://laura.kunde.reklamebanken.com/ (password: lipglozz) that had rounded corners and some padding, but i can´t find out how to set that with the microthemer?


Sebastian

Hi there,

If you’re referring to your “Paralaxtext-front” selector, the reason the padding isn’t showing is because you have set the background clip property to ‘content-box’. If you remove that value and add padding and border-radius settings they should show properly.

By the way, the opacity property makes everything opaque, including the text within. But you can overcome this by setting the background color using RGBA instead of using opacity. Paste this value into the background color field (instead of #F2F2F2):

rgba(242, 242, 242, 0.5)

I hope that helps. Please let me know if you have any further questions.

Cheers,
Sebastian

ps the color picker will be updated soon to make adding RGB/A values much easier. This is a handy tool in the meantime: http://hex2rgba.devoth.com/


reklamebanken

Hi @sebastian!
Thanks a lot, that helped a lot!

You must login or register to reply to this topic.