Tagged: cornerstone
-
AuthorPosts
-
February 15, 2017 at 7:40 am #1371913
lukasjanParticipantHello,
I was designing my webpage and suddenly without any reason second column in the section 2 got broken. When reso is higher than 1300px width the content of second column moves from its position, and from 650 to 1300px reso it is jus broken.
Is there any mistake in my code which i cannot see?
February 15, 2017 at 7:41 am #1371915
lukasjanParticipantThis reply has been marked as private.February 15, 2017 at 9:03 am #1372012
RupokMemberHi there,
I have checked and I have found you are using lots of custom CSS for this and some of them are unusual like this :
.x-column.x-sm.x-1-4 { display: inline; width: 100% !important; padding-bottom: 90px; position: relative; min-width: 150px; }You can’t set a static width for the column because they are supposed to be responsive based on the screen size. You have some other CSS that’s also causing issue. Unfortunately we can’t help with custom codes much since they are always confusing and you should know best about them.
Thanks!
February 15, 2017 at 1:47 pm #1372395
lukasjanParticipantI found my mistakes, thanks..
Maybe you know how could i make buttons to stay in the bottom of columns no matter how many text i would add? It really annoys to alter the paddings everytime I add or remove some text.
with respect
Algirdas
February 15, 2017 at 10:15 pm #1372969
FriechModeratorHi There,
Have you already resolve the button issue? It stays at the bottom now regardless of the column height.
Thanks.
February 16, 2017 at 6:44 am #1373473
lukasjanParticipantYeah, it does that okay now, but when screen resolution is between 650 and 1300, it doesnt, because it is dependent from text. Any ideas how to fix button’s bottom in the same horizontal line with picture so that the text doesn’t affect button’s position
Thanks!
February 16, 2017 at 9:45 am #1373675
JoaoModeratorHi There,
Please update your code from >
@media only screen and (max-width: 1300px) and (min-width: 650px) { .x-btn.x-btn-global { position: relative; margin: 0px 0px 0px -10px; }}To
@media only screen and (max-width: 1300px) and (min-width: 650px) { .x-btn.x-btn-global { position: relative; margin: 160px 0px 0px -10px; }}Hope it helps
Joao
February 16, 2017 at 11:55 am #1373856
lukasjanParticipantHey, that does the trick for first two columns, but that doesn’t fix buttons here, and when I add some text, it pushes buttons down. Is it possible to fix a button in this place of column?
February 16, 2017 at 9:26 pm #1374479
Rue NelModeratorHello There,
Thanks for updating in! At the moment, the buttons position is dependent on the height of the element prior to the button. If you want to have a fixed position of the button, perhaps you can use this code instead:
@media only screen and (max-width: 1300px) and (min-width: 650px) { .x-column.x-sm.x-1-4 { position: relative; } .x-column.x-sm.x-1-4 .x-btn.x-btn-global { position: absolute; bottom: 20px; display: inline-block !important; max-width: 220px; margin-left: 50%; } }Hope this helps.
February 18, 2017 at 9:31 am #1376272
lukasjanParticipantHey, you solved it! Thank you, really!
I just can’t understand one thing. After adding absolute position to a button when I narrow browser’s width from 1300px to 650px chrome reacts not very accurately, in a strange gaps.. Is it possible to solve that?Thanks for your patience
With respect
Algirdas
February 18, 2017 at 7:29 pm #1376642
Rue NelModeratorHello There,
Thanks for updating in! Could you please send us the screenshot of the gap and also a screenshot of how should it would look like so that we will have an idea of what you have in mind.
Thank you in advance.
February 19, 2017 at 5:38 am #1376976
lukasjanParticipantHi,
Try to narrow browser from 1300px to 650px and look how buttons are responding in safari and chrome. Its different. I would like that chrome would respond as safari is.
Thank you!
February 19, 2017 at 1:51 pm #1377287
RadModeratorHi there,
Would you mind providing a video recording? It looks the same on my end, maybe it’s something I just overlooked.
Thanks!
February 20, 2017 at 3:48 am #1377936
lukasjanParticipantFebruary 21, 2017 at 4:01 am #1379514
lukasjanParticipantWhat do you think?
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1371913 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
