-
AuthorPosts
-
December 27, 2014 at 2:45 am #171641
ChristopherModeratorHi there,
Please try this :
@media (min-width:979px){ .home #x-content-band-2 .x-column.vc.x-1-6 img { position: relative; top: 178px; margin-bottom: 0; padding-bottom: 0; } }Add class to first kid image and give it some margin:
@media (min-width:979px){ .my-class { margin-top:20px } }Hope it helps.
December 28, 2014 at 3:20 pm #172338
mikewolf1127ParticipantNope.
I don’t just want top margin, I want the image to stick to the bottom of the column even while the browser window is being resized.
December 28, 2014 at 9:01 pm #172437
ChristianModeratorHey Mike,
We’re sorry for all the confusion. I copied and tweaked your homepage Visual Composer code to a new page (http://www.thewolfbrothers.com/home-2/). Please check. What I did there are:
1. Get the 2 images of the kids out of the column (because the column has a position of relative so it’s impossible to align the images to the bottom).
2. Addposition: relativeinline style to the row.
3. Addposition: absolute; bottom: 0; left: 0;inline style to the images (right: 0for the right image)
4. Add the CSS below in the Appearance > Customize > Custom > CSS to make the columns take its place even when empty..x-column { min-height: 1px; }5. Wrapped the images with
[visibility type="visible-desktop"]so it only shows in desktop (see http://theme.co/x/demo/integrity/1/shortcodes/responsive-visibility/ for details).NOTE: Since I’ve placed the images outside of Visual Composer shortcodes, you cannot use Visual Composer anymore for this page. What I did is only a sample and not to be taken as single perfect solution. There are still other ways and you might want to show and tweak this on mobile. You can do this with Visual Composer also but in this particular row, you need to use our X Column Shortcode (http://theme.co/x/demo/integrity/1/shortcodes/columns/).
We’d love to help you further with this layout however, this falls beyond the scope of our support since this is custom content development which users of the theme should be responsible of.
Hope that helps and thank you for understanding
December 30, 2014 at 1:19 am #173206
mikewolf1127ParticipantOK, that’s awesome. One last thing.
How would I center the image of the word ‘ABOUT’ in any width browser window?
December 30, 2014 at 3:44 am #173281
Paul RModeratorHi,
To center the image, you can add this under Custom > CSS in the Customizer.
.page-id-7057 #x-content-band-2 .x-column, .home #x-content-band-2 .x-column { text-align:center; } .page-id-7057 #x-content-band-2 .x-column p .home #x-content-band-2 .x-column p{ text-align:left; }Hope that helps.
January 2, 2015 at 2:44 pm #175271
mikewolf1127ParticipantOK cool. That got the images stuck to the bottom.
Where is the ‘class=”mbn”‘ defined?
January 2, 2015 at 7:24 pm #175429
RadModeratorHi there,
Not sure what you mean by your last question. You mean where mbn was declared? or where is mbn from your content?
mbn is part of X’s core stylesheet (spacing helpers) and available at http://www.thewolfbrothers.com/wp-content/plugins/x-shortcodes/css/integrity-dark.css
and mbn are added from your image shortcodes and remove them anytime you wish.
Thanks!
January 3, 2015 at 5:10 am #175604
mikewolf1127ParticipantYes, I meant where is it declared. Is there a reference for the stylesheet declarations?
January 3, 2015 at 10:35 am #175718
ChristopherModeratorJanuary 4, 2015 at 12:40 am #175991
mikewolf1127ParticipantGreat! Thanks.
One last thing. How do I get rid of the little close ‘box’ in the upper left corner of the video lightbox?
I’d like to keep the little ‘x’ to close the window, but get rid of the little ‘box’ for full screen toggle, as Vimeo has it’s own full screen button.
January 4, 2015 at 5:47 am #176113
ChristopherModeratorHi there,
Please add this :
a.ilightbox-fullscreen { display: none; }Thank you.
January 4, 2015 at 10:11 am #176226
mikewolf1127ParticipantGreat! Thank you for all your help. The site is done!
January 4, 2015 at 9:31 pm #176457
ChristianModeratorYou’re welcome Mike. Glad we could help.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-168769 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
