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.

Can't add background to categories name

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

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.


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.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.

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;
}

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

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

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.

Ramdaman
Active Poster

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

http://ndihme.forumotion.com/forum

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