Archiv bis 2012

Centering the flash header in Go vista for J1.7

3 replies [Last post]
Joined: 13.09.2011

Hi' I'm having problems centering the title of the page. That's the flash part.
I wish my site name, "Robert E. Taylor to be in the middle, not on the left.
Can you help please?

I believe this is the code that requires modification -

<?php if ( !$this->countModules( 'header' ) ) { ?>

var so = new SWFObject("<?php echo $this->baseurl ?>/templates/go_vista_bw/images/<?php echo $headerswf; ?>?pagename=<?php echo urlencode($vistaheadertext);?>&mainsite=<?php echo $hplink; ?>&blur=<?php echo $this->params->get('blureffect'); ?>", "govistasimple", "<?php echo $headerwidth; ?>", "87", "8", "#000000");
so.addParam("wmode", "transparent");
so.addParam("mainsite", "<?php echo $this->baseurl ?>");
so.addParam("pagename", "<?php echo $vistaheadertext;?>");

Sorry, but I'm new to this, and can't find anywhere that has any code to use as a reference.
Thank you.

Joined: 23.11.2008
simply change ...

simply change
<div id="flashheader">


<div id="flashheader" style="width:380px;margin:0 auto;overflow:hidden;">

perhaps you have to change 380 to your needs

Joined: 13.09.2011
Dear Markus, thank you so

Dear Markus, thank you so much for your help! I am new to HTML and I would not have got that without your help.

You are terrific!

Thank you,
Susi xx

Joined: 13.09.2011
website address

Sorry, forgot to add, the website address is