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

    Hello,
    I need help with the header Layout on the mobile
    On my phone it looks like this:
    https://www.imghippo.com/i/Za3018sJc.png

    however, I need it to look like this:
    https://www.imghippo.com/i/ak6129BLI.jpeg
    Widget left, Menu. right on the top
    Logo below

    Please send code how to do this

    #1478578

    Hey ausgesonnen,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 990px) {
    .av-logo-container {
      height: 300px !important;
    }
    
    .html_header_sticky #top .main_menu ul:first-child > li a {
      line-height: 0 !important;
    }
    }

    Best regards,
    Rikard

    #1478600

    does not work. please send another solution

    #1478634

    Hi,

    The screenshots from imghippo are not loading on our end. Please try to use imgur or dropbox.

    Best regards,
    Ismael

    #1478645

    Sorry – it was carnival here in the Rhineland (Germany) until yesterday, and that’s basically a public holiday week.

    Next: it would be nice if you could disable merging in the Enfold settings until all your goals are met. It’s hard to review and give advice without using devtools.

    Do you / your customer realy want that narrow content width vor desktop view?
    It’s hard enough to reconcile this, but with such a narrow content area, as you’ve noticed yourself, very long menu items quickly become two-liners.

    #1478649

    Ok. Welcome back. Hope you had a nice time :) I also love carnival.
    I have now disabled both CSS and Javascript file compression. Right?
    Have set the container width back to 1130px. Is that what you meant?
    The 2 liner in the menu is intentional. The client wants it like this.
    I will be out now until this afternoon and not do anything on the page. ;)

    Thanks for fixing the mobile header problem above.

    • This reply was modified 4 days, 6 hours ago by ausgesonnen.
    #1478652

    there are older css rules inside that are not needed – so i could not find where f.e. the after pseudo-container of the hamburger is gone.

    this is what it seems to get your style:

    #top #header #header_main .container.av-logo-container .inner-container > * {
      align-self: center
    }
    
    .html_header_top.html_header_sticky #top #wrap_all #main {
      padding-top: 300px !important;
    }
    
    @media only screen and (max-width: 989px) {
      .responsive #top #header #header_main .container.av-logo-container .inner-container {
        height: inherit;
        position: relative !important;
        flex-flow: row wrap;
        justify-content: center;
        padding: 0;
      }
      
      .responsive #top #header #header_main .inner-container .logo {
        flex: 1 1 100% !important;
        order: 3;
        max-width: 100%;
        height: unset !important;
      }
      
      .responsive #top #header #header_main .inner-container .logo a {
        align-self: flex-start
      }
      
      .responsive #top #header #header_main .inner-container .main_menu,
      .responsive #top #header #header_main .inner-container .widget {
        flex: 1 1 48%;
        height: 120px !important;
        align-items: center
      }
      
      .responsive #top #header #header_main .inner-container .main_menu {
        order: 2;
      }
      
      .responsive #top #header #header_main .inner-container .widget {
        order: 1;
      }
      
      .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 350px !important;
      }
      #top #header #header_main .container.av-logo-container .inner-container .logo a img {
        max-height: 200px;
      }
    }
    
    #1478655

    Could you please clear this up?

    #1478657

    container width is all up to you / your customer – but i just asked if this is what he likes to have.
    You should clarify this somehow before you have then to rewrite a whole series of css rules.

    PS : please refresh after merging switch off the cache. On performance – “Delete Old CSS And JS Files?”

    btw: https://kriesi.at/support/topic/burger-menu-12/
    Why? – Look at opened burger menue.

    maybe this is better instead:
    (remove that display none for burger after container and add this rule instead)

    .responsive:not(.av-burger-overlay-active) .av-hamburger-inner:after {
      display: none; 
    }
    #1478676

    Ok have changed the code for the burger menu.. It also works. The client wants 2 lines. was not able to talk hi out of it. He insists he likes it better with 2 lines.

    Now back to the original problem above. The layout of the header on the mobile is completely wrong.

    On my phone it looks like this:
    https://www.imghippo.com/i/Za3018sJc.png

    but i should be like this.
    https://www.imghippo.com/i/ak6129BLI.jpeg
    Widget left, Menu. right on the top
    Logo below

    Can you please fix this?

    #1478679

    Ok have changed the code for the burger menu.. It also works. The client wants 2 lines. was not able to talk hi out of it. He insists he likes it better with 2 lines.

    yes – but on the opened hamburger with the original css rule the hamburger only get one line (looks like a slash)
    with my code the burger got on closed burger menu 2lines and on opened burger too.

    you did not change the burger setting – it is still one line on opened burger menue.

    enter on your quick css now the rules of: https://kriesi.at/support/topic/header-layout-in-mobile-view-needs-help/#post-1478652

    #1478680

    Ok, I see now it didn’t save it. Sorry. Now its in. I see what you mean with the cross only having had one line. Not good. Thanks for that.

    Could you please see the layout of the header in the mobile view now? Far more pressing issue. Please go in with the login I provided. I have not used css other than under quick css. Except for styling the form on the start page which is not relevant here. I also don’t see what the size of the content on desktop has to do with the header on the mobile? Did you see the mobile view? Can we please get the this problem?

    I will not work on the site today so there is no interference with your work. Just that you know.

    #1478756

    ich glaube nicht, das es mit einem shrinking header leicht zu realisieren sein wird. Man stößt auch mit dem flex layout an Grenzen.
    Daher habe ich mal hier eine Seite erstellt, die ein grid layout nutzt. ( Viele der Einstellungen überschreiben die in dieser Installation mit einem shrinking header standard Einstellungen. Wenn du in den Optionen direkt das Shrinking abstellst, dann sind einige der Einstellungen überflüssig)
    ____

    I don’t think it’s going to be easy to do with a shrinking header. Even with the Flex layout there are limits.
    So here is a page that uses a grid layout. (Many of the settings will overwrite the default settings in this installation with a shrinking header. If you disable shrinking directly in the options, some of the settings will be superfluous)

    https://enfold.webers-webdesign.de/grid-header/

    Du kannst hier sehen, wie es dann responsive gesetzt wird ( fr = fraction)
    You can see here how it is then set responsive ( fr = fraction)

    #1478769

    Sorry, this is far more than my knowledge of CSS can comprehend. I really don’t understand what you are talking about. All I want is the layout of the header on the mobile view to function. The Desktop view is ok.
    Could you please be so kind to rewrite and replace the complete CSS file on the site directly then?

    • This reply was modified 2 days, 7 hours ago by ausgesonnen.
    • This reply was modified 2 days, 7 hours ago by ausgesonnen.
    #1478840

    Hallo, I would really like to solve this issue and am dependant on your support. I would really appreciate if you could fix this quite soon. Thank you.

    #1478880

    ich habe dir jetzt zwei wege aufgezeigt.
    zum Einen könntest du mit dem bisher erreichten ja den Code von Link mal einsetzen.

    Dann sieht die seite so aus:

    zum Anderen – und ja klar wäre das ein Neuansatz – die Lösung über das Grid Layout.
    Dazu wäre dann nötig den bisherigen Code zu entfernen, und den neuen Ansatz auszuprobieren.

    #1478915

    Its getting better. Mine looks like this now.

    I want t to look like yours. Please let me know where the mistake is in my css.

    #1478918

    Hi,
    I adjusted the items order, please clear your browser cache and check.
    Screen Shot 2025 03 08 at 2.29.31 PM

    Best regards,
    Mike

    #1478922

    if you like – please send me your login data for that site via e-mail.
    All data you can get via Profile link

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.