Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Trouble getting sideboxes lined up together (horiz. misalignment)

Trouble getting sideboxes lined up together (horiz. misalignment)

Views: 482

Results 1 to 3 of 3
9 Sep 2012, 10:22 PM
#1
darkmonohue avatar

darkmonohue

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Trouble getting sideboxes lined up together (horiz. misalignment)

Site in question is http://www.sv3power.com/store/.

Still using 139c, no recent upgrades. The only add-on (unless I am forgetting something) is the blank sidebox mod. Template is Darkness.

The issue is that my left sideboxes do not line up with each other in a vertical column. The topmost box titled "Notes in the Margin" is the blank add-on. There is a slight void between it and the left edge of the page. Sideboxes on the right also sit slightly inward of the edge. However, the other two sideboxes on the left (Categories and New Products) are located directly against the left edge of the page. There is no void between the box and the edge as there is with all other sideboxes.

I only noticed this after installing the blank sidebox. As far as I know, that is when it started.

I have searched, seen several people with similar issues, and have seen several things suggested. I am not tech savvy and have been unable to identify the root cause of the issue. Minor fiddling with the stylesheet and sidebox files produced no result, but I am open to revisiting anything that looks suspect. All changes were made one at a time and immediately reversed as they had no effect.

The store is fully functional. This seems to be a cosmetic issue only, and I can live with it if it is not easily solved, but thought I would throw it out here in case someone wants to chime in. Any other suggestions on improving the store are more than welcome.

Thanks for...well, anything, really!

10 Sep 2012, 2:45 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Trouble getting sideboxes lined up together (horiz. misalignment)

You have an extra </div> in your blank sidebox code. This is ending the #navColumnOneWrapper prematurely, so that the following sideboxes do not have the margins that the navColumnXWrappers normally give.

You need to edit the file where you inserted code and remove the extra </div>.

10 Sep 2012, 4:08 AM
#3
darkmonohue avatar

darkmonohue

New Zenner

Join Date:
May 2010
Posts:
13
Plugin Contributions:
0

Re: Trouble getting sideboxes lined up together (horiz. misalignment)

That sorted it right out. Thank you for the assist! You made that very easy for me.

For anyone else using the same mod and having the same problem, the file in question was store\includes\templates\CUSTOM\sideboxes\tpl_blank_sidebox.php.