Tagged: x
-
AuthorPosts
-
April 20, 2016 at 4:00 pm #892475
kobyco2ParticipantHello,
For some reason there seems to be some difference between Firefox and Chrome with margin-top.
This is my website:
http://ad-it.online/As you can see in the attached files, for some reason I need a different margin top in Chrome and a different one in FireFox to make the images align.
Any idea why this happens and how it can be solved?
Thank you
April 21, 2016 at 3:25 am #893247
Paul RModeratorHi,
To fix it, you can add this under Custom > Edit Global CSS in the Customizer.
header.masthead { min-height:70px; }Then add this under Custom > Edit Global Javascript in the Customizer.
jQuery(function($) { $(window).on("resize", function () { $navbarheight = $('.x-navbar').outerHeight() + 43; $windowheight = $(this).height(); $(".home #x-section-1").css('min-height', $windowheight - $navbarheight); $(".home #x-section-1").css('padding',0); }).resize(); });Hope that helps.
April 21, 2016 at 3:32 am #893263
kobyco2ParticipantHello,
Thank you for your help
I have tried it but it didn’t change anything, still the same problemPlease let me know what else can be done
Thank you
April 21, 2016 at 2:53 pm #894236
Nabeel AModeratorHi again,
Can you please upload the screenshots again so we can take a look?
Thanks!
April 21, 2016 at 4:07 pm #894322
kobyco2ParticipantHi,
Sure – attached – I have added some comments in the screenshots just to make sure I am clear
Thank you very much for your help!
April 22, 2016 at 5:32 am #895122
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.rbs-img-image div[data-width][data-height] img { margin-top:0; }Hope that helps
April 26, 2016 at 11:29 am #900591
kobyco2ParticipantHi,
Thank you for all your help, but this is still not working for some reason.
what is this “rbs-img-image” class? why can’t I see it ? do I have to add it somewhere?
Do you have any other suggestions?Thank you
April 26, 2016 at 12:45 pm #900697
kobyco2ParticipantHi
I think it’s fixed now,
Thank you for all your help
KobyApril 26, 2016 at 10:42 pm #901370
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-892475 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
