PDA

View Full Version : Font size and color for "FREE TEXTUAL INFO"


MikeCaine
31st of October 2006 (Tue), 06:55
On my 2.01 gallery all of the text entered in the input box "FREE TEXTUAL INFO" is black on a dark gray background, which obviously makes it hard to see.

What would I have to change to make it the same color as the photo title, etc?

I'm assuming it's a CSS change somewhere, but I'd appreciate a pointer as to where to find it

cferrero
31st of October 2006 (Tue), 10:24
To change the text colour, you need to edit the ee_css_paragraph style

Styles->Global stylesheets->Global colour stylesheet

To change the text style, you need to edit the Global Font stylesheet

To change the text format, you need to edit the Photo Layout stylesheet.

MikeCaine
31st of October 2006 (Tue), 10:43
Looking at the source of the page with a photo free text comment I think I need to change ee_photo_description_text, which I can't find in that section, but I now think I can search for the text over the whole gallery folder

MikeCaine
31st of October 2006 (Tue), 10:58
I think it's in default_XHTML_css.php but now looking at it further it seems that I originally wrapped <center> around the photo description to go with the centered photos and that had messed up the style sheet display. Removing the <center> makes the text appear OK, It's just a PITA trying to find all of the photo descriptions and remove the tag

malum
5th of September 2007 (Wed), 06:40
any luck with this?
I have the same problem but only in Firefox.
It's driving me nuts.
I have tried editing the CSS files and whilst it makes the changes in IE Firefox remains resolutely dark on dark.
I tried embedding a style in the relevant page but that didn't affect Firefox either (did IE)
I tried embedding the style in the free textual info but that didn't work either

malum
5th of September 2007 (Wed), 09:55
I fixed this by editing:
templates\pages\ee_2_default\photo\default_XHTML_c ontent.php (or whatever you are using)

Line 118
from

<p class="ee_photo_description_text ee_css_paragraph">
<?php print $description_text_html; ?>
</p>
to

<h1 class="ee_photo_description_text ee_css_paragraph">
<?php print $description_text_html; ?>
</p>


I have no idea why this worked, but then I have no idea why ther was a problem to start with

wkitty42
11th of September 2007 (Tue), 22:51
<h1 class="ee_photo_description_text ee_css_paragraph">
<?php print $description_text_html; ?>
</p>


FWIW: the above will not validate, either... you've changed the leading 'p' tag to a 'h1' tag... however, you didn't change the closing '/p' to a closing '/h1' :?

malum
12th of September 2007 (Wed), 04:09
FWIW: the above will not validate, either... you've changed the leading 'p' tag to a 'h1' tag... however, you didn't change the closing '/p' to a closing '/h1' :?
Thanks

I did notice that after I posted and changed it on my file. In fact I changed them both to <div> tags