Forums / Templates, Stylesheets, Page Layout / Featured Image alignment and the white space under logo

Featured Image alignment and the white space under logo

Views: 797

Results 1 to 5 of 5
23 Apr 2014, 8:11 PM
#1
jongaguy avatar

jongaguy

New Zenner

Join Date:
Aug 2013
Posts:
14
Plugin Contributions:
0

Featured Image alignment and the white space under logo

Could anyone please help me with the featured image alignment on main page. I'd like to make it either go left or centered? Also I am trying to get rid of the white space between logo and ezpages.

Here is the link to my website https://www.partybonanza.ca

23 Apr 2014, 9:57 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,116
Plugin Contributions:
56

Re: Featured Image alignment and the white space under logo

Your "Template Monster" template (always a bad idea) is inserting the following HTML in your header:

<img width="1" height="80" alt="" src="includes/templates/template_default/images/pixel_trans.gif">

That's what's causing the whitespace between your logo and the EZ pages.

The issue with your Featured Products "alignment" is that some of your products' names are longer than others and use 2 lines instead of 1 in the display. Trying to traverse through the convoluted HTML generated for these simple items made my head spin!

24 Apr 2014, 4:34 AM
#3
jongaguy avatar

jongaguy

New Zenner

Join Date:
Aug 2013
Posts:
14
Plugin Contributions:
0

Re: Featured Image alignment and the white space under logo

Thanks for the guidance, the problem of whitespace is fixed now by reducing the height from 80 to 9.

The featured page image alignment is still an issue.

27 Apr 2014, 6:47 PM
#4
jongaguy avatar

jongaguy

New Zenner

Join Date:
Aug 2013
Posts:
14
Plugin Contributions:
0

Re: Featured Image alignment and the white space under logo

I figured out what's causing the featured product images to float towards left and not being centered.
It's <table style="width:100%; margin-top:13px; margin-left:**22px**;">
I need to set this margin-left to 0px but unable to find it anywhere in my stylesheets or featured product php. I did a query in tools but could not locate the path.

Does anyone have an idea, where can I adjust this value?

28 Apr 2014, 4:37 AM
#5
jongaguy avatar

jongaguy

New Zenner

Join Date:
Aug 2013
Posts:
14
Plugin Contributions:
0

Re: Featured Image alignment and the white space under logo

It is fixed now by editing the featured_products.php in module ->templates->custom template.