Jump to content
Sign in to follow this  
babel08

Is it possible to change font size and color for only one box?

Recommended Posts

babel08

Hi, I found an answer to change for all the boxes: #boxes div.fboxtitle {font-size: #px;} #boxes div.fboxtext {font-size: #px;} but I would like to change the font only for one box. I am using three boxes on a page and want to change the third box on the right hand side. Thanks.

Share this post


Link to post
Share on other sites
MrFent
please provide a link to your site

Share this post


Link to post
Share on other sites
babel08
Hi The site is not live yet. Any way of doing this without seeing the site? Thanks

Share this post


Link to post
Share on other sites
kastelic
Get Chrome and right-click each box to inspect it for a unique id or class, then target that in CSS.

Share this post


Link to post
Share on other sites
babel08
I made some changes...I have posted my home page for today. I will try your suggestion. I assume if I want to change each box title color -I should do the same thing? When you say target in CSS-ou mean copy that code with changes into the custom CSS in pagelines?

Share this post


Link to post
Share on other sites
Jackey
Every box has its own ID [code]#fbox12345[/code] The number "12345" is unique for every box. So inspect your page-code to obtain the identifier and use it in your CSS selector. Example: [code]#fbox12345 div.fboxtitle h3 {font-size: #px;}[/code]

Share this post


Link to post
Share on other sites
babel08
Hi, I tried this & nothing happened: #fbox475 div.fboxtitle h3 { color: #f1771d; }

Share this post


Link to post
Share on other sites
Jackey
@babel08 Can't check without a link, please provide one if you can.

Share this post


Link to post
Share on other sites
babel08
Sorry...it is http://www.backpackfilms.com. Looking to change the title color of Get a Quote box ( fbox475) and Tips box (fbox128). I wanted to change font size of the tesitmony box (fbox130) and text color. I tried to use the fbox numbers and styling code from other questions like mine, but I am obviously not doing coding it right. Thank-you.

Share this post


Link to post
Share on other sites
Jackey
O.K. it is a link you want to change... so just add a [code]div#fbox475 div.fboxtitle h3 a { color: #f1771d; }[/code] You can change the hover color by adding :hover [code]div#fbox475 div.fboxtitle h3 a:hover { color: #FF0000; }[/code] If you don't want it to change color on hover replace the above with: [code]div#fbox475 div.fboxtitle h3 a, div#fbox475 div.fboxtitle h3 a:hover { color: #f1771d; }[/code] This is how you get there: [IMG]http://i.imgur.com/KGiRm.jpg[/IMG]

Share this post


Link to post
Share on other sites
babel08
Hi... Ok I tried: div#fbox475 div.fboxtitle h3 a { color: #f1771d; } Nothing changed. I cleared cache and reloaded page -nothing.

Share this post


Link to post
Share on other sites
catrina
Interesting, now the site loads for me. :) Try using this CSS: [code]div#fbox_475 div.fboxtitle h3 a { color: #f1771d;}[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
babel08
Fantastic! Thanks so much-- I really appreciate everyone's time in helping a non-coder customize a bit. Must learn CSS.

Share this post


Link to post
Share on other sites
babel08
Well it's me again... I have one last issue on the boxes. I changed the title colors and hover links for the first two boxes with no problem, copy the code and changed the box ID number for the third box title, but it isn't working.. Thanks for your help. http://backpackfilms.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×