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?

View previous topic View next topic 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

Mimóza
Forumember

Female Posts : 566
Reputation : 243
Language : •ᴗ•
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;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

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! 

Mimóza
Forumember

Female Posts : 566
Reputation : 243
Language : •ᴗ•
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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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