Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #1483814

    Hey 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,
    Ismael

    #1483986

    I 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

    • This reply was modified 5 hours, 34 minutes ago by JennyGr.
    • This reply was modified 5 hours, 19 minutes ago by JennyGr.
    #1483990

    Hi,
    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:
    Screen Shot 2025 05 10 at 11.29.58 AM
    with this css:
    Screen Shot 2025 05 10 at 11.28.45 AM

    Best regards,
    Mike

    #1483991

    Thanks I’ll try that and how do I get rid of the breadcrumb navigation on mobile?

    #1483992

    Hi,
    Add this css:

    @media only screen and (max-width: 767px) {
    	#main .title_container {
    		display: none;
    	}
    }

    Best regards,
    Mike

    #1483996

    Amazing thank you!

    • This reply was modified 3 hours, 55 minutes ago by JennyGr.
    #1483998

    Hi,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Too much white space between header and content on mobile’ is closed to new replies.