News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Centering 360 elite theme

Started by mastaful, May 07, 2009, 02:48:12 PM

Previous topic - Next topic

mastaful

hey guys im using the 360 elite theme, now the theme does center fine unless theres a good size video or flash, example: using the user google map location mod and ultimate profile with a video in it. The site stretches to make it fit but goes off to the right more. Is there a way to fix this?

Why doesnt it squeeze these to the set width I have like it does everywhere else in the forum

It seems to stretch even more in IE than in Firefox to

thanks

Gary

Can you post a screenshot example?
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

mastaful

sure

first pic is what it should look like
second pic shows what it does when it stretches

thanks for your help

Gary

You'll need to wrap the Google Map code in a fixed width div.

<div style="width: 500px;">[GOOGLE MAP CODE HERE]</div>
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

mastaful

were would i put this in, GoogleMap.php or index.template.php
and for "GOOGLE MAP CODE HERE" do i replace this with somthing?

thanks again

Gary

It'd go in GoogleMap.template.php as for the Google map code, you replace that indeed, with the code to the map.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

[SiNaN]

That template seems to be coded in a very ugly way. See if replacing the attached template with yours fixes the issue. If not, you'll have to find a way to decrease the width of the map itself and the support topic of the mod would be a good place to start from.
Former SMF Core Developer | My Mods | SimplePortal

mastaful

thanks guys for the help
I tryed adding <div style="width: 500px;">[GOOGLE MAP CODE HERE]</div> but get the results in the first pic, maybee i put it in the wrong place?

Blue Dream: changing the map size does work but it ends up with the map being little squished "pic #2", which i can live with but I have a few other pages that stretch also so I kinda need to find some type of fix for them all

[SiNaN]

Well, you have to increase width of theme then.

./Themes/Xbox360_Elite/style.css

Code (Find) Select
width: 770px;

Code (Replace) Select
width: 960px;

You could increase decrease it to suit your needs.
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: