Archived topic
Page header
6 replies · Started by Karl Johnston on February 5, 2015
Hi Tom,
I've got a slight problem with the page header, when I put text in the content box.
On desktop browser it displays fine, on a iphone the content overlaps the main content and footer.
Any help is much appreciated.
Karl
Ah yea, the text is too big for mobile.
Try this CSS:
@media screen and (max-width: 768px) {
.inside-content-header h1 {
font-size: 25px;
}
}
Brilliant that worked a treat.
Thanks
Karl
You're welcome! :)
When I add content to my page header my image does not appear. I have the use image from image tab checked.
Hi Jenifer. The page header Image and Content options are separate; if you enter Content it overrides the specified Image. You can use the image as a background for the content by selecting the "Use iamge..." option on the Content tab. If that's not working can you post a link to your site so we can take a look?
Or you can add an image tag directly to the content, something like this for an image in the Media Library:
<img src="http://your-domain/wp-content/uploads/2015/09/image.jpg">
And then style/position it using CSS.
