Tagged: x
-
AuthorPosts
-
May 14, 2016 at 3:21 pm #991553
bakParticipantHi
1) I have promo elements with #e6e6e6 background for the text part. How can I make sure the grey background is also applied on mobile view?
2) Why do I see a line between image and text mobile view on one of the promo elements?May 14, 2016 at 3:22 pm #991554
bakParticipantThis reply has been marked as private.May 14, 2016 at 11:46 pm #991849
Rue NelModeratorHello There,
Thanks for writing in! Because you have this code:
@media (min-width: 767px) .page-id-118 .x-promo .x-promo-content, .page-id-124 .x-promo .x-promo-content, .page-id-132 .x-promo .x-promo-content, .page-id-135 .x-promo .x-promo-content { background-color: #e6e6e6; } }this code will only affect on screen bigger than 767 pixels. If you want to apply it to all screens, you have to remove the @media. You will have this code instead:
.page-id-118 .x-promo .x-promo-content, .page-id-124 .x-promo .x-promo-content, .page-id-132 .x-promo .x-promo-content, .page-id-135 .x-promo .x-promo-content { background-color: #e6e6e6; }Hope this helps. Please let us know how it goes.
May 15, 2016 at 4:43 am #992049
bakParticipantThis reply has been marked as private.May 15, 2016 at 5:20 am #992079
Nabeel AModeratorHi again,
Please check the lines above I can see the
@mediaquery on line 813 which is wrapping your promo code as well. Please remove the promo code from the@mediawrapper. (see attached)Thanks!
May 15, 2016 at 5:40 am #992114
bakParticipantThis reply has been marked as private.May 15, 2016 at 5:56 am #992128
Nabeel AModeratorHi again,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 15, 2016 at 9:51 am #992298
bakParticipantThis reply has been marked as private.May 15, 2016 at 6:46 pm #992691
RadModeratorThis reply has been marked as private.May 16, 2016 at 3:27 am #993179
bakParticipantHi, if i put everything in the same query, how can I then comment the different code parts? is it possible to have /* comments */ within the query?
May 16, 2016 at 3:44 am #993198
ChristopherModeratorHi there,
It would be possible, see :
@media (min-width:767px){ /* add comment here*/ .class-one{ border:1px solid red; } /* Add another comment*/ .class-two{ border:1px solid red; } }Hope it helps.
May 16, 2016 at 8:43 am #993588
bakParticipantYes, thats good to know, thank you
May 16, 2016 at 8:50 am #993599
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-991553 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
