Site logo

Archived topic

Header background is distorted

7 replies · Started by Benjamin on February 6, 2016

Viewing posts 1–8 of 8

Hi there,

Background images are tough when it comes to responsive design - that's why they're generally supposed to be patterns/designs and shouldn't contain text.

I would personally upload the pattern as the background, and then upload the text as a separate image (logo) on top of the background.

That way you'll get more consistent results on mobile :)

Thanks for your reply Tom,

I've already tried that way but I do not keep well, then there is no other way? it would be nice to be able to add more logos in the future, generateprees add-ons are some great tools.

If you have text within your background image, you're going to run into trouble with responsive design no matter what - even if you weren't using WordPress at all. Anything that should be seen on all devices should be an element that sits on top of the background.

What kind of logos are you wanting to see in GP? :)

Hi Tom,

I hope I can add more than one logo in the header, left-center-right. :)

thanks!

In order to do that you'd have to use GP Hooks.

You would add some like this into the "Before Header Content" hook:

<div class="grid-33">
    <img src="URL TO LEFT HEADER" alt="" />
</div>
<div class="grid-33">
    <img src="URL TO CENTER HEADER" alt="" />
</div>
<div class="grid-33">
    <img src="URL TO RIGHT HEADER" alt="" />
</div>

hoo!! Yeahh! Thanks!!!

You're welcome :)

This archived topic is closed to new replies.