Can't add background to categories name

Go down

Solved Can't add background to categories name

Post by Cesar on November 21st 2014, 4:49 pm

I used this code, but isn't working and I don't know why. What is wrong?

Code:
.page-title h2 {
background: none repeat scroll 0 0 #21385C;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2) inset;
color: #FFF;
font-size: 12px;
font-weight: 700;
opacity: 1;
padding: 6px 14px;
}

 It should be like here, but is not changing..
avatar
Cesar
Forumember

Posts : 207
Reputation : 3
Language : Romanian

http://www.wolffighterz.com/

Back to top Go down

Solved Re: Can't add background to categories name

Post by SLGray on November 21st 2014, 9:02 pm

This is the CSS selector:
Code:
.page-title h2, .page-title span


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43075
Reputation : 3047
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Can't add background to categories name

Post by Cesar on November 22nd 2014, 9:48 am

Nothing changed.
avatar
Cesar
Forumember

Posts : 207
Reputation : 3
Language : Romanian

http://www.wolffighterz.com/

Back to top Go down

Solved Re: Can't add background to categories name

Post by Ange Tuteur on November 22nd 2014, 10:22 am

Hello PixX,

Try just selecting the page-title :
Code:
.page-title {
display:inline-block;
background: none repeat scroll 0 0 #21385C;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2) inset;
color: #FFF;
font-size: 12px;
font-weight: 700;
opacity: 1;
padding: 6px 14px;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Can't add background to categories name

Post by Cesar on November 22nd 2014, 1:41 pm

Is working now, thank you Ange.  Smile
avatar
Cesar
Forumember

Posts : 207
Reputation : 3
Language : Romanian

http://www.wolffighterz.com/

Back to top Go down

Solved Re: Can't add background to categories name

Post by Ramdaman on November 22nd 2014, 3:32 pm

Doing this since Ange is offline,

Topic solved and archived.
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Back to top


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