Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Cyberlink1981
Topic Author
Posts: 23
Joined: 30 Sep 2007, 15:07

Cant use bold font in description

27 Nov 2008, 12:35

I try to use bold font in description for a picture, but all it does is remove the text.
Code
<b> hello world</b>
Why is that?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

27 Nov 2008, 21:14

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.
 
User avatar
Cyberlink1981
Topic Author
Posts: 23
Joined: 30 Sep 2007, 15:07

28 Nov 2008, 04:33

Yes i use Blue Dragon..

But this seems to be my rescue.. thnx for the help :)
 
User avatar
Cyberlink1981
Topic Author
Posts: 23
Joined: 30 Sep 2007, 15:07

28 Nov 2008, 06:47

Just tried it, doesnt work..
Code
.mybold { 
font-weight: bold;
font-family: "Arial";
} 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

28 Nov 2008, 07:00

Well, I did say:
Code
.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".
 
User avatar
Cyberlink1981
Topic Author
Posts: 23
Joined: 30 Sep 2007, 15:07

28 Nov 2008, 08:09

Can u change the size and color too?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Nov 2008, 22:52

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 -
Code
	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.
 
User avatar
Cyberlink1981
Topic Author
Posts: 23
Joined: 30 Sep 2007, 15:07

01 Dec 2008, 08:03

font works fine here.. but it will only show black font, if i use other color, it still shows black :?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

01 Dec 2008, 20:59

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 -
 
User avatar
Cyberlink1981
Topic Author
Posts: 23
Joined: 30 Sep 2007, 15:07

02 Dec 2008, 00:25

Got it solved now, guess its wise alwys to clear the cache :)