If this is your first visit, check our documentation. To post, register or login.

Pages Off Centre - Alignment Issue

Started by simmys66 on 23 Apr 2013, 10:13 AM · Views: 675

Results 1 to 7 of 7
23 Apr 2013, 10:13 AM
#1
simmys66 avatar

simmys66

New Zenner

Join Date:
Mar 2011
Posts:
11
Plugin Contributions:
0

Post #1 by simmys66

Hi Fellow Zenners

I have a issue with my site "brighter-smile.co.uk" where by when the browser screen is full screen or goes above a normal width for my site, the entire body of the page jumps over to the right. this makes it off centre, does anyone have any ideas or pointers as to where I can fiz this alignment issue.

Thanks in advance

Chris

23 Apr 2013, 4:25 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

What browser are you using?

Using FireFox - I do not see this issue

Zen-Venom Get Bitten

23 Apr 2013, 5:01 PM
#3
simmys66 avatar

simmys66

New Zenner

Join Date:
Mar 2011
Posts:
11
Plugin Contributions:
0

Post #3 by simmys66

Hi Cobra

I am seeing this in Firefox and Chrome (Latest Versions) I also had it showing in IE but this does not appear to be happening now in version 9.0.15 If you make the browser window as wide as the monitor you should see this (My Monitor is 20")

23 Apr 2013, 6:50 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,908
Plugin Contributions:
23

Post #4 by dbltoe

Yep, when you go to full screen on a larger monitor, it jumps the mainWrapper to the right.

Two things I see (or don't see). 86 warnings on the main page with most of them in the jscript but, several others are clouding the issue. I don't see the familiar <br class="clearBoth" /> tag showing up after a series of divs. This in itself may be allowing a shift, margin, padding, etc to be carried over from the logo header.

Try fixing the errors first and we can look at it more.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

24 Apr 2013, 9:47 AM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #5 by rodg

On addition to dbltoes' advice:

Although probably not the best solution, I've found I can make it look much nicer by editing your file

includes/templates/tvzen_jellyfish_3col/css/stylesheet_tv.css

Look for:
#logoWrapper {
height: 80px;
margin: auto;
width: 961px;
}

Change to
#logoWrapper {
height: 80px;
margin: auto;
width: 10px;
}

The template creator will probably have a better method.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

29 Apr 2013, 7:28 PM
#6
simmys66 avatar

simmys66

New Zenner

Join Date:
Mar 2011
Posts:
11
Plugin Contributions:
0

Post #6 by simmys66

Hi Rod

Thank you for your input, I have altered the stylesheet_tv.css and this appears to have rectified the issue with the off centre i changed the following

includes/templates/tvzen_jellyfish_3col/css/stylesheet_tv.css

#logoWrapper {
height: 80px;
margin: inherit; <------------------From Auto
width: 748px; <------------------From 961px
}
#logo {
float: none; <-----------------From Auto
margin-left: 25px;
width: 240px;
}

29 Apr 2013, 7:34 PM
#7
simmys66 avatar

simmys66

New Zenner

Join Date:
Mar 2011
Posts:
11
Plugin Contributions:
0

Post #7 by simmys66

Hi dbltoe

Can you clarify the warnings you are getting and how you are seeing these, I am using firebug in Firefox and thought I had eradicated all the errors on the main page loads. I am surprised to hear that you are seeing these. Unfortunately you have lost me with the <br class="clearBoth" /> tag as I am struggling through php, I am a novice when it comes to php or any other language for that matter, I just struggle through each error that comes along, and learning as I go.

I appreciate all help and advise given.

Best Regards
Chris