-
AuthorPosts
-
April 28, 2016 at 11:50 pm #624054
I want to place a caption underneath a static photo that I am inserting via Fullwidth Easy Slider. To be clear, I want the caption under the photo, not overlaying it, pretty much the way captions look in good old-fashioned printed newspapers, and aligned flush right with the edge of the screen. I can easily get the text flush right with the edge of the maximum container width and fix the top margin of the column within which the text box nestles so that the text is just a few pixels below the photo. But is there any way to skootch the text all the way to the edge of the viewing area?
April 29, 2016 at 1:53 am #624075Hey missouriartscouncil,
I am actually not 100% sure what you are trying to accomplish. Mind posting us a link to your site so we can get to see what we are dealing with? Screenshots are of course also ok ;)
Best regards,
KriesiApril 29, 2016 at 5:07 pm #624659Sure thing – here’s the site:
The way we want the captions to look is under the hero image on the homepage and says “full width caption test.” The developer who’s helping us achieved this by using Grid Row, 1/2-1/2, with a text box in the right-hand cell. He currently has the row set at no borders, 0px minimum height, and the cells at top alignment, 30px padding all around. I tried resetting the cells’ padding for 0px, but that made the caption text box disappear underneath the photo. With the current settings, there’s too much vertical space between the photo+caption and the “Missouri Arts Council supports the arts” line (which is in a text box within a 1/1 column within a color section). Also, when viewing the page in mobile, a big gap develops between the photo and the caption text. Not good!
We want the vertical spacing between the photo+caption and the heading to look like the Special Programs / Alchemy Award page. I did that caption using by putting a text box inside a 1/1 column inside the color section that contains everything else on the page and setting the column’s top and bottom margins to -50px. Works just great in mobile!
BTW, great theme and support!
May 3, 2016 at 3:39 am #626125Hi,
Looks like you managed to do it with a text block inside a grid row element. Is that right? Where can we see the page with the slider?
Best regards,
IsmaelMay 4, 2016 at 5:55 pm #627409Hi, sorry the pages weren’t visible; we’re building the site and I had deleted the slider images. Fixed now.
I figured out how to fix the vertical space between the caption text and the heading – our developer’s CSS for this had set the bottom margin for -20, and I found that setting the bottom for -68px gave me the reduced vertical space I wanted. But I can’t figure out how to fix the mobile responsiveness issue when creating the caption via Grid Row.
So here are the two versions:
Special Programs / Alchemy Award
Caption is flush right with the maximum container width.
Caption is done with Color Section / 1-1 column / text box. In the column settings, margin both top and bottom is -50px, padding is zero.
Caption is fully responsive to mobile. The text remains flush right, and the vertical space between the caption and the photo remains the same height.Special Programs / Ghost Light Project
Caption is flush right with the edge of the viewing screen.
Caption is done with Grid Row and a Quick CSS code named fullwidthcaption, margin top: -30px, margin bottom -68px.
Caption is NOT fully responsive in mobile. The text remains flush right, but the vertical space between the caption and the photo gets larger so that it develops a big gap.What I want ideally is the caption flush right with the edge of the viewing screen but no big vertical space between the caption and the photo when viewing in mobile. (If this doesn’t turn out to be possible, at least I have an acceptable nice middle ground with the Color Section / 1-1 column method!)
May 4, 2016 at 9:29 pm #627514Hey!
Please refer to this post – http://kriesi.at/documentation/enfold/color-section-with-100-container/
Regards,
YigitMay 5, 2016 at 8:00 pm #627963Okay, I inserted the code in that post into Quick CSS, and now I can create a color section going the full width. But I can’t figure out how to tighten up the vertical space between the two color sections. I think that’s a new issue….
New try – Special Programs / Accessibility
Caption is flush right with the edge of the viewing screen and it’s responsive in mobile. Check!
Caption is done with Full Width Color Section / 1-1 column / text box. In the column settings, the top margin is -50px, bottom is zero.
The color section below the caption color section is set with top margin -50px. I’ve left the top border so you can see where the heading text aligns vertically.May 9, 2016 at 1:23 pm #629179Hi,
In the color section options when the “section padding” is set to none that should remove some of the vertical space and help you tighten it up between 2 sections.
However if this is not what you are trying to accomplish please share a mockup and we need to be able to see what you are doing with the captions as well please point us to the page where we can inspect the element.Best regards,
VinayMay 10, 2016 at 9:27 pm #630246I tried setting the padding to Zero for both of the color sections on that Accessibility page, and it did remove vertical space between the two sections, but it also removed the bottom padding from the second section so that its bottom text was sitting very close to the footer, which I didn’t want. I first tried fixing this by sticking in a Whitespace element of 50px within the column. That worked; it made the vertical space between the bottom text and the top of the footer the same as on pages with no photo caption finagling. Then I tried just setting the column’s bottom margin at 50px. Voila!
So this resolves my issue. Thanks for the pointers! They showed me what to tweak.
And I think I’ll post my workaround in a separate thread. :-)
- This reply was modified 8 years, 7 months ago by missouriartscouncil.
May 12, 2016 at 9:10 am #631224 -
AuthorPosts
- The topic ‘Can a text box be stretched full-screen beyond the maximum container width?’ is closed to new replies.