Tagged: x
-
AuthorPosts
-
December 13, 2016 at 9:28 pm #1292220
aloraguerreroParticipantHi. I’ve recently changed the social media icons on my site. The new icons show up on mobile, but they don’t show up in desktop/laptop mode. In desktop mode, the icons use the default look.
December 13, 2016 at 11:27 pm #1292289
Prasant RaiModeratorHello There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
December 14, 2016 at 1:13 am #1292356
aloraguerreroParticipantThis reply has been marked as private.December 14, 2016 at 2:25 am #1292393
ChristopherModeratorHi there,
Your codes are currently within media query rules, please see the attachment. Please remove media query rules to see the changes on all devices.
Thanks.
December 14, 2016 at 3:09 am #1292435
aloraguerreroParticipantThis reply has been marked as private.December 14, 2016 at 3:26 am #1292452
LelyModeratorHi There,
Upon checking, there’s a lot of syntax error on your custom CSS:
First, check this part:@media (max-width: 979px){ top: 0;.x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right { position: fixed; left: 0; right: 0; height: 186px; }The top property should be after the element declaration like below:
@media (max-width: 979px){ .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right { top: 0; position: fixed; left: 0; right: 0; height: 186px; } }/*I added this part*/Please check your entire custom CSS and make sure the closing curly brace are properly added on each media query. Like the above sample.
Look for this part too:@media (max-width: 979px){ .masthead-inline .x-btn-navbar { margin-right:20px; } }That is correct. You have closing curly brace for media query 979. But right above that part, you do have the same media query with missing closing curly brace.
From line 100 to line 117 this is the code:@media (max-width: 979px){ .x-navbar .x-brand { max-width: 220px; float: left; text-align: left; } .masthead-inline .x-btn-navbar { float: right; clear: none; display: inline-block; margin-top: 50px; } @media (max-width: 979px){ .masthead-inline .x-btn-navbar { margin-right:20px; } }Since it is the same media query, we can update and combine that part to this:
@media (max-width: 979px){ .x-navbar .x-brand { max-width: 220px; float: left; text-align: left; } .masthead-inline .x-btn-navbar { float: right; clear: none; display: inline-block; margin-top: 50px; margin-right:20px; } }Look for other media queries and add the closing curly brace.
Hope this helps.
December 14, 2016 at 4:37 am #1292504
aloraguerreroParticipantHi. It’s working fine now. Thank you.
December 14, 2016 at 5:10 am #1292536
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1292220 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
