coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: StuartDH on January 31, 2005, 12:26:26 PM

Title: Flags in the centre
Post by: StuartDH on January 31, 2005, 12:26:26 PM
Hi,

I've got 1.3.2 running the Mac OS theme at www.wildaboutbritain.co.uk (http://www.wildaboutbritain.co.uk) and all is working well apart from the position of the flags at the bottom of the page. I'd like to have them sitting in the centre as opposed to their current position on the left but I'm not too sure which line of which file I need to change. Any help would be gratefully received.

Thanks

Stuart
Title: Re: Flags in the centre
Post by: Abbas Ali on January 31, 2005, 12:36:08 PM
For Mac_ox_x theme edit themes/mac_ox_x/template.html

Replace (somewhere at the bottom of file)


{THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}{LANGUAGE_SELECT_FLAGS}


with


<div align="center">{THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}{LANGUAGE_SELECT_FLAGS}</div>


This will center align theme selection box, language selection list and flags.

To center align only flags replace above code with


{THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}<div align="center">{LANGUAGE_SELECT_FLAGS}</div>
Title: Re: Flags in the centre
Post by: StuartDH on January 31, 2005, 02:56:02 PM
Excellent! Exactly what I was looking for.

Thanks Abbas, I don't know how I missed it?

Cheers

Stuart