The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adding background colour to text?

Go down

Solved Adding background colour to text?

Post by Mimóza on January 26th 2016, 7:47 pm

Hello,
I'd like to add a yellow highlight/ background color to the following hover text on the banner "Tales of Pirates 2007 - 2016".  Anyone could help me, please? I tried use this: 
Code:
<span style="background-color: #ffd30b">Tales of Pirates 2007 - 2016</span>

 but nothing happened. :S


What it looks like now:


What I would like:


punBB http://toptribute.freediscussions.net/


Thanks in advance! Very Happy


Last edited by Mimóza on January 26th 2016, 8:05 pm; edited 1 time in total
avatar
Mimóza
Forumember

Female Posts : 610
Reputation : 257
Language : Hungarian, English
Location : Hungary

http://dianagyms.deviantart.com/gallery/

Back to top Go down

Solved Re: Adding background colour to text?

Post by Ange Tuteur on January 26th 2016, 8:02 pm

Hi @Mimóza,

You might have to style it with CSS instead, try adding this rule to your CSS stylesheet :
Code:
#felso figure h3 {
  background-color:rgba(255, 255, 0, 0.6);
  display:inline-block;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Adding background colour to text?

Post by Mimóza on January 26th 2016, 8:05 pm

Just perfect like always! Thanks a lot! 
avatar
Mimóza
Forumember

Female Posts : 610
Reputation : 257
Language : Hungarian, English
Location : Hungary

http://dianagyms.deviantart.com/gallery/

Back to top Go down

Solved Re: Adding background colour to text?

Post by Ange Tuteur on January 26th 2016, 8:07 pm

You're welcome ! ^^

Topic archived

Have a good day. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum