Home › Forums › CSS › aligning a heading, an image and troubleshooting a bootstrap carousel › Reply To: aligning a heading, an image and troubleshooting a bootstrap carousel
In my follow up post there I answered my initial two questions. I have just answered my third question. The solution was to copy all the CSS rules with “creative-” elements, duplicate them but replace the ‘creative-‘ elements with ‘appeal-*’. I then modified the corresponding class names in the my HTML. Now both the creative and appeal carousels scroll perfectly. I am not sure why this works, I just know that it does.
Here is my working testcase with a few further content and form changes and updates:
I have two final questions which I am asking for clarification now:
Where in my CSS could I specify an increase in the padding between “THE APPEAL TO SUBGENIUS EVANGELICALS” heading (the thick green png line) and the indicator buttons? The spacing is actually quite nice at narrower resolutions, but when the window is maximized, there really isn’t enough padding.
Here is the heading class element:
padding: 60px 60px;
background: url(img/heading.png) no-repeat;
background-position: center bottom;
padding: 0 0 60px 0;
I tried many value combinations for both of these padding properties which didn’t get me any closer to where I am trying to go.
My next question is also about padding, just for the appearance of padding in a different location in my markup:
Where in the CSS could I specify an increase in the padding between the “FLAGSHIP RESEARCH” heading (h1) and the images at both narrower and wider resolutions?
Thanks for your attention.