Tagged: x
-
AuthorPosts
-
August 15, 2016 at 3:09 pm #1132424
AndreiParticipantHi,
I have some images on my home page and a call to action text. I would like to keep this text in the center of the screen, even if scrolling or changing from portrait to landscape. I know I can achieve this with sliders, but I don’t want to use sliders because they make my website sluggish on mobile.
My website is //sinestezic.com.
I attached an image in which you can see the text I am talking about.
Thank you.
August 15, 2016 at 10:49 pm #1132928
FriechModeratorHi There,
Thanks for writing in! The custom headline is already horizontally center, you can add a
margin-top: 25%;to its style field so it can be vertically center as well.Hope it helps, Cheers!
August 16, 2016 at 2:22 am #1133102
AndreiParticipantHey Friech,
Sorry, it doesn’t work. The text is still there. Is this solution making the text stay in the center of the screen when I scroll down on landscape? I attached some images for a better understanding.
August 16, 2016 at 2:24 am #1133106
AndreiParticipantSorry, one last image.
August 16, 2016 at 5:31 am #1133281
Paul RModeratorHi Andrei,
You need to set your images as background images so you can properly position your text over it.
Thanks
August 16, 2016 at 6:37 am #1133363
AndreiParticipantHi Paul,
Thank you for your reply. Ok, I deleted all the photos and I put a background image. I attache3d the result. How do I bring the bottom menu to the bottom and the text to the center and make this responsive? Thank you.
August 16, 2016 at 10:25 am #1133677
RupokMemberHi there,
It seems you have the below code :
@media (max-width: 1200px) .x-colophon.bottom { position: relative; background-color: white!important; }Let’s remove position: relative; and you will get the expected result I believe. If you still need help, add a screenshot of what you are trying to achieve.
Cheers!
August 17, 2016 at 5:38 am #1134995
AndreiParticipantThank you very much Rupok.
August 17, 2016 at 7:14 am #1135089
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1132424 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
