Home › Forums › Legacy Support › 4.0 Bugs & Issues › advanced search on PWA
- This topic has 19 replies, 3 voices, and was last updated 3 years, 2 months ago by Diana.
-
AuthorPosts
-
January 14, 2021 at 1:38 am #333798RagabSalemSpectatorI need help I put the advanced search on a page I linked the page to the students menu within pwa I need to be in full width on the mobile as well as the computer https://prnt.sc/wn0nwg Also there is a white part on the top, how can it be removedJanuary 16, 2021 at 8:32 am #334332DianaParticipantWhich Page is this? I mean page URL And you want it to align properly on mobile right?January 16, 2021 at 1:03 pm #334397RagabSalemSpectatorThis reply has been marked as private.January 18, 2021 at 11:33 am #334638AdaParticipantHi, Add this css code in appearance >> customize >> custom css
if it does not wprk there then add it in wplms>> footer >> google analytic code@media(max-width:480px){ .admin-bar .vibebp_myprofile .profile_grid, .vibebp_myprofile .profile_grid { margin-top: 0px; min-height:600px; } }
https://reccloud.com/u/6hqewbm<style> @media(max-width:480px){ .admin-bar .vibebp_myprofile .profile_grid, .vibebp_myprofile .profile_grid { margin-top: 0px; min-height:600px; } } </style>
January 18, 2021 at 6:27 pm #334789RagabSalemSpectatorThis reply has been marked as private.January 19, 2021 at 12:29 pm #334945AdaParticipantHi, the same code is working when I check but does not work when added to custom css section or footer >> google analytics section. Please try adding this code in wplms-customizer.php Goto plugin editor >> wplms-customizer >>wplms-customizer.php Add this code at the end function adjust_pwa_page(){ <style> @media(max-width:480px){ #vibebp_member .vibebp_myprofile .profile_grid, .vibebp_myprofile .profile_grid { margin-top: 0px !important; min-height:600px !important; } } </style> <?php } } add_action('wp_head', 'adjust_pwa_page',999);January 19, 2021 at 4:16 pm #335042RagabSalemSpectatorThis reply has been marked as private.January 20, 2021 at 11:31 am #335225AdaParticipantThis code can not cause any fatal error to the site.This is just css code and I am giving it like this because it does not work in custom css section on your site. Maybe the quotes would have been modified when pasting the code so I'm sharing it now in code block.
Please remove the previous code and copy it from here again and then add.function adjust_pwa_page(){ <style> @media(max-width:480px){ #vibebp_member .vibebp_myprofile .profile_grid, .vibebp_myprofile .profile_grid { margin-top: 0px !important; min-height:600px !important; } } </style> <?php } } add_action('wp_head', 'adjust_pwa_page',999);
January 23, 2021 at 10:15 pm #336086RagabSalemSpectatorThis reply has been marked as private.January 27, 2021 at 2:51 pm #336665DianaParticipantShe missed a closing bracket
Checked on my setup and this code should workadd_action('wp_head', 'adjust_pwa_page',999); function adjust_pwa_page(){ ?> <style> @media(max-width:480px){ #vibebp_member .vibebp_myprofile .profile_grid, .vibebp_myprofile .profile_grid { margin-top: 0px !important; min-height:600px !important; } } </style> <?php }
February 1, 2021 at 8:39 am #337427RagabSalemSpectatorThis reply has been marked as private.February 2, 2021 at 2:21 pm #337685DianaParticipantThis reply has been marked as private.February 2, 2021 at 9:27 pm #337745RagabSalemSpectatorThis reply has been marked as private.February 3, 2021 at 2:46 pm #337903DianaParticipantThis reply has been marked as private.February 3, 2021 at 8:09 pm #337962RagabSalemSpectatorThis reply has been marked as private. -
AuthorPosts
- The topic ‘advanced search on PWA’ is closed to new replies.