Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Zen blank and header image too much on the right side / main body

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello from Paris,

I am using the JB zenblank template with K2 on the following site :

www.ensp.partenairewebdepuis2004.fr/

I put an image (1000px wide) in the logo position but it appears not aligned compared with the main body.
The image is too much on the left side.

What should I do to align it with the main body?

Thank you for your help,

Stefan
  • stetvilla's Avatar
  • stetvilla
  • 6 Month Developer
  • 395 posts
  • Karma: 1
The administrator has disabled public write access.
Hello,

I made several trials and I came up with a solution that seems to be working - but I do not know if it is the right way to do it.

I edited, in the theme.css the "logo div and tag line" and added :
#logo {margin-left: -40px}

This seems to compensate the bad alignment between the image that I use as a logo and my main body content.

See : www.ensp.partenairewebdepuis2004.fr/index.php

What I do not know is if this solution will work for all types of browsers (with different resolutions etc)...

If you could tell me if it's the right way to do it or if I should do differently.

Thank you in advance,

Stefan
  • stetvilla's Avatar
  • stetvilla
  • 6 Month Developer
  • 395 posts
  • Karma: 1
The administrator has disabled public write access.
Hi Stefan,

I think that will be fine. It is because the gutter (40px) was being used as a left margin for the logo position, to stop that happening you would need to use a template override and modify it so that the gutter was not used in calculating the logo position.

I think your solution works fine though, it is simpler too.
  • Seth's Avatar
  • Seth
  • Moderator
  • 8358 posts
  • 225 Thanks
  • Karma: 202
The administrator has disabled public write access.
Thank you for your feedback Seth.

So I will keep it this way.

Thanks,

Stefan
  • stetvilla's Avatar
  • stetvilla
  • 6 Month Developer
  • 395 posts
  • Karma: 1
The administrator has disabled public write access.
No problem Stefan
  • Seth's Avatar
  • Seth
  • Moderator
  • 8358 posts
  • 225 Thanks
  • Karma: 202
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers