My initial issue was changing a color background to an image in the blog banner area for the post page. When changed to a picture the sizing of the image was messed up, and the blog title, and author were not visible.
When I was able to (somewhat) fix the issue, by changing Z-index, and various small changes, I was still unable to have the title and author appear in all window sizes. Once the window is smaller than desktop size, the title and author of the blog post gets cut off by the post area below.
Needs:
I need to get the Blog post page to fit in all browser window sizes, and be responsive in sizing and spacing. I also need to make the Author info not appear on the listing page, but only on the post page.
Below is all of the code associated with these problems. First is the actual module for the Banner area, followed by the stylesheets I made and attached to partly remedy the situation.
@bstock98 - I'm going to try and explain what's happening as best I can. Feel free to ask questions if you need to.
So, your blog content is NOT actually cutting off the banner image. The banner image is just resizing based on the screen size and since the background of that container is white and the background of the blog post is white and the tet in the hero section is white, it gives the appearance that the blog post container is cutting off the image and lettering. That is not what's happening.
What's actually happening? When you shrink the screen, the width of the image shrinks which means the height of the image shrinks. This reveals the white background. If you truly want to have that image in the background, you need to use css "background:url();" instead of an image tag.
However, here is a css hack to get your <img> tag to have the appearance of a background image:
@bstock98 - I'm going to try and explain what's happening as best I can. Feel free to ask questions if you need to.
So, your blog content is NOT actually cutting off the banner image. The banner image is just resizing based on the screen size and since the background of that container is white and the background of the blog post is white and the tet in the hero section is white, it gives the appearance that the blog post container is cutting off the image and lettering. That is not what's happening.
What's actually happening? When you shrink the screen, the width of the image shrinks which means the height of the image shrinks. This reveals the white background. If you truly want to have that image in the background, you need to use css "background:url();" instead of an image tag.
However, here is a css hack to get your <img> tag to have the appearance of a background image: