Hey there,
i`m looking for an option to underline text parts like in the image:
https://ibb.co/0XtfwSD
i would wrap the text part in a span class,- but how is the css part look like?
thanks a lot!
Hey awasner,
Are you looking for all the text to have a background, or only half of like in your screenshot?
Best regards,
Rikard
Dear Rikard,
just simple words, not the whole sentence.
Shoud be a little highlighting of words.
thanks!
Andreas
Hi Andreas,
Well, that part of the sentence should be wrapped in a span element and then maybe some css applied to it or some background image.
Best regards,
Victoria
Hi Victoria,
and how would the css part look like?
can you give me some help?
Best Regards,
Andreas
Hi Andreas,
Please try something like this in your content:
<p>This is a paragraph and <span class="yellow-background">this text has a yellow background</span></p>
Then add this to Quick CSS:
span.yellow-background {
background: yellow;
}
Best regards,
Rikard
Dear Rikard,
but this will make just a yellow background. as you can see in the picture, the background goes a bit underneath the text.
thx
Andreas
Hi awasner,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
Dear Victoria,
sorry for the late reply.
On the following Demo Site you`ll see an example in the Menu.
Thanks,
Andreas