TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 112
  • Total: 112

Sitemap, Make font smaller?

Started by Xycose, October 26, 2006, 04:16:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xycose

Is there a way I can make the font size on entree's in Sitemap smaller?

Exmaple:

JPDeni

You could set a font size in the style.css file.

Xycose

Thanks, I'll try to find it in there & post back if I have trouble.

JPDeni

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.

Xycose

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!

JPDeni

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.

Xycose

#6
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 :)

JPDeni

I understand. Me too. Maybe one of the css gurus will pop in and teach us both how to do it. ;D

nukebiz

#8
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.

Xycose


This website is proudly hosted on Crocweb Cloud Website Hosting.