
-
AuthorPosts
-
May 7, 2025 at 5:38 pm #1483783
HI there is too much space between our header and our page content on mobile.
How do I do the following for mobile only:
– reduce the white space between the header and the breadcrumb info
– remove the page title above the breadcrumb info
– reduce the small menu at the top ‘Calendar’ etc down to just ‘Contant Us’All the above for mobile only.
Many thanks
Jenny
May 8, 2025 at 7:19 am #1483814Hey JennyGr,
Thank you for the inquiry.
You can use this css code to adjust the styte of the header and the breadcrumbs container on mobile view:
/* Mobile Styles ================================================== */ /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */ @media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive #top #wrap_all .av-logo-container .widget { display: none; } #top #wrap_all .title_container .main-title { display: none; } .responsive .title_container .main-title+.breadcrumb { top: 10px; left: 0px; } .responsive #header_meta .sub_menu>ul>li { display: none; } .responsive #header_meta .sub_menu>ul>li:last-child { display: block; } }
Best regards,
IsmaelMay 10, 2025 at 4:30 pm #1483986I posted the whole thing you sent without reading the code through and it totally killed my mobile site layout.
I quickly dialled back the change but have now lost my social media links at the top of my mobile site.
I need specific css code (not the general outline of code you sent above) to:
– reinstate my social media icons at the top of my mobile site
– reduce the white space between the logo and the breadcrumbs trail at the page top on my mobile site
– edit the menu items in the mini menu at the top of my mobile site.Many thanks
May 10, 2025 at 5:30 pm #1483990Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:@media only screen and (max-width: 767px) { .responsive #top #wrap_all #header .social_bookmarks { display: block; } #avia2-menu #menu-item-8506,#avia2-menu #menu-item-9168,#avia2-menu #menu-item-6813 { display: none; } #header_main #text-8,#main .main-title { display: none; } #top #main .title_container .container { padding-bottom: 0; min-height: 25px; } #full_slider_1 *:not(.avia-caption-title, .avia-caption-content, .avia-caption-content p) { min-height: 90px; } }
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
without this css:
with this css:
Best regards,
MikeMay 10, 2025 at 5:38 pm #1483991Thanks I’ll try that and how do I get rid of the breadcrumb navigation on mobile?
May 10, 2025 at 5:44 pm #1483992Hi,
Add this css:@media only screen and (max-width: 767px) { #main .title_container { display: none; } }
Best regards,
MikeMay 10, 2025 at 6:10 pm #1483996Amazing thank you!
-
This reply was modified 3 hours, 55 minutes ago by
JennyGr.
May 10, 2025 at 6:14 pm #1483998Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
This reply was modified 3 hours, 55 minutes ago by
-
AuthorPosts
- The topic ‘Too much white space between header and content on mobile’ is closed to new replies.