News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

CSS issue on my theme

Started by hummerton, May 03, 2009, 04:08:37 PM

Previous topic - Next topic

hummerton

Hello all ;-)

Installed SMF and love it so far. Great admin. I have a design that I did that I replaced what was in the 'default' folder. All is good EXCEPT for CSS issue.

The wording is way too big at hxxp:shopitback.com/forums/ [nonactive]

Any ideas?

Thanks,

Rob

mashby

Always be a little kinder than necessary.
- James M. Barrie

hummerton

Well, most of the wording...

HOME, ABOUT US, CONTACT US on top right

And almost all forum wording....


bullbreedluverz

all looks fine to me as it should be - the only font size that looks larger than normal is the buttons you have added to the top of the header where that font is bigger than all the toehr font on the forum


you havent got you browser zoomed in have you making everything bigger

mashby

HOME, ABOUT US, CONTACT US on top right

Those use a class called linktext which isn't defined in your stylesheet. If you add that class in the stylesheet and set it to a specific size, it should reduce the size.  And when you're edited that stylesheet, you can attempt to reduce some elements while you're in there. But I think the forum part looks fine (on my end anyway).
Always be a little kinder than necessary.
- James M. Barrie

hummerton

Well, in FireFox it looks fine. But IE, things look large for me. Text size is set to MEDIUM in IE. That is default, right?

bullbreedluverz

well that seems to be an issue with IE and not font sizes as such and if you make the fonts smaller then in FF & safari which ive viewed it with will be tiny - maybe in your editing youve change or removed 1 of the many fixes/coding that are needed for IE

hummerton

Great, I don't know much about CSS so I will go through and see what I can see.

Thank you,

Rob

hummerton

Well, I just checked the code via view source and it has some coding for the header THEN calls the meta tags and css file. Could that be the reason? Because CSS isn't listed at the top?

hxxp:shopitback.com/forums/ [nonactive]

Fine in FireFox, not in IE (at least IE8).

Thanks,

Rob

mashby

Stylesheet is being called in the <head> so that's all good and fine. In IE8, there's a little thing called Developer Tools. I used it to edit the stylesheet from cache. I added font-size: 12px; to the windowbg2 class and it seemed to make the board text consistent with Firefox (I also did the same thing on Firefox using Firebug). You may have to tweak more than just windowbg2 as well. I looked at my site using the default theme and I don't see the larger board text that I see on your site though.
Always be a little kinder than necessary.
- James M. Barrie

hummerton

Well,  couldn't get it so I am just going to post as a project at hxxp:scriptlance.com [nonactive]

Thanks anyways,
Rob

[SiNaN]

Quote from: hummerton on May 03, 2009, 08:48:00 PM
Well, I just checked the code via view source and it has some coding for the header THEN calls the meta tags and css file. Could that be the reason? Because CSS isn't listed at the top?

http://shopitback.com/forums/

Fine in FireFox, not in IE (at least IE8).

Thanks,

Rob


Yeah, that's the reason. The custom menu code you've added should go in the Themes/default/index.template.php file, and not index.php file.

If you could solve the issue or no longer require assistance, please mark the topic as solved.
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: