Tagged: x
-
AuthorPosts
-
December 29, 2016 at 5:01 pm #1309102
Suzanne SParticipantHi,
You gave me css to have a fixed Header and topbar and this works great, but I would like this to be disabled on mobile devices and ipad. Is this possible?
Here is the code you gave me:
header.masthead.masthead-inline {
position: fixed !important;
display: block !important;
width: 100% !important;
z-index: 999 !important;
}
.x-main.full {
margin-top: 120px !important;
}thank you
SuzanneDecember 29, 2016 at 5:03 pm #1309103
Suzanne SParticipantI forgot,
here is my url: http://howtostartworkingathome.com/
and as far as I know, I’m using the latest versions of X theme etc…
December 29, 2016 at 11:26 pm #1309478
RupokMemberHi Suzanne,
Thanks for writing in! Let’s update the code to following :
@media only screen and (min-width: 980px) { header.masthead.masthead-inline { position: fixed !important; display: block !important; width: 100% !important; z-index: 999 !important; } .x-main.full { margin-top: 120px !important; } }You can adjust the min-width to higher value if needed.
Cheers!
December 30, 2016 at 1:57 am #1309603
Suzanne SParticipantBrilliant, thank you so much 🙂
December 30, 2016 at 3:58 am #1309657
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1309102 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
