News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Joomla fonts get bigger, but just in the forum

Started by M70, March 18, 2007, 01:09:08 AM

Previous topic - Next topic

M70

I'm testing Joomla 1.0.12, SMF 1.1.2 and Bridge 1.1.7.

Everything works OK but with SMF wrapped my Joomla fonts are bigger, but just when I'm on the forum, if I browse the rest of the site is OK.

At first I thought that it could be fixed changing the BODY classes:

Joomla:
font-size:76.1%;

SMF:
font-size: small;

So I've tried to set both to "small" and also to "76.1%" but it doesn't solve the issue. It goes even worse.

Any idea?

Thank you,

M70

#1
I've even changed from 'xhtml' to 'html' on index.template.php

On the other hand the issue affects my custom Theme, the Default Theme, YaBB SE and Babylon. But with another one downloaded (British steel) there are no problems except that it's too wide (fixed width) to fit in wrapped.

M70

BTW, solved merging CSS files and deleting dupes (although I thought that this wasn't necessary anymore). ;-)

Kindred

it depends on your theme...  conflicting CSS will always be a problem, unless you use the extracter and prefixer...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ormuz

another way to correct the font problem, change the size in fonts_compat.css in the default theme!

NotNice

i had the same problem, it is caused by having multiple stylesheets for both joomla and smf. try removing the font-size in the smf stylesheet, that will fix the problem!
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little.

willi1

#6
Hello,

I have the same problem, in the category last post there is "class smalltext font-size x-small"
in the wrapped mode, the forum takes the template.css information of joomla template. for the links in the category last post there schould be take the style.css from the forum.

have you any suggestion? sorry for my english

here

kind regards

willi

Kindred

the problem is that joomla defines fonts as absolute pixel values while SMF defined fonts as relative...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

willi1

how can I solve the problem  ???

have you any idea

kind regards
willi1

Kindred

as I have said before, one solution to this is to merge CSS files, delete/merge duplicate tags and then go through and reset the fonts to use absolute sizes...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: