I am currently working on improving the responsiveness of my website when a user resizes their browser window. One specific issue I'm facing is resizing the banner image as the window size changes. The website in question can be found at
The CSS code specifying the banner image is as follows:
#rt-showcase .rt-container {
border-bottom: 0px none;
height: 200px;
width: 1200px;
background: transparent url("/images/headerimgs/topimage.jpg") no-repeat scroll center center;
}
After researching various solutions on this platform, I attempted to implement the recommended approach by setting width (and max-width) to 100% and height to auto. However, whenever I tried changing the height from a pixel value, the image disappeared!
I suspect there may be another factor on the website preventing the desired resizing effect. Any insights or suggestions would be greatly appreciated.