Tagged: x
-
AuthorPosts
-
February 28, 2017 at 4:05 am #1388513
Richard HParticipantThe more I use X theme the more I like it! Thanks!!
I am wanting to set up 4 rows that are all 50/50 split down the middle, full width and marginless. I want text on one side and image next to it. I am almost there but the size of the images seems to vary as does the amount of text in the box next to it and I can’t for the life of me get the rows the same size so they fit the text and image without any white gaps.
I hope you understand my problem and have a way of fixing it.
ThanksFebruary 28, 2017 at 4:05 am #1388514
Richard HParticipantThis reply has been marked as private.February 28, 2017 at 7:16 am #1388710
ChristopherModeratorHi there,
Thanks for writing in!
Is this a draft page? since I get 404 error. Please publish the page or provide us with login credentials.
Thanks.
February 28, 2017 at 9:29 am #1388889
Richard HParticipantThis reply has been marked as private.February 28, 2017 at 10:48 am #1388981
ThaiModeratorHi There,
Try adding the following CSS under Customizer > Custom > Global CSS:
.page-id-56 .x-column.x-sm.x-1-2 .x-img img, .page-id-56 .x-column.x-sm.x-1-2 .x-img { width: 100% }Hope it helps 🙂
February 28, 2017 at 2:33 pm #1389225
Richard HParticipantLooks great on my laptop but when I make the screen smaller the alignment goes off again. I want the page to look good on all platforms and at the moment it only looks good when the screen is big and when the screen is medium or small there are gaps everywhere. Any other ideas how to fix it? Thanks
February 28, 2017 at 11:48 pm #1389776
ChristopherModeratorHi there,
Instead of adding image element, please add image as column’s background, to do so add following code in column’s style field :
background-image: url(https://www.sheffieldwellnesscentre.co.uk/wp-content/uploads/2017/02/massage-therapy-sheffield-575x400px.jpg);background-repeat: no-repeat;background-size: cover;Hope it helps.
March 1, 2017 at 9:18 am #1390386
Richard HParticipantThat looks fine on the laptop but as soon as I shrink the screen down to anything less than half my screen it breaks down. I tried adding a “gap” section in the first image of the yoga mats to see if that would make any difference but all that did was to put in a big white space on smaller screens.
I have attached a screencast to show you how it looks at my end…March 1, 2017 at 9:19 am #1390391
Richard HParticipantThis reply has been marked as private.March 1, 2017 at 3:01 pm #1390906
LelyModeratorHello Richard,
Thank you for the video.
Try addingborder: thin solid transparent;on the style field of the column with image.
After that, there will be a little gap still. That is because of the headline default top margin. We can add a class reset-top-margin on the headline class field. Then add this CSS:@media (max-width: 767px){ .reset-top-margin{ margin-top:0 !important; } }Hope this helps.
March 1, 2017 at 3:31 pm #1390945
Richard HParticipantI have now done all that and the end result is the same….looks fine on desktop but the majority of the image is missing when I shrink the screen size
March 2, 2017 at 12:10 am #1391447
Paul RModeratorHi,
Please add
min-height: 440px;in the style field of your columns where your images resides.Hope that helps.
March 2, 2017 at 2:57 am #1391574
Richard HParticipantWe are very nearly there! There is now the image there (thanks for that!) but there is a white border at the bottom of the image as you can see in the image below. If that could be removed i think we will be there
March 2, 2017 at 2:58 am #1391575
Richard HParticipantThis reply has been marked as private.March 2, 2017 at 4:47 am #1391655
Paul RModeratorHi,
To get rid of it, you can add this in Cornerstone > Settings > Custom CSS
@media (max-width: 767px) { .x-section .x-column { overflow:hidden; } }https://www.screencast.com/t/UIPW7GRa
Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1388513 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
