TinyPortal

Development => Support => Topic started by: Xycose on October 26, 2006, 04:16:08 AM

Title: Sitemap, Make font smaller?
Post by: Xycose on October 26, 2006, 04:16:08 AM
Is there a way I can make the font size on entree's in Sitemap smaller?

Exmaple:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fxtechforum.com%2Fexample.png&hash=4ccc94629d740098e8fee5cee795a836744128e7)
Title: Re: Sitemap, Make font smaller?
Post by: JPDeni on October 26, 2006, 04:22:37 AM
You could set a font size in the style.css file.
Title: Re: Sitemap, Make font smaller?
Post by: Xycose on October 26, 2006, 04:39:10 AM
Thanks, I'll try to find it in there & post back if I have trouble.
Title: Re: Sitemap, Make font smaller?
Post by: JPDeni on October 26, 2006, 04:51:49 AM
It should be the first thing in the file and it's easier to edit the .css file than it is to find things in the template file.
Title: Re: Sitemap, Make font smaller?
Post by: Xycose on October 26, 2006, 05:03:35 AM
Quote from: JPDeni on October 26, 2006, 04:51:49 AM
It should be the first thing in the file and it's easier to edit the .css file than it is to find things in the template file.
Heh, I found it sometime between when you posted and I got the e-mail for a new post :P

Anyways, I found it (on the top like you said) and I didn't see anything already there for the font, so i added a  font-size to it, but it didn't change. What should I be addding? Any help? Thanks!
Title: Re: Sitemap, Make font smaller?
Post by: JPDeni on October 26, 2006, 05:53:21 AM
That's an unordered list so if you added something like
.sitemap ul {
font-size=small;
}

that might do it. I'm no expert at css, though. Just learning about it myself.
Title: Re: Sitemap, Make font smaller?
Post by: Xycose on October 26, 2006, 05:59:11 AM
Thanks! I will try it now. I was using the same thing, except numbers, 10, 12 ect.

Edit: Seems to have the same effect, Nothing. :[ Thank you for the help though. I will try and figure it out more tomorrow. I must sleep now though :)
Title: Re: Sitemap, Make font smaller?
Post by: JPDeni on October 26, 2006, 06:03:12 AM
I understand. Me too. Maybe one of the css gurus will pop in and teach us both how to do it. ;D
Title: Re: Sitemap, Make font smaller?
Post by: nukebiz on October 26, 2006, 07:10:17 AM
The class sitemap_header is applied to every link, so you need something like this in style.css.sitemap_header{
background: #ECEDF3;
border-bottom: solid 1px #ffffff;
padding: 4px;
display: block;
font-weight: bold;
font-size: 10px;
}
Otherwise, it inherits font-size from further up in the code - in this case probably from "body" which specifies "small" which will be too large.
Title: Re: Sitemap, Make font smaller?
Post by: Xycose on October 27, 2006, 03:33:46 AM
Thanks! That worked great.