Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / After inserting an image, everything else is shifted to the right

After inserting an image, everything else is shifted to the right

Views: 527

Results 1 to 3 of 3
24 May 2013, 9:25 AM
#1
bodkin77 avatar

bodkin77

New Zenner

Join Date:
Apr 2013
Location:
Bangkok, Thailand
Posts:
35
Plugin Contributions:
0

After inserting an image, everything else is shifted to the right

Hi,

Could somebody please help me to fix my webpage? https://www.asia-sell.com. I added a Paypal accepted cards image in the header and now everything underneath it is aligned to the left side of the image, which is far off to the right of where everything is supposed to be.

I copied everything in the tpl_header.php and stylesheet.css files that relates to logowrapper and logo, then renamed everything to cardwrapper and card, and set the dimensions to the image size (I was trying to create a new div to place the Paypal image in). Not sure if that worked out entirely smart :dontgetit, the div seems to span the whole sheet anyway. maybe that's not the problem... Maybe I just need to set to the left side the next thing that loads on the website.

Thanks ahead of time

24 May 2013, 11:19 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: After inserting an image, everything else is shifted to the right

Looks like you didn't close the cardWrapper <div>.

24 May 2013, 12:10 PM
#3
bodkin77 avatar

bodkin77

New Zenner

Join Date:
Apr 2013
Location:
Bangkok, Thailand
Posts:
35
Plugin Contributions:
0

Re: After inserting an image, everything else is shifted to the right

thanks, fixed and nice work