CMSMS Simplex Theme - How to auto-adjust banner height

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
tidalstudios
New Member
New Member
Posts: 7
Joined: Tue Jan 21, 2014 11:20 pm

CMSMS Simplex Theme - How to auto-adjust banner height

Post by tidalstudios »

Hi
I have completed a clean install of CMSMS and I have applied the Simplex Theme to all pages. All is well and the responsiveness is working. HOWEVER I can't figure out a way to make the height of the grey background on the banner image 'auto shrink' to fit the height of the image as the width of the screen decreases. Essentially, the banner image reduces but the overall height of the div seems to remain static and leaves an unsightly grey box below the image.
It can be seen here (at my 'sandbox' site): http://www.theoldplank.co.uk/
I have not altered the coding at all; this is straight 'out of the box'. I have applied the theme to an active site and I am having the same result (it can perhaps be seen more clearly here):
http://www.1stcompletehouseclearance.co.uk/
Am I asking for too much or is there a way to make the overall height of the banner reduce with the height of the image?
Regards
Paul
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CMSMS Simplex Theme - How to auto-adjust banner height

Post by Dr.CSS »

Most times it's a matter of giving them a height then a max-height:...
Post Reply

Return to “Layout and Design (CSS & HTML)”