Tagged: x
-
AuthorPosts
-
October 28, 2016 at 9:58 pm #1235528
ptbright1ParticipantI’m trying to have a background image in one section, with two elements on top. One element is text and one is an image of a sculpture. Right now, I have the background and sculpture as ONE image, but this isn’t what I want, since it’s bad on responsive.
Once I get the individual sculpture image file in place, what code do I need to add for it to bottom align with the background, just as it does here on desktop view: http://dev.paterakoristudios.com/about/
Thanks!
October 29, 2016 at 2:22 am #1235675
ChristopherModeratorHi there,
Please enable ‘marginess columns’ option and add
vertical-align: bottom;in right column’s style field.
Addmbnin image’s class field.Hope it helps.
November 9, 2016 at 2:20 pm #1250575
ptbright1ParticipantI’ve done this, but am not getting the sculpture image to bottom align with the section (background image). What am I missing.
Also, once this goes into responsive, how can I ensure the sculpture image is centered?
November 9, 2016 at 7:03 pm #1250913
JadeModeratorHi there,
Please select the section and set the bottom padding to 0 then add this in the style field of the image
position: relative; bottom: -15px;Hope this helps.
November 10, 2016 at 8:14 am #1251684
ptbright1ParticipantThanks that was helpful, but it’s still not quite right on responsive. How can I make sure it doesn’t fall this low on responsive (going below background) and how can I center it once it leaves desktop view?
November 10, 2016 at 10:24 am #1251909
RupokMemberHi there,
I can’t see this on your given page. Did you remove that?
November 15, 2016 at 9:43 am #1258074
ptbright1ParticipantOh, it’s on the homepage now–
dev.paterakoristudios.com
November 15, 2016 at 11:45 am #1258246
Nabeel AModeratorHi again,
Please replace your inline style with
position: relative; bottom: -15px; height: 100%;and then add the following code in your Customizer:.home #x-section-1 .x-container.marginless-columns .x-column.x-1-2 { height: 100% !important; } @media screen and (max-width: 828px){ .home #x-section-1 .x-container.marginless-columns .x-column.x-1-2 img { bottom: 0 !important; } .home #x-section-1 .x-container.marginless-columns .x-column.x-1-2 { text-align: center !important; } }Let us know how this goes!
November 15, 2016 at 1:16 pm #1258362
ptbright1ParticipantAha! I think that did the trick. Thanks and rock on!
November 15, 2016 at 1:56 pm #1258400
Nabeel AModeratorGlad we could help 🙂
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1235528 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
