Page 1 of 1
Cant use bold font in description
Posted: 27 Nov 2008, 12:35
by Cyberlink1981
I try to use bold font in description for a picture, but all it does is remove the text.
Why is that?
Posted: 27 Nov 2008, 21:14
by mjau-mjau
My guess is that you are using either the GARDENER theme or the BLUEDRAGON theme. These themes are using an embedded pixelfont "standard 07_53" for text, and they simply don't support <bold>.
Unless you wanna change the font for your description through your theme CSS file, I suggest the following. Create a new style in your theme:
.mybold { font-family: "standard 07_63"; }
Then instead of using <b>bold</b> to create a bold emphasis, use <span class='mybold'>bold</span>, which will have the same effect.
Posted: 28 Nov 2008, 04:33
by Cyberlink1981
Yes i use Blue Dragon..
But this seems to be my rescue.. thnx for the help

Posted: 28 Nov 2008, 06:47
by Cyberlink1981
Just tried it, doesnt work..
.mybold {
font-weight: bold;
font-family: "Arial";
}
Posted: 28 Nov 2008, 07:00
by mjau-mjau
Well, I did say:
.mybold { font-family: "standard 07_63"; }
Problem is, you can't mix Arial and the other pixel font in a single textfield. If you want to use Arial, you need to set the entire description block to use another font that "standard 07_53".
Posted: 28 Nov 2008, 08:09
by Cyberlink1981
Can u change the size and color too?
Posted: 30 Nov 2008, 22:52
by mjau-mjau
Cyberlink1981 wrote:Can u change the size and color too?
Yes, you can change almost anything related to the formatting of the text through the CSS stylesheet -
color: #FFFFFF;
font-size: 24px;
In the next release, we are providing optional CSS files for the bluedragon and gardener theme so they can be switched to use a similar font as in the default theme, and there supports improved text formatting and international characters.
Posted: 01 Dec 2008, 08:03
by Cyberlink1981
font works fine here.. but it will only show black font, if i use other color, it still shows black

Posted: 01 Dec 2008, 20:59
by mjau-mjau
Cyberlink1981 wrote:font works fine here.. but it will only show black font, if i use other color, it still shows black

Keep in mind, there are other classes which may control the same text. For example,
.mainmenu{} sets the style for the entire mainmenu, and
.mainmenu_title{} sets the style for only the titles in the main menu. This means that anything you set in .mainmenu_title{} will overwrite anything you have in .mainmenu{}.
If this is not the case, then there must be something else. Did you clear your browser cache? Did you set the color correctly?
Please provide a link and I will look it up -
Posted: 02 Dec 2008, 00:25
by Cyberlink1981
Got it solved now, guess its wise alwys to clear the cache
