Div won't expand to make room for contents
-
Hey, just wondering if any one can help me with this.
Am using –
Theme: Attitude
Slider: PromosliderThe slider (presentation) on my front page https://www.matthewsinclair.net is meant to look like how it does on my test-page https://matthewsinclair.net/test-page/
However, on the test-page I have had to manually set the slider height in the short-code:
[promoslider height="682px"]
The trouble with doing this is that this is a responsive theme and after you have mandated the height, when you then look at the site on tablets and phones – whilst the slider shrinks down OK, you get a big blank area at the bottom (due to the 628px specific height).
Just wondering if there is another way of telling the div to expand to fill the height of the slider/images.
I am using Stylebot (chrome addon) to try to identify CSS/HTML components and I believe the div is:
div.entry-content.clearfixand the presentation/image is being styled as:
img.attachment-full.wp-post-imageThanks in advance if anybody can help.
- The topic ‘Div won't expand to make room for contents’ is closed to new replies.