Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1188324

    Been working on a new site for a new client. Everything’s working great except two things.

    In mobile view on certain pages the header slips up behind the menu see here:

    https://sicyber.com/newsite/wp-content/uploads/2020/02/Screen-Shot-2020-02-26-at-9.34.49-PM.png

    This happens on this and other pages: https://sicyber.com/newsite/portfolio/

    There seems to be relief from this removing the css:

    /* sticky menu mobile*/
    @media only screen and (max-width:767px) {
    .responsive #top #wrap_all #header {
    position: fixed !important;
    }
    .responsive #top #main {
    padding-top: 0px !important;
    }
    #header_meta {
    display: none;
    }

    But that CSS is what lets the mobile version function as the desktop version does which is very cool. And it worked at first without the malfunction. Not a plugin issue either, so scratching my head.

    Secondly I wonder if on the mobile version I can make the menu icon and search icon a different color to show up better across the various page.

    And can I have the social media icons appear in or above the mobile menu? You can see below on the home page for instance on the mobile version those icons are all that visible in the grey.

    https://sicyber.com/newsite/wp-content/uploads/2020/02/Screen-Shot-2020-02-26-at-9.36.54-PM.png

    Thanks so much, very important new client, I really appreciate your help and support as always. You guys are the best.

    Tony

    #1188341

    Kept trying to resolve, I replaced the mobile sticky menu code with this:

    /* Sticky header on mobile */
    @media only screen and (max-width: 767px) {
    .responsive #top #main {
    /* Margin top value should be equal to header height*/
    margin-top: 180px;
    }
    .responsive #top #wrap_all #header {
    position: fixed;
    }
    }

    But the translucency on the home page mobile version was lost, which is what I’m trying to maintain.

    See here:

    https://sicyber.com/newsite/wp-content/uploads/2020/02/top.jpg

    #1188916

    Hi tonyiatridis,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width:767px){
        #top .av_header_glassy.av_header_transparency .header_bg {
            background-color: transparent;
            opacity: 1;
        }
        #top #wrap_all .header_color.av_header_transparency {
            color: #fff;
        }
        #top .av_header_transparency {
            background: rgba(24, 24, 24, 0) !important;
        }
          #top #wrap_all .header_color div .av-hamburger-inner,
          #top #wrap_all .header_color div .av-hamburger-inner::before,
          #top #wrap_all .header_color div .av-hamburger-inner::after {
                  background: #7c6853;
          }
        #top .av_header_transparency .header_color div .av-hamburger-inner,
        #top .av_header_transparency .header_color div .av-hamburger-inner::before,
        #top .av_header_transparency .header_color div .av-hamburger-inner::after {
                  background: #ffffff;
          }
    
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1188928

    Nice. That code is amazing and keeps the nice effect we wanted.

    I still have s small issue, on pages without the color section up top the headline is shifted up behind the top menu bar:

    An example of this as a screen grab:

    https://sicyber.com/newsite/wp-content/uploads/2020/02/Screen-Shot-2020-02-28-at-3.07.49-PM.png

    This screenshot is off the desktop browser made very narrow, but the same thing happens on the mobile device.

    By the way is there a way to have the social icons appear up top on the mobile version as they do in the screen grab? They disappear on the actual mobile view.

    Thanks so much, you guys are awesome.

    #1189037

    OK tinkered much more. Removing all of my old css one a a time and replacing them and I figured out the issue with pages having the headlines shift up.

    Using your code:

    @media only screen and (max-width:767px){
    #top .av_header_glassy.av_header_transparency .header_bg {
    background-color: transparent;
    opacity: 1;
    }
    #top #wrap_all .header_color.av_header_transparency {
    color: #fff;
    }
    #top .av_header_transparency {
    background: rgba(24, 24, 24, 0) !important;
    }
    #top #wrap_all .header_color div .av-hamburger-inner,
    #top #wrap_all .header_color div .av-hamburger-inner::before,
    #top #wrap_all .header_color div .av-hamburger-inner::after {
    background: #7c6853;
    }
    #top .av_header_transparency .header_color div .av-hamburger-inner,
    #top .av_header_transparency .header_color div .av-hamburger-inner::before,
    #top .av_header_transparency .header_color div .av-hamburger-inner::after {
    background: #ffffff;
    }
    }

    Worked great though except the header in mobile view was solid black, so I changed this to match the desktop:

    background: rgba(24, 24, 24, .32) !important;

    This to match the translucent on the desktop version, but the mobile header stayed solid black so I added this prior to the other css:

    @media only screen and (max-width: 767px) {
    #top #wrap_all .av_header_transparency {
    background: transparent;
    position: absolute!important;
    }}

    Now it all works, however…

    I’m thinking it might be best practice to combine these into one increment of css.

    On the other hand it it ain’t broken don’t fix might prevail here.

    What are your thoughts?

    Thanks so much once again.

    Tony

    #1189043

    Oy. Sorry, still have an issue after all. Ok I realize the css I deleted that stopped the overlap from happening was this:

    /* sticky menu mobile*/
    @media only screen and (max-width:767px) {
    .responsive #top #wrap_all #header {
    position: fixed !important;
    }
    .responsive #top #main {
    padding-top: 0px !important;
    }
    #header_meta {
    display: none;
    }

    But I do need the mobile version menu to be sticky. If I put that back the malfunction reappears.

    See here:
    https://sicyber.com/newsite/wp-content/uploads/2020/02/IMG_1527.png

    I have removed that for now, is there better css to make the mobile menu sticky?

    #1189868

    Hi,

    Sorry for the delay. There is a missing closing bracket or curly brace for the css media query in the recent css code. You have to close it properly.

    Thank you for your patience.

    Best regards,
    Ismael

    #1189874

    Ismael,

    I saw that was a cut and paste error I think, with the closing bracket on the sticky menu css this still happened on other pages without a color section up top, the page headline is going up behind the page title:

    https://specinv.com/wp-content/uploads/2020/03/Screen-Shot-2020-03-03-at-7.41.53-PM.png

    #1190164

    Hi tonyiatridis,

    On the page with the screenshot you need to have the padding-top.

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1190165

    Hi tonyiatridis,

    On the page with the screenshot you need to have the padding-top.

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1190945

    HI again,

    This site has been quite an adventure. Some of the issues where from the server side at Hostgator apparently. I deleted the site for a while and we saw odd things on default, fresh installation of wordpress running the default theme. That seems to be rectified now.

    Anyway where we stand now is the site is functioning mostly correctly, however I need the menu on the mobile version to be translucent like it is on the desktop version and sticky, then when you scroll up it becomes more white but still slightly translucent as you can see on the desktop version. Adding the sticky menu css I find online for the mobile version now has no effect at present, I wonder if it conflicts with the other code somehow? Right now when the mobile version scrolls up the menu is switching to the white, but in both the initial phase and the scrolled up phase it is not translucent, and as I mentioned it isn’t sticking.

    Here is the css in place which references the menus on the site:

    /* top menu bar transparency*/
    #top .av_header_transparency {
    background: rgba(24, 24, 24, 0.32) !important;
    }

    @media only screen and (max-width:767px){
    #top .av_header_glassy.av_header_transparency .header_bg {
    background-color: transparent;
    opacity: 1;
    }
    #top #wrap_all .header_color.av_header_transparency {
    color: #fff;
    }
    #top .av_header_transparency {
    background: rgba(24, 24, 24, 0.32) !important;
    }
    #top #wrap_all .header_color div .av-hamburger-inner,
    #top #wrap_all .header_color div .av-hamburger-inner::before,
    #top #wrap_all .header_color div .av-hamburger-inner::after {
    background: #7c6853;
    }
    #top .av_header_transparency .header_color div .av-hamburger-inner,
    #top .av_header_transparency .header_color div .av-hamburger-inner::before,
    #top .av_header_transparency .header_color div .av-hamburger-inner::after {
    background: #ffffff;
    }

    }

    /* smaller menu mobile*/
    @media only screen and (max-width: 767px){
    .responsive .logo img {
    max-width:20%!important;
    }
    .responsive #header_main .container {
    height:79px!important;
    }
    }

    I’ve reset the user login for you below.

    Thanks so much, this one has me chasing my tail.

    Tony

    #1191482

    Hi,

    Thank you for the info.

    We tried log in to the dashboard but the password for the username is invalid. Please check it carefully. Did you enable the Performance > File Compression settings? Please disable it temporarily, then check the page again.

    Best regards,
    Ismael

    #1191622

    I’ve rest the login for you, please let me know if it works.

    #1192118

    Hi,

    Thank you for the update.

    We added the css code back to make the header sticky on mobile view and we don’t seem to be seeing any issue with it. We also corrected a few css code in the field. Can you post the screenshot of the issue again? The previous screenshots are no longer accessible.

    Best regards,
    Ismael

    #1192122

    Hi Ismael,

    Thanks for the sticky menu, but the issue happens again on pages without a color section up top the headline moves up behind the menu. See here:

    https://specinv.com/wp-content/uploads/2020/03/IMG_1533.png

    I had it to this point before but I am reticent to fix the issue by adding space above these sections as I don’t know why it’s happening.

    Thanks,

    Tony

    #1192123

    Look for instance at portfolio page or any of the blog posts.

    #1192446

    Hi,

    Thank you for the update.

    Adding this css code seems to work for most pages including the Portfolio and those with a color section and transparent header.

    .responsive #top #main {
    	padding-top: 60px !important;
    }
    
    #top #header.av_header_transparency + #main {
    	padding-top: 0 !important;
    }

    We included it inside the very last css media query in the Quick CSS field.

    Best regards,
    Ismael

    #1192448

    So awesome, thanks so much.

    As always you guy exceed expectations. Bu then that’s why I’m using Enfold for all new clients anymore.

    Case closed.

    #1192708

    Hi tonyiatridis,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Some type malfunctions in mobile view’ is closed to new replies.